diff options
author | glebius <glebius@FreeBSD.org> | 2013-10-26 17:58:36 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-10-26 17:58:36 +0000 |
commit | ff6e113f1b21a30485c28c63a1779c32b67b5840 (patch) | |
tree | a240090af1fb905058b17619590afe813e33e891 /sys/netpfil | |
parent | 285be8a70998139d68d6204641ac2b493aa506e3 (diff) | |
download | FreeBSD-src-ff6e113f1b21a30485c28c63a1779c32b67b5840.zip FreeBSD-src-ff6e113f1b21a30485c28c63a1779c32b67b5840.tar.gz |
The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare
to this event, adding if_var.h to files that do need it. Also, include
all includes that now are included due to implicit pollution via if_var.h
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/netpfil')
-rw-r--r-- | sys/netpfil/ipfw/ip_fw2.c | 1 | ||||
-rw-r--r-- | sys/netpfil/ipfw/ip_fw_dynamic.c | 1 | ||||
-rw-r--r-- | sys/netpfil/ipfw/ip_fw_log.c | 1 | ||||
-rw-r--r-- | sys/netpfil/ipfw/ip_fw_nat.c | 2 | ||||
-rw-r--r-- | sys/netpfil/pf/if_pflog.c | 2 | ||||
-rw-r--r-- | sys/netpfil/pf/if_pfsync.c | 2 | ||||
-rw-r--r-- | sys/netpfil/pf/pf.c | 1 | ||||
-rw-r--r-- | sys/netpfil/pf/pf_if.c | 5 | ||||
-rw-r--r-- | sys/netpfil/pf/pf_ioctl.c | 4 | ||||
-rw-r--r-- | sys/netpfil/pf/pf_lb.c | 4 | ||||
-rw-r--r-- | sys/netpfil/pf/pf_osfp.c | 5 |
11 files changed, 27 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c index 128afad..fdfc49d 100644 --- a/sys/netpfil/ipfw/ip_fw2.c +++ b/sys/netpfil/ipfw/ip_fw2.c @@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ucred.h> #include <net/ethernet.h> /* for ETHERTYPE_IP */ #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/pf_mtag.h> #include <net/pfil.h> diff --git a/sys/netpfil/ipfw/ip_fw_dynamic.c b/sys/netpfil/ipfw/ip_fw_dynamic.c index b0456d3..73fddc6 100644 --- a/sys/netpfil/ipfw/ip_fw_dynamic.c +++ b/sys/netpfil/ipfw/ip_fw_dynamic.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/ethernet.h> /* for ETHERTYPE_IP */ #include <net/if.h> +#include <net/if_var.h> #include <net/vnet.h> #include <netinet/in.h> diff --git a/sys/netpfil/ipfw/ip_fw_log.c b/sys/netpfil/ipfw/ip_fw_log.c index b1e6dff..13aa3e4 100644 --- a/sys/netpfil/ipfw/ip_fw_log.c +++ b/sys/netpfil/ipfw/ip_fw_log.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rwlock.h> #include <net/ethernet.h> /* for ETHERTYPE_IP */ #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/vnet.h> #include <net/if_types.h> /* for IFT_PFLOG */ diff --git a/sys/netpfil/ipfw/ip_fw_nat.c b/sys/netpfil/ipfw/ip_fw_nat.c index 155eddd..237b560 100644 --- a/sys/netpfil/ipfw/ip_fw_nat.c +++ b/sys/netpfil/ipfw/ip_fw_nat.c @@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/eventhandler.h> #include <sys/malloc.h> +#include <sys/mbuf.h> #include <sys/kernel.h> #include <sys/lock.h> #include <sys/module.h> @@ -42,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/libalias/alias_local.h> #include <net/if.h> +#include <net/if_var.h> #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/ip_var.h> diff --git a/sys/netpfil/pf/if_pflog.c b/sys/netpfil/pf/if_pflog.c index 1efd5e2..30e3457 100644 --- a/sys/netpfil/pf/if_pflog.c +++ b/sys/netpfil/pf/if_pflog.c @@ -52,9 +52,11 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_pflog.h> #include <net/if_types.h> +#include <net/vnet.h> #include <net/pfvar.h> #if defined(INET) || defined(INET6) diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c index 982f856..471be3e 100644 --- a/sys/netpfil/pf/if_pfsync.c +++ b/sys/netpfil/pf/if_pfsync.c @@ -81,8 +81,10 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> +#include <net/vnet.h> #include <net/pfvar.h> #include <net/if_pfsync.h> diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 2de8c40..4edbee8 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ucred.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/route.h> #include <net/radix_mpath.h> diff --git a/sys/netpfil/pf/pf_if.c b/sys/netpfil/pf/pf_if.c index 91fbeb8..41acc7d 100644 --- a/sys/netpfil/pf/pf_if.c +++ b/sys/netpfil/pf/pf_if.c @@ -41,9 +41,14 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/lock.h> +#include <sys/mbuf.h> +#include <sys/rwlock.h> #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> +#include <net/vnet.h> #include <net/pfvar.h> #include <net/route.h> diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c index 2b0f2cd..1c5082a 100644 --- a/sys/netpfil/pf/pf_ioctl.c +++ b/sys/netpfil/pf/pf_ioctl.c @@ -53,9 +53,11 @@ __FBSDID("$FreeBSD$"); #include <sys/jail.h> #include <sys/kernel.h> #include <sys/kthread.h> +#include <sys/lock.h> #include <sys/mbuf.h> #include <sys/module.h> #include <sys/proc.h> +#include <sys/rwlock.h> #include <sys/smp.h> #include <sys/socket.h> #include <sys/sysctl.h> @@ -63,6 +65,8 @@ __FBSDID("$FreeBSD$"); #include <sys/ucred.h> #include <net/if.h> +#include <net/if_var.h> +#include <net/vnet.h> #include <net/route.h> #include <net/pfil.h> #include <net/pfvar.h> diff --git a/sys/netpfil/pf/pf_lb.c b/sys/netpfil/pf/pf_lb.c index f870bf4..589c128 100644 --- a/sys/netpfil/pf/pf_lb.c +++ b/sys/netpfil/pf/pf_lb.c @@ -42,10 +42,14 @@ __FBSDID("$FreeBSD$"); #include "opt_inet6.h" #include <sys/param.h> +#include <sys/lock.h> +#include <sys/mbuf.h> +#include <sys/rwlock.h> #include <sys/socket.h> #include <sys/sysctl.h> #include <net/if.h> +#include <net/vnet.h> #include <net/pfvar.h> #include <net/if_pflog.h> #include <net/pf_mtag.h> diff --git a/sys/netpfil/pf/pf_osfp.c b/sys/netpfil/pf/pf_osfp.c index b20a64e..55a7d10 100644 --- a/sys/netpfil/pf/pf_osfp.c +++ b/sys/netpfil/pf/pf_osfp.c @@ -21,6 +21,9 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/lock.h> +#include <sys/mbuf.h> +#include <sys/rwlock.h> #include <sys/socket.h> #include <netinet/in.h> @@ -28,10 +31,10 @@ __FBSDID("$FreeBSD$"); #include <netinet/tcp.h> #include <net/if.h> +#include <net/vnet.h> #include <net/pfvar.h> #include <netinet/ip6.h> -#include <netinet6/in6_var.h> static MALLOC_DEFINE(M_PFOSFP, "pf_osfp", "pf(4) operating system fingerprints"); #define DPFPRINTF(format, x...) \ |