diff options
author | luigi <luigi@FreeBSD.org> | 2009-02-13 15:37:14 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2009-02-13 15:37:14 +0000 |
commit | 98d62453dba127bdcd7ff59abd565a5b079602eb (patch) | |
tree | 116337112f59cc7e6630b6e7196662e6a0675a72 /sys/netinet/ip_fw2.c | |
parent | 7ef64c1bf9450b1055bdf677fadff7349922f02d (diff) | |
download | FreeBSD-src-98d62453dba127bdcd7ff59abd565a5b079602eb.zip FreeBSD-src-98d62453dba127bdcd7ff59abd565a5b079602eb.tar.gz |
remove unnecessary #include, and document some of the others
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r-- | sys/netinet/ip_fw2.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 133166e..46364b7 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -74,7 +74,6 @@ __FBSDID("$FreeBSD$"); #define IPFW_INTERNAL /* Access to protected data structures in ip_fw.h. */ #include <netinet/in.h> -#include <netinet/in_systm.h> #include <netinet/in_var.h> #include <netinet/in_pcb.h> #include <netinet/ip.h> @@ -85,10 +84,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/ip_dummynet.h> #include <netinet/ip_carp.h> #include <netinet/pim.h> -#include <netinet/tcp.h> -#include <netinet/tcp_timer.h> #include <netinet/tcp_var.h> -#include <netinet/tcpip.h> #include <netinet/udp.h> #include <netinet/udp_var.h> #include <netinet/sctp.h> @@ -96,8 +92,6 @@ __FBSDID("$FreeBSD$"); #include <netgraph/ng_ipfw.h> -#include <altq/if_altq.h> - #include <netinet/ip6.h> #include <netinet/icmp6.h> #ifdef INET6 @@ -108,7 +102,9 @@ __FBSDID("$FreeBSD$"); #include <machine/in_cksum.h> /* XXX for in_cksum */ +#ifdef MAC #include <security/mac/mac_framework.h> +#endif #ifndef VIMAGE #ifndef VIMAGE_GLOBALS |