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 | |
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.
326 files changed, 409 insertions, 7 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 28b683a..c3e5b14 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/vnet.h> #include <vm/vm.h> diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 2a4016a..0600f91 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$"); #include <sys/resourcevar.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/vnet.h> diff --git a/sys/compat/ndis/kern_ndis.c b/sys/compat/ndis/kern_ndis.c index d0a05e1..f1e4cd8 100644 --- a/sys/compat/ndis/kern_ndis.c +++ b/sys/compat/ndis/kern_ndis.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/compat/ndis/subr_ndis.c b/sys/compat/ndis/subr_ndis.c index bc13b2f..f3ba700 100644 --- a/sys/compat/ndis/subr_ndis.c +++ b/sys/compat/ndis/subr_ndis.c @@ -76,6 +76,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysproto.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/compat/ndis/subr_usbd.c b/sys/compat/ndis/subr_usbd.c index b989630..2a2b38b 100644 --- a/sys/compat/ndis/subr_usbd.c +++ b/sys/compat/ndis/subr_usbd.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net80211/ieee80211_var.h> #include <net80211/ieee80211_ioctl.h> diff --git a/sys/dev/ae/if_ae.c b/sys/dev/ae/if_ae.c index f10763b..cd7ed54 100644 --- a/sys/dev/ae/if_ae.c +++ b/sys/dev/ae/if_ae.c @@ -35,8 +35,10 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/endian.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/mbuf.h> +#include <sys/mutex.h> #include <sys/rman.h> #include <sys/module.h> #include <sys/queue.h> @@ -47,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/age/if_age.c b/sys/dev/age/if_age.c index 7239121..3055d77 100644 --- a/sys/dev/age/if_age.c +++ b/sys/dev/age/if_age.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c index 2ee9513..9886e9b 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c index b5eb597..591a24a 100644 --- a/sys/dev/ale/if_ale.c +++ b/sys/dev/ale/if_ale.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index b2a13df..dbd5a7c 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -111,6 +111,7 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/ethernet.h> diff --git a/sys/dev/ath/ath_dfs/null/dfs_null.c b/sys/dev/ath/ath_dfs/null/dfs_null.c index 36b2042..c980a79 100644 --- a/sys/dev/ath/ath_dfs/null/dfs_null.c +++ b/sys/dev/ath/ath_dfs/null/dfs_null.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -53,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_arp.h> #include <net/ethernet.h> /* XXX for ether_sprintf */ diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c index b3f82fa..3df2ccd 100644 --- a/sys/dev/ath/ath_rate/sample/sample.c +++ b/sys/dev/ath/ath_rate/sample/sample.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -61,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_arp.h> #include <net/ethernet.h> /* XXX for ether_sprintf */ diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 6e58896..49fd9ef 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_beacon.c b/sys/dev/ath/if_ath_beacon.c index 11b0426..f721de6 100644 --- a/sys/dev/ath/if_ath_beacon.c +++ b/sys/dev/ath/if_ath_beacon.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_btcoex.c b/sys/dev/ath/if_ath_btcoex.c index fff6f3b..9d77622 100644 --- a/sys/dev/ath/if_ath_btcoex.c +++ b/sys/dev/ath/if_ath_btcoex.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -54,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_arp.h> #include <net/ethernet.h> /* XXX for ether_sprintf */ diff --git a/sys/dev/ath/if_ath_keycache.c b/sys/dev/ath/if_ath_keycache.c index 6c2749f..a9e6df0 100644 --- a/sys/dev/ath/if_ath_keycache.c +++ b/sys/dev/ath/if_ath_keycache.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_lna_div.c b/sys/dev/ath/if_ath_lna_div.c index 4ae81a3..961b834 100644 --- a/sys/dev/ath/if_ath_lna_div.c +++ b/sys/dev/ath/if_ath_lna_div.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -54,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_arp.h> #include <net/ethernet.h> /* XXX for ether_sprintf */ diff --git a/sys/dev/ath/if_ath_rx.c b/sys/dev/ath/if_ath_rx.c index d9e212b..5c30a46 100644 --- a/sys/dev/ath/if_ath_rx.c +++ b/sys/dev/ath/if_ath_rx.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_rx_edma.c b/sys/dev/ath/if_ath_rx_edma.c index 2be8627..e072fc2 100644 --- a/sys/dev/ath/if_ath_rx_edma.c +++ b/sys/dev/ath/if_ath_rx_edma.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_spectral.c b/sys/dev/ath/if_ath_spectral.c index 5cfb1a9..e4afdae 100644 --- a/sys/dev/ath/if_ath_spectral.c +++ b/sys/dev/ath/if_ath_spectral.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -53,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_arp.h> #include <net/ethernet.h> /* XXX for ether_sprintf */ diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c index 0a5719a..f1b6dd2 100644 --- a/sys/dev/ath/if_ath_sysctl.c +++ b/sys/dev/ath/if_ath_sysctl.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_tdma.c b/sys/dev/ath/if_ath_tdma.c index c075d01..3ea70e3 100644 --- a/sys/dev/ath/if_ath_tdma.c +++ b/sys/dev/ath/if_ath_tdma.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index d76d514..1d4c910 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ath/if_ath_tx_edma.c b/sys/dev/ath/if_ath_tx_edma.c index 5498dd5..3405d4a 100644 --- a/sys/dev/ath/if_ath_tx_edma.c +++ b/sys/dev/ath/if_ath_tx_edma.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c index be7e2a4..1e22d56 100644 --- a/sys/dev/bfe/if_bfe.c +++ b/sys/dev/bfe/if_bfe.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/ethernet.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index 6b2ceb4..9deb2fb 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/bm/if_bm.c b/sys/dev/bm/if_bm.c index cce5ee3..8db1583 100644 --- a/sys/dev/bm/if_bm.c +++ b/sys/dev/bm/if_bm.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/bwi/bwimac.c b/sys/dev/bwi/bwimac.c index 30b19fc..849bf02 100644 --- a/sys/dev/bwi/bwimac.c +++ b/sys/dev/bwi/bwimac.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/firmware.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/bwi/bwiphy.c b/sys/dev/bwi/bwiphy.c index 86c7f4f..1057a83 100644 --- a/sys/dev/bwi/bwiphy.c +++ b/sys/dev/bwi/bwiphy.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/bwi/bwirf.c b/sys/dev/bwi/bwirf.c index c10887e..cd0723a 100644 --- a/sys/dev/bwi/bwirf.c +++ b/sys/dev/bwi/bwirf.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/bwi/if_bwi.c b/sys/dev/bwi/if_bwi.c index 25b5f2b..c43eed7 100644 --- a/sys/dev/bwi/if_bwi.c +++ b/sys/dev/bwi/if_bwi.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/bwi/if_bwi_pci.c b/sys/dev/bwi/if_bwi_pci.c index 346558e..3c35048 100644 --- a/sys/dev/bwi/if_bwi_pci.c +++ b/sys/dev/bwi/if_bwi_pci.c @@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$"); #include <sys/module.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -52,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_arp.h> diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index 933e830..e7174eb 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_llc.h> diff --git a/sys/dev/cadence/if_cgem.c b/sys/dev/cadence/if_cgem.c index 1bb3f09..55b0ee8 100644 --- a/sys/dev/cadence/if_cgem.c +++ b/sys/dev/cadence/if_cgem.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/cas/if_cas.c b/sys/dev/cas/if_cas.c index 4f38a25..08d615f 100644 --- a/sys/dev/cas/if_cas.c +++ b/sys/dev/cas/if_cas.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c index 3f1a550..899f33f 100644 --- a/sys/dev/ce/if_ce.c +++ b/sys/dev/ce/if_ce.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/pmap.h> #include <net/if.h> +#include <net/if_var.h> #if __FreeBSD_version > 501000 # include <dev/pci/pcivar.h> # include <dev/pci/pcireg.h> diff --git a/sys/dev/cm/smc90cx6.c b/sys/dev/cm/smc90cx6.c index f7ceae6..e0e8e42 100644 --- a/sys/dev/cm/smc90cx6.c +++ b/sys/dev/cm/smc90cx6.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <machine/resource.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/if_arc.h> diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index e5f86b1..ec5f042 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/pmap.h> #include <net/if.h> +#include <net/if_var.h> #include <dev/pci/pcivar.h> #include <dev/pci/pcireg.h> #include <machine/bus.h> diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c index c89760a..b6a3d3b 100644 --- a/sys/dev/cs/if_cs.c +++ b/sys/dev/cs/if_cs.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <machine/resource.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 4956e4e..958faa5 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/pmap.h> #include <net/if.h> +#include <net/if_var.h> #include <machine/cpufunc.h> #include <machine/cserial.h> #include <machine/resource.h> diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 2abc453..27112d5 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/pmap.h> #include <net/if.h> +#include <net/if_var.h> #include <machine/cpufunc.h> #include <machine/cserial.h> #include <machine/resource.h> diff --git a/sys/dev/cxgb/cxgb_adapter.h b/sys/dev/cxgb/cxgb_adapter.h index 8b36806..6aaacd3 100644 --- a/sys/dev/cxgb/cxgb_adapter.h +++ b/sys/dev/cxgb/cxgb_adapter.h @@ -41,9 +41,11 @@ $FreeBSD$ #include <sys/sockio.h> #include <sys/condvar.h> #include <sys/buf_ring.h> +#include <sys/taskqueue.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_dl.h> #include <netinet/in.h> diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c index 81e2f5a..6ccf6e3 100644 --- a/sys/dev/cxgb/cxgb_main.c +++ b/sys/dev/cxgb/cxgb_main.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/cxgbe/adapter.h b/sys/dev/cxgbe/adapter.h index 801ab90..d0391f1 100644 --- a/sys/dev/cxgbe/adapter.h +++ b/sys/dev/cxgbe/adapter.h @@ -35,7 +35,12 @@ #include <sys/bus.h> #include <sys/rman.h> #include <sys/types.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/rwlock.h> +#include <sys/sx.h> +#include <vm/uma.h> + #include <dev/pci/pcivar.h> #include <dev/pci/pcireg.h> #include <machine/bus.h> @@ -43,6 +48,7 @@ #include <sys/sysctl.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <netinet/in.h> #include <netinet/tcp_lro.h> diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c index a05f2ed..cb5fcda 100644 --- a/sys/dev/dc/dcphy.c +++ b/sys/dev/dc/dcphy.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_media.h> diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 2c8d1ca..65c6e94 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -107,6 +107,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c index 98e721d..141f250 100644 --- a/sys/dev/dc/pnphy.c +++ b/sys/dev/dc/pnphy.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_media.h> diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index ace5542..5e8886b 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_media.h> diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 16e1d6f..c8fbefb 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -63,6 +63,7 @@ #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index 07a9d3e..a03aa51 100644 --- a/sys/dev/e1000/if_igb.c +++ b/sys/dev/e1000/if_igb.c @@ -68,6 +68,7 @@ #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/e1000/if_lem.c b/sys/dev/e1000/if_lem.c index 57e88a4..e8d53f0 100644 --- a/sys/dev/e1000/if_lem.c +++ b/sys/dev/e1000/if_lem.c @@ -60,6 +60,7 @@ #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index a84fc75..7166d90 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_mib.h> diff --git a/sys/dev/ed/if_ed_3c503.c b/sys/dev/ed/if_ed_3c503.c index 152b863..491c134 100644 --- a/sys/dev/ed/if_ed_3c503.c +++ b/sys/dev/ed/if_ed_3c503.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> /* XXX: ed_3c503_mediachg() */ #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_mib.h> diff --git a/sys/dev/ed/if_ed_hpp.c b/sys/dev/ed/if_ed_hpp.c index 12b59c3..1c9d4bb 100644 --- a/sys/dev/ed/if_ed_hpp.c +++ b/sys/dev/ed/if_ed_hpp.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> /* XXX: ed_hpp_set_physical_link() */ #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_mib.h> diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 780f5f3..78f5dea 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -86,6 +86,7 @@ #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_mib.h> #include <net/if_media.h> diff --git a/sys/dev/ed/if_ed_rtl80x9.c b/sys/dev/ed/if_ed_rtl80x9.c index 6956307..c5753ca 100644 --- a/sys/dev/ed/if_ed_rtl80x9.c +++ b/sys/dev/ed/if_ed_rtl80x9.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_mib.h> diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c index 3886c9e..d164dc4 100644 --- a/sys/dev/en/if_en_pci.c +++ b/sys/dev/en/if_en_pci.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_atm.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c index ee12b20..18813e7 100644 --- a/sys/dev/en/midway.c +++ b/sys/dev/en/midway.c @@ -138,6 +138,7 @@ enum { #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 183c5f4..863c545 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/et/if_et.c b/sys/dev/et/if_et.c index 3d73c9c..abca427 100644 --- a/sys/dev/et/if_et.c +++ b/sys/dev/et/if_et.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/bpf.h> diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index a91a3cc..e85ee5f 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c index abd8e79..b6b4e13d 100644 --- a/sys/dev/fatm/if_fatm.c +++ b/sys/dev/fatm/if_fatm.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_types.h> #include <net/if_atm.h> diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index 5883b6b..e7d6fa6 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_mib.h> #include <net/if_media.h> diff --git a/sys/dev/fe/if_fe_pccard.c b/sys/dev/fe/if_fe_pccard.c index ee101c6..b7c644e 100644 --- a/sys/dev/fe/if_fe_pccard.c +++ b/sys/dev/fe/if_fe_pccard.c @@ -28,7 +28,9 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/socket.h> #include <sys/systm.h> +#include <sys/lock.h> #include <sys/module.h> +#include <sys/mutex.h> #include <sys/bus.h> #include <machine/bus.h> @@ -36,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_mib.h> #include <net/if_media.h> diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c index 615cb07..e6abebd 100644 --- a/sys/dev/firewire/if_fwe.c +++ b/sys/dev/firewire/if_fwe.c @@ -54,6 +54,7 @@ #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_types.h> #ifdef __DragonFly__ diff --git a/sys/dev/firewire/if_fwip.c b/sys/dev/firewire/if_fwip.c index 7010bc9..e98f44e 100644 --- a/sys/dev/firewire/if_fwip.c +++ b/sys/dev/firewire/if_fwip.c @@ -56,6 +56,7 @@ #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/firewire.h> #include <net/if_arp.h> #include <net/if_types.h> diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 1896d90..52366c7 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/fxp/inphy.c b/sys/dev/fxp/inphy.c index 587f3fd..07ed8ca 100644 --- a/sys/dev/fxp/inphy.c +++ b/sys/dev/fxp/inphy.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <dev/mii/mii.h> diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c index 4aa9c6d..f94aca2 100644 --- a/sys/dev/gem/if_gem.c +++ b/sys/dev/gem/if_gem.c @@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c index b8ad577..c022724 100644 --- a/sys/dev/hatm/if_hatm.c +++ b/sys/dev/hatm/if_hatm.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/if_types.h> diff --git a/sys/dev/hatm/if_hatm_intr.c b/sys/dev/hatm/if_hatm_intr.c index 697dd2b..5220fe5 100644 --- a/sys/dev/hatm/if_hatm_intr.c +++ b/sys/dev/hatm/if_hatm_intr.c @@ -58,6 +58,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/hatm/if_hatm_ioctl.c b/sys/dev/hatm/if_hatm_ioctl.c index 5e37b5d..154a2d6 100644 --- a/sys/dev/hatm/if_hatm_ioctl.c +++ b/sys/dev/hatm/if_hatm_ioctl.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/hatm/if_hatm_rx.c b/sys/dev/hatm/if_hatm_rx.c index b79b2fc..bf17294 100644 --- a/sys/dev/hatm/if_hatm_rx.c +++ b/sys/dev/hatm/if_hatm_rx.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/hatm/if_hatm_tx.c b/sys/dev/hatm/if_hatm_tx.c index 455dbb4..8e03e9d 100644 --- a/sys/dev/hatm/if_hatm_tx.c +++ b/sys/dev/hatm/if_hatm_tx.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c index 1249dc4..2510d5f 100644 --- a/sys/dev/hme/if_hme.c +++ b/sys/dev/hme/if_hme.c @@ -81,6 +81,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/hme/if_hme_pci.c b/sys/dev/hme/if_hme_pci.c index d114fd8..79cb31b 100644 --- a/sys/dev/hme/if_hme_pci.c +++ b/sys/dev/hme/if_hme_pci.c @@ -40,7 +40,10 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/bus.h> #include <sys/kernel.h> +#include <sys/lock.h> +#include <sys/malloc.h> #include <sys/module.h> +#include <sys/mutex.h> #include <sys/resource.h> #include <sys/socket.h> diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index e945a06..67ebe6c 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -130,6 +130,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/if_dl.h> diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c index 01388c9..48e1cbb 100644 --- a/sys/dev/if_ndis/if_ndis.c +++ b/sys/dev/if_ndis/if_ndis.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kthread.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/if_ndis/if_ndis_pccard.c b/sys/dev/if_ndis/if_ndis_pccard.c index a5a7b5e..ea7c988 100644 --- a/sys/dev/if_ndis/if_ndis_pccard.c +++ b/sys/dev/if_ndis/if_ndis_pccard.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_media.h> diff --git a/sys/dev/if_ndis/if_ndis_pci.c b/sys/dev/if_ndis/if_ndis_pci.c index a71b5da..5b25dda 100644 --- a/sys/dev/if_ndis/if_ndis_pci.c +++ b/sys/dev/if_ndis/if_ndis_pci.c @@ -36,12 +36,14 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/socket.h> #include <sys/queue.h> #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_media.h> diff --git a/sys/dev/if_ndis/if_ndis_usb.c b/sys/dev/if_ndis/if_ndis_usb.c index 21fac0d..a9a8d67a 100644 --- a/sys/dev/if_ndis/if_ndis_usb.c +++ b/sys/dev/if_ndis/if_ndis_usb.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/iicbus/if_ic.c b/sys/dev/iicbus/if_ic.c index 530cf64..644a12c 100644 --- a/sys/dev/iicbus/if_ic.c +++ b/sys/dev/iicbus/if_ic.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c index 28fa0fd..4239124 100644 --- a/sys/dev/ipw/if_ipw.c +++ b/sys/dev/ipw/if_ipw.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index fe1c643..97776cd 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 2e9ffd5..f2f5118 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/ixgb/if_ixgb.h b/sys/dev/ixgb/if_ixgb.h index 4e88db7..e42dc1d 100644 --- a/sys/dev/ixgb/if_ixgb.h +++ b/sys/dev/ixgb/if_ixgb.h @@ -47,6 +47,7 @@ POSSIBILITY OF SUCH DAMAGE. #include <sys/sockio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/ixgbe/ixgbe.h b/sys/dev/ixgbe/ixgbe.h index 77b72ed..ab3cc9f 100644 --- a/sys/dev/ixgbe/ixgbe.h +++ b/sys/dev/ixgbe/ixgbe.h @@ -49,8 +49,10 @@ #include <sys/kernel.h> #include <sys/module.h> #include <sys/sockio.h> +#include <sys/eventhandler.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/bpf.h> #include <net/ethernet.h> diff --git a/sys/dev/ixgbe/ixv.h b/sys/dev/ixgbe/ixv.h index 096819c3..79d84b6 100644 --- a/sys/dev/ixgbe/ixv.h +++ b/sys/dev/ixgbe/ixv.h @@ -44,10 +44,14 @@ #include <sys/socket.h> #include <sys/malloc.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/module.h> +#include <sys/mutex.h> #include <sys/sockio.h> +#include <sys/eventhandler.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/bpf.h> #include <net/ethernet.h> diff --git a/sys/dev/jme/if_jme.c b/sys/dev/jme/if_jme.c index 9bdb229..c3f6bf4 100644 --- a/sys/dev/jme/if_jme.c +++ b/sys/dev/jme/if_jme.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/le/lance.c b/sys/dev/le/lance.c index e2cc30e..bb8cbb2 100644 --- a/sys/dev/le/lance.c +++ b/sys/dev/le/lance.c @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c index 5fc763d..7f03e8b 100644 --- a/sys/dev/lge/if_lge.c +++ b/sys/dev/lge/if_lge.c @@ -79,6 +79,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c index d42aca1..766fdae 100644 --- a/sys/dev/lmc/if_lmc.c +++ b/sys/dev/lmc/if_lmc.c @@ -111,6 +111,7 @@ # include <sys/bus.h> # include <sys/lock.h> # include <net/if.h> +# include <net/if_var.h> # include <net/if_types.h> # include <net/if_media.h> # include <net/netisr.h> @@ -168,6 +169,7 @@ # include <sys/device.h> # include <sys/lock.h> # include <net/if.h> +# include <net/if_var.h> # include <net/if_types.h> # include <net/if_media.h> # include <net/netisr.h> diff --git a/sys/dev/malo/if_malo.c b/sys/dev/malo/if_malo.c index 9f298de..5f12889 100644 --- a/sys/dev/malo/if_malo.c +++ b/sys/dev/malo/if_malo.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/malo/if_malo_pci.c b/sys/dev/malo/if_malo_pci.c index de9c39d..0a4eb28 100644 --- a/sys/dev/malo/if_malo_pci.c +++ b/sys/dev/malo/if_malo_pci.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/socket.h> #include <sys/sysctl.h> @@ -49,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net80211/ieee80211_var.h> diff --git a/sys/dev/malo/if_malohal.c b/sys/dev/malo/if_malohal.c index d244b98..93f511f 100644 --- a/sys/dev/malo/if_malohal.c +++ b/sys/dev/malo/if_malohal.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/endian.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/firmware.h> #include <sys/socket.h> @@ -45,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/mge/if_mge.c b/sys/dev/mge/if_mge.c index 2f89aad..88c4f0d 100644 --- a/sys/dev/mge/if_mge.c +++ b/sys/dev/mge/if_mge.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/mii/mii.c b/sys/dev/mii/mii.c index bba3f63..e603cff 100644 --- a/sys/dev/mii/mii.c +++ b/sys/dev/mii/mii.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <dev/mii/mii.h> diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c index 526062b..e2e2a28 100644 --- a/sys/dev/msk/if_msk.c +++ b/sys/dev/msk/if_msk.c @@ -117,6 +117,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index bf66962..5c19f19 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/mwl/if_mwl_pci.c b/sys/dev/mwl/if_mwl_pci.c index d4d00dc..8527cd6 100644 --- a/sys/dev/mwl/if_mwl_pci.c +++ b/sys/dev/mwl/if_mwl_pci.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/module.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/errno.h> @@ -52,9 +53,11 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> +#include <net/ethernet.h> #include <net/if.h> #include <net/if_media.h> #include <net/if_arp.h> +#include <net/route.h> #include <net80211/ieee80211_var.h> diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c index c7064f5..530b01c 100644 --- a/sys/dev/mxge/if_mxge.c +++ b/sys/dev/mxge/if_mxge.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index a487d90..f657d81 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #define NBPFILTER 1 #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_media.h> diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c index 139eb89..f868cfa 100644 --- a/sys/dev/netmap/netmap.c +++ b/sys/dev/netmap/netmap.c @@ -89,6 +89,7 @@ __FBSDID("$FreeBSD$"); #include <sys/selinfo.h> #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/bpf.h> /* BIOCIMMEDIATE */ #include <net/vnet.h> #include <machine/bus.h> /* bus_dmamap_* */ diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c index 6c87a2a..e91f50a 100644 --- a/sys/dev/nfe/if_nfe.c +++ b/sys/dev/nfe/if_nfe.c @@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index 6f680c3..d95feb3 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -109,6 +109,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/nve/if_nve.c b/sys/dev/nve/if_nve.c index 839cfb6..10147fc 100644 --- a/sys/dev/nve/if_nve.c +++ b/sys/dev/nve/if_nve.c @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include <sys/module.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/nxge/if_nxge.c b/sys/dev/nxge/if_nxge.c index df1b9ec..9fa2cfe 100644 --- a/sys/dev/nxge/if_nxge.c +++ b/sys/dev/nxge/if_nxge.c @@ -31,6 +31,7 @@ #include <net/if_arp.h> #include <sys/types.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_vlan_var.h> int copyright_print = 0; diff --git a/sys/dev/oce/oce_if.h b/sys/dev/oce/oce_if.h index 87d57b4..3ee4a4a 100644 --- a/sys/dev/oce/oce_if.h +++ b/sys/dev/oce/oce_if.h @@ -64,6 +64,7 @@ #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/if_media.h> #include <net/if_vlan_var.h> diff --git a/sys/dev/patm/if_patm.c b/sys/dev/patm/if_patm.c index 7c0eefa..a09eeea 100644 --- a/sys/dev/patm/if_patm.c +++ b/sys/dev/patm/if_patm.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/patm/if_patm_attach.c b/sys/dev/patm/if_patm_attach.c index 97b6b95..d93fd00 100644 --- a/sys/dev/patm/if_patm_attach.c +++ b/sys/dev/patm/if_patm_attach.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_types.h> #include <net/if_atm.h> diff --git a/sys/dev/patm/if_patm_intr.c b/sys/dev/patm/if_patm_intr.c index 12ef995..864fff5 100644 --- a/sys/dev/patm/if_patm_intr.c +++ b/sys/dev/patm/if_patm_intr.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/patm/if_patm_ioctl.c b/sys/dev/patm/if_patm_ioctl.c index 2ed466d..c12bd76 100644 --- a/sys/dev/patm/if_patm_ioctl.c +++ b/sys/dev/patm/if_patm_ioctl.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/patm/if_patm_rx.c b/sys/dev/patm/if_patm_rx.c index f739b9c..06a58c3 100644 --- a/sys/dev/patm/if_patm_rx.c +++ b/sys/dev/patm/if_patm_rx.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/patm/if_patm_tx.c b/sys/dev/patm/if_patm_tx.c index f17657d..1b43844 100644 --- a/sys/dev/patm/if_patm_tx.c +++ b/sys/dev/patm/if_patm_tx.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> #include <net/route.h> diff --git a/sys/dev/pcn/if_pcn.c b/sys/dev/pcn/if_pcn.c index a9cff3c..cd04b38 100644 --- a/sys/dev/pcn/if_pcn.c +++ b/sys/dev/pcn/if_pcn.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/pdq/if_fpa.c b/sys/dev/pdq/if_fpa.c index 3fe88ad..1701454 100644 --- a/sys/dev/pdq/if_fpa.c +++ b/sys/dev/pdq/if_fpa.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/fddi.h> diff --git a/sys/dev/pdq/pdq_freebsd.h b/sys/dev/pdq/pdq_freebsd.h index 02bb9ca..78eeef9 100644 --- a/sys/dev/pdq/pdq_freebsd.h +++ b/sys/dev/pdq/pdq_freebsd.h @@ -53,6 +53,7 @@ #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/pdq/pdq_ifsubr.c b/sys/dev/pdq/pdq_ifsubr.c index 00e42b0..b359b52 100644 --- a/sys/dev/pdq/pdq_ifsubr.c +++ b/sys/dev/pdq/pdq_ifsubr.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index 60fc212..dbc5183 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -97,6 +97,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/netisr.h> #include <net/route.h> diff --git a/sys/dev/ral/rt2560.c b/sys/dev/ral/rt2560.c index 7c1b9de..846d179 100644 --- a/sys/dev/ral/rt2560.c +++ b/sys/dev/ral/rt2560.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c index 70c30f1..4c1dc56 100644 --- a/sys/dev/ral/rt2661.c +++ b/sys/dev/ral/rt2661.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/ral/rt2860.c b/sys/dev/ral/rt2860.c index 3bdd01d..300ffc8 100644 --- a/sys/dev/ral/rt2860.c +++ b/sys/dev/ral/rt2860.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 381fa87..7f39935 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -127,6 +127,7 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/rt/if_rt.c b/sys/dev/rt/if_rt.c index ce2b7a9..0cd19a3 100644 --- a/sys/dev/rt/if_rt.c +++ b/sys/dev/rt/if_rt.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include "if_rtreg.h" #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/sbni/if_sbni.c b/sys/dev/sbni/if_sbni.c index dc1b6eb..e3d0faf 100644 --- a/sys/dev/sbni/if_sbni.c +++ b/sys/dev/sbni/if_sbni.c @@ -79,6 +79,7 @@ __FBSDID("$FreeBSD$"); #include <machine/resource.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/ethernet.h> #include <net/bpf.h> diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index 7280801..8fb0a62 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -99,6 +99,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/sfxge/sfxge.c b/sys/dev/sfxge/sfxge.c index 18428cf..8f2c7bb 100644 --- a/sys/dev/sfxge/sfxge.c +++ b/sys/dev/sfxge/sfxge.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/sfxge/sfxge.h b/sys/dev/sfxge/sfxge.h index 2d3e042..d73d150 100644 --- a/sys/dev/sfxge/sfxge.h +++ b/sys/dev/sfxge/sfxge.h @@ -42,6 +42,7 @@ #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/sge/if_sge.c b/sys/dev/sge/if_sge.c index 8482bb2..20c1428 100644 --- a/sys/dev/sge/if_sge.c +++ b/sys/dev/sge/if_sge.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/sis/if_sis.c b/sys/dev/sis/if_sis.c index 55bb7ca..7b0fc88 100644 --- a/sys/dev/sis/if_sis.c +++ b/sys/dev/sis/if_sis.c @@ -76,6 +76,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index 3a0cc2e..62a0ef4 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -101,6 +101,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/smc/if_smc.c b/sys/dev/smc/if_smc.c index f6df350..0ce595f 100644 --- a/sys/dev/smc/if_smc.c +++ b/sys/dev/smc/if_smc.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c index fc26d23..7cc8564 100644 --- a/sys/dev/sn/if_sn.c +++ b/sys/dev/sn/if_sn.c @@ -97,6 +97,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/dev/ste/if_ste.c b/sys/dev/ste/if_ste.c index be2e8b2..107d77a 100644 --- a/sys/dev/ste/if_ste.c +++ b/sys/dev/ste/if_ste.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c index 3cc45b3..8a6f7b0 100644 --- a/sys/dev/stge/if_stge.c +++ b/sys/dev/stge/if_stge.c @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 36cf047..c201029 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -94,6 +94,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sf_buf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/tl/if_tl.c b/sys/dev/tl/if_tl.c index 30969e2..754c945 100644 --- a/sys/dev/tl/if_tl.c +++ b/sys/dev/tl/if_tl.c @@ -187,6 +187,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/tsec/if_tsec.c b/sys/dev/tsec/if_tsec.c index 8041776..1e39ceb 100644 --- a/sys/dev/tsec/if_tsec.c +++ b/sys/dev/tsec/if_tsec.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index 66f5480..1c73aca 100644 --- a/sys/dev/tx/if_tx.c +++ b/sys/dev/tx/if_tx.c @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c index bc6f016..b0dd09c 100644 --- a/sys/dev/txp/if_txp.c +++ b/sys/dev/txp/if_txp.c @@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/net/if_aue.c b/sys/dev/usb/net/if_aue.c index 1681a2a..e9d6646 100644 --- a/sys/dev/usb/net/if_aue.c +++ b/sys/dev/usb/net/if_aue.c @@ -74,6 +74,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -87,6 +88,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/priv.h> +#include <net/if.h> +#include <net/if_var.h> + #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> diff --git a/sys/dev/usb/net/if_axe.c b/sys/dev/usb/net/if_axe.c index ac6c230..e4f3153 100644 --- a/sys/dev/usb/net/if_axe.c +++ b/sys/dev/usb/net/if_axe.c @@ -93,6 +93,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sx.h> #include <net/if.h> +#include <net/if_var.h> #include <net/ethernet.h> #include <net/if_types.h> #include <net/if_media.h> diff --git a/sys/dev/usb/net/if_cdce.c b/sys/dev/usb/net/if_cdce.c index 6649bc0..5ed1625 100644 --- a/sys/dev/usb/net/if_cdce.c +++ b/sys/dev/usb/net/if_cdce.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -67,6 +68,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/priv.h> +#include <net/if.h> +#include <net/if_var.h> + #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> diff --git a/sys/dev/usb/net/if_cue.c b/sys/dev/usb/net/if_cue.c index 6414e7a..5b06bc4 100644 --- a/sys/dev/usb/net/if_cue.c +++ b/sys/dev/usb/net/if_cue.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -70,6 +71,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/priv.h> +#include <net/if.h> +#include <net/if_var.h> + #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> diff --git a/sys/dev/usb/net/if_kue.c b/sys/dev/usb/net/if_kue.c index ec0c5f0..7410dbe 100644 --- a/sys/dev/usb/net/if_kue.c +++ b/sys/dev/usb/net/if_kue.c @@ -71,6 +71,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -84,6 +85,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/priv.h> +#include <net/if.h> +#include <net/if_var.h> + #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> diff --git a/sys/dev/usb/net/if_mos.c b/sys/dev/usb/net/if_mos.c index 050bf38..b3e5413 100644 --- a/sys/dev/usb/net/if_mos.c +++ b/sys/dev/usb/net/if_mos.c @@ -102,6 +102,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -115,6 +116,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/priv.h> +#include <net/if.h> +#include <net/if_var.h> + #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> diff --git a/sys/dev/usb/net/if_rue.c b/sys/dev/usb/net/if_rue.c index 17f82b0..f37ae1c 100644 --- a/sys/dev/usb/net/if_rue.c +++ b/sys/dev/usb/net/if_rue.c @@ -71,6 +71,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -84,6 +85,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/priv.h> +#include <net/if.h> +#include <net/if_var.h> + #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> diff --git a/sys/dev/usb/net/if_udav.c b/sys/dev/usb/net/if_udav.c index 4fd39cc..4187760 100644 --- a/sys/dev/usb/net/if_udav.c +++ b/sys/dev/usb/net/if_udav.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/types.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -65,6 +66,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/priv.h> +#include <net/if.h> +#include <net/if_var.h> + #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/usbdi_util.h> diff --git a/sys/dev/usb/net/if_usie.c b/sys/dev/usb/net/if_usie.c index 9ca1ad6..1909318 100644 --- a/sys/dev/usb/net/if_usie.c +++ b/sys/dev/usb/net/if_usie.c @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/queue.h> #include <sys/systm.h> +#include <sys/socket.h> #include <sys/kernel.h> #include <sys/bus.h> #include <sys/module.h> @@ -44,6 +45,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/taskqueue.h> +#include <net/if.h> +#include <net/if_var.h> + #include <machine/bus.h> #include <net/if.h> diff --git a/sys/dev/usb/net/uhso.c b/sys/dev/usb/net/uhso.c index c9d9757..40d7439 100644 --- a/sys/dev/usb/net/uhso.c +++ b/sys/dev/usb/net/uhso.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/netisr.h> #include <net/bpf.h> diff --git a/sys/dev/usb/net/usb_ethernet.c b/sys/dev/usb/net/usb_ethernet.c index 2f17959..1d3ae6e 100644 --- a/sys/dev/usb/net/usb_ethernet.c +++ b/sys/dev/usb/net/usb_ethernet.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sx.h> #include <net/if.h> +#include <net/if_var.h> #include <net/ethernet.h> #include <net/if_types.h> #include <net/if_media.h> diff --git a/sys/dev/usb/usb_pf.c b/sys/dev/usb/usb_pf.c index 121105b..650f666 100644 --- a/sys/dev/usb/usb_pf.c +++ b/sys/dev/usb/usb_pf.c @@ -45,6 +45,7 @@ #include <sys/socket.h> #include <sys/sockio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/if_clone.h> #include <net/bpf.h> diff --git a/sys/dev/usb/wlan/if_rsu.c b/sys/dev/usb/wlan/if_rsu.c index 30cdbe9..048780e 100644 --- a/sys/dev/usb/wlan/if_rsu.c +++ b/sys/dev/usb/wlan/if_rsu.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c index fa4e9f1..c863b94 100644 --- a/sys/dev/usb/wlan/if_rum.c +++ b/sys/dev/usb/wlan/if_rum.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index 0dbb8c6..e5e6fbf 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/wlan/if_uath.c b/sys/dev/usb/wlan/if_uath.c index f238d0d..836f0a4 100644 --- a/sys/dev/usb/wlan/if_uath.c +++ b/sys/dev/usb/wlan/if_uath.c @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/wlan/if_upgt.c b/sys/dev/usb/wlan/if_upgt.c index eff7922..ec32b27 100644 --- a/sys/dev/usb/wlan/if_upgt.c +++ b/sys/dev/usb/wlan/if_upgt.c @@ -31,6 +31,7 @@ #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/wlan/if_ural.c b/sys/dev/usb/wlan/if_ural.c index f3fa1ca..46e364e 100644 --- a/sys/dev/usb/wlan/if_ural.c +++ b/sys/dev/usb/wlan/if_ural.c @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/wlan/if_urtw.c b/sys/dev/usb/wlan/if_urtw.c index 184317b..fb11c2d 100644 --- a/sys/dev/usb/wlan/if_urtw.c +++ b/sys/dev/usb/wlan/if_urtw.c @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/wlan/if_urtwn.c b/sys/dev/usb/wlan/if_urtwn.c index 5f61cde..c0d7f4b 100644 --- a/sys/dev/usb/wlan/if_urtwn.c +++ b/sys/dev/usb/wlan/if_urtwn.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/usb/wlan/if_zyd.c b/sys/dev/usb/wlan/if_zyd.c index 3d3f269..6617c8d 100644 --- a/sys/dev/usb/wlan/if_zyd.c +++ b/sys/dev/usb/wlan/if_zyd.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c index cdd67e0..993323a 100644 --- a/sys/dev/vge/if_vge.c +++ b/sys/dev/vge/if_vge.c @@ -99,6 +99,7 @@ __FBSDID("$FreeBSD$"); #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_types.h> #include <net/if_vlan_var.h> diff --git a/sys/dev/virtio/network/if_vtnet.c b/sys/dev/virtio/network/if_vtnet.c index 3276ae2..8bbecfe 100644 --- a/sys/dev/virtio/network/if_vtnet.c +++ b/sys/dev/virtio/network/if_vtnet.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/dev/vmware/vmxnet3/if_vmx.c b/sys/dev/vmware/vmxnet3/if_vmx.c index 21f0947..505b631 100644 --- a/sys/dev/vmware/vmxnet3/if_vmx.c +++ b/sys/dev/vmware/vmxnet3/if_vmx.c @@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c index 00e7269..0a1d7df 100644 --- a/sys/dev/vr/if_vr.c +++ b/sys/dev/vr/if_vr.c @@ -80,6 +80,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/ethernet.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/vte/if_vte.c b/sys/dev/vte/if_vte.c index dfc06e5..4c92fa4 100644 --- a/sys/dev/vte/if_vte.c +++ b/sys/dev/vte/if_vte.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c index acb9c2f..afbaee7 100644 --- a/sys/dev/vx/if_vx.c +++ b/sys/dev/vx/if_vx.c @@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c index 38037fa..72fff6a 100644 --- a/sys/dev/vx/if_vx_pci.c +++ b/sys/dev/vx/if_vx_pci.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <machine/bus.h> diff --git a/sys/dev/wb/if_wb.c b/sys/dev/wb/if_wb.c index f96441c..a126d4a 100644 --- a/sys/dev/wb/if_wb.c +++ b/sys/dev/wb/if_wb.c @@ -94,6 +94,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index c9bf2e0..ac6d8c0 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -87,6 +87,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c index 382a3a3..2f199c8 100644 --- a/sys/dev/wi/if_wi_pccard.c +++ b/sys/dev/wi/if_wi_pccard.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/socket.h> #include <sys/systm.h> #include <sys/module.h> diff --git a/sys/dev/wi/if_wi_pci.c b/sys/dev/wi/if_wi_pci.c index 30cdbc4..198c599 100644 --- a/sys/dev/wi/if_wi_pci.c +++ b/sys/dev/wi/if_wi_pci.c @@ -55,6 +55,7 @@ #include <dev/pci/pcivar.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_media.h> diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c index c6db4b9..303e57f 100644 --- a/sys/dev/wl/if_wl.c +++ b/sys/dev/wl/if_wl.c @@ -209,6 +209,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c index 465c140..0b51fec 100644 --- a/sys/dev/wpi/if_wpi.c +++ b/sys/dev/wpi/if_wpi.c @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c index 855c8c1..5399d28 100644 --- a/sys/dev/xe/if_xe.c +++ b/sys/dev/xe/if_xe.c @@ -112,6 +112,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/dev/xl/if_xl.c b/sys/dev/xl/if_xl.c index 90bc0c0..8c38460 100644 --- a/sys/dev/xl/if_xl.c +++ b/sys/dev/xl/if_xl.c @@ -113,6 +113,7 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/fs/nfs/nfsport.h b/sys/fs/nfs/nfsport.h index cec50a6..a34ddd3 100644 --- a/sys/fs/nfs/nfsport.h +++ b/sys/fs/nfs/nfsport.h @@ -79,6 +79,7 @@ #include <sys/kthread.h> #include <sys/syscallsubr.h> #include <net/if.h> +#include <net/if_var.h> #include <net/radix.h> #include <net/route.h> #include <net/if_dl.h> diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 331b0e1..fc084e0 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <sys/vnode.h> #include <net/if.h> +#include <net/if_var.h> #include <net/vnet.h> #include <netinet/in.h> diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index 8e53fd1..19c76a9 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -42,7 +42,8 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <sys/syslog.h> -#include <net/if.h> /* for IFF_* flags */ +#include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> /* for NETISR_POLL */ #include <net/vnet.h> diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c index 6a766af..0fc26df 100644 --- a/sys/kern/sys_socket.c +++ b/sys/kern/sys_socket.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ucred.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/net/bpf.c b/sys/net/bpf.c index cb3ed27..add10bf 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -68,6 +68,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #define BPF_INTERNAL #include <net/bpf.h> #include <net/bpf_buffer.h> diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c index 07cf219..bd5ef9f 100644 --- a/sys/net/bridgestp.c +++ b/sys/net/bridgestp.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/if_llc.h> diff --git a/sys/net/ieee8023ad_lacp.c b/sys/net/ieee8023ad_lacp.c index 8dbadd4..c32ee81 100644 --- a/sys/net/ieee8023ad_lacp.c +++ b/sys/net/ieee8023ad_lacp.c @@ -42,8 +42,10 @@ __FBSDID("$FreeBSD$"); #include <machine/stdarg.h> #include <sys/lock.h> #include <sys/rwlock.h> +#include <sys/taskqueue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/ethernet.h> #include <net/if_media.h> diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c index 2f94785..49c2dd3 100644 --- a/sys/net/if_arcsubr.c +++ b/sys/net/if_arcsubr.c @@ -57,6 +57,7 @@ #include <machine/cpu.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/route.h> #include <net/if_dl.h> diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index d6190ec..8bf8534 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/route.h> #include <net/if_dl.h> diff --git a/sys/net/if_clone.c b/sys/net/if_clone.c index fcb7131..87e9ccd 100644 --- a/sys/net/if_clone.c +++ b/sys/net/if_clone.c @@ -42,8 +42,8 @@ #include <sys/socket.h> #include <net/if.h> -#include <net/if_clone.h> #include <net/if_var.h> +#include <net/if_clone.h> #include <net/radix.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c index 16a1e7b..2afecfe 100644 --- a/sys/net/if_disc.c +++ b/sys/net/if_disc.c @@ -45,6 +45,7 @@ #include <sys/sockio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> #include <net/route.h> diff --git a/sys/net/if_edsc.c b/sys/net/if_edsc.c index b54cfae..3ee1c6d 100644 --- a/sys/net/if_edsc.c +++ b/sys/net/if_edsc.c @@ -46,7 +46,8 @@ #include <net/bpf.h> /* bpf(9) */ #include <net/ethernet.h> /* Ethernet related constants and types */ -#include <net/if.h> /* basic part of ifnet(9) */ +#include <net/if.h> +#include <net/if_var.h> /* basic part of ifnet(9) */ #include <net/if_clone.h> /* network interface cloning */ #include <net/if_types.h> /* IFT_ETHER and friends */ #include <net/if_var.h> /* kernel-only part of ifnet(9) */ diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c index fc6402c..887c912 100644 --- a/sys/net/if_ef.c +++ b/sys/net/if_ef.c @@ -43,6 +43,7 @@ #include <net/ethernet.h> #include <net/if_llc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c index dcb82f5..fc78769 100644 --- a/sys/net/if_enc.c +++ b/sys/net/if_enc.c @@ -44,6 +44,7 @@ #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> #include <net/pfil.h> diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c index 42a8a7a..03e379b 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_media.h> #include <net/if_var.h> diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 26e6edb..0564d7a 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -51,6 +51,7 @@ #include <sys/uuid.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/netisr.h> #include <net/route.h> diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c index 37a53bb..277e54e 100644 --- a/sys/net/if_faith.c +++ b/sys/net/if_faith.c @@ -56,6 +56,7 @@ #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c index 4f54dcb..2f03bb7 100644 --- a/sys/net/if_fddisubr.c +++ b/sys/net/if_fddisubr.c @@ -51,6 +51,7 @@ #include <sys/sockio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_llc.h> #include <net/if_types.h> diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c index 31fc2a9..5f0f923 100644 --- a/sys/net/if_fwsubr.c +++ b/sys/net/if_fwsubr.c @@ -43,6 +43,7 @@ #include <sys/sockio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/route.h> #include <net/if_llc.h> diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index dfc2697..e39c1df 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -53,6 +53,7 @@ #include <machine/cpu.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index 98090e5..3176348 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -62,6 +62,7 @@ #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> #include <net/route.h> diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index 5975b28..825b220 100644 --- a/sys/net/if_iso88025subr.c +++ b/sys/net/if_iso88025subr.c @@ -54,6 +54,7 @@ #include <sys/sockio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_llc.h> diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 499cd2c..64f9209 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -51,6 +51,7 @@ #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/net/if_mib.c b/sys/net/if_mib.c index 97a2d40..aa6e6e5 100644 --- a/sys/net/if_mib.c +++ b/sys/net/if_mib.c @@ -36,6 +36,7 @@ #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_mib.h> #include <net/vnet.h> diff --git a/sys/net/if_spppfr.c b/sys/net/if_spppfr.c index b5e24f6..a151849 100644 --- a/sys/net/if_spppfr.c +++ b/sys/net/if_spppfr.c @@ -58,6 +58,7 @@ #endif #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/if_types.h> #include <net/route.h> diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 9fe713c..b24ea73 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -40,6 +40,7 @@ #include <sys/md5.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/if_types.h> #include <net/route.h> diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c index 2c34739..e0bec25 100644 --- a/sys/net/if_stf.c +++ b/sys/net/if_stf.c @@ -94,6 +94,7 @@ #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/route.h> #include <net/netisr.h> diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c index 62005a3..6b93408 100644 --- a/sys/net/if_tap.c +++ b/sys/net/if_tap.c @@ -63,6 +63,7 @@ #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_dl.h> #include <net/if_media.h> diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 262d6d2..ddef6f9 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -45,6 +45,7 @@ #include <sys/random.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index b7f1197..06b4038 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_clone.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/net/pfil.c b/sys/net/pfil.c index 44373ee..2494dea 100644 --- a/sys/net/pfil.c +++ b/sys/net/pfil.c @@ -45,6 +45,7 @@ #include <sys/queue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/pfil.h> static struct mtx pfil_global_lock; diff --git a/sys/net/route.c b/sys/net/route.c index 55efd94..a64c669 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -54,6 +54,7 @@ #include <sys/kernel.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index e92eb89..e7d1d99 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -53,6 +53,7 @@ #include <sys/systm.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_llatbl.h> #include <net/if_types.h> diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index db505ab..6ba0984 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/net80211/ieee80211_action.c b/sys/net80211/ieee80211_action.c index a36df7c..e37863e 100644 --- a/sys/net80211/ieee80211_action.c +++ b/sys/net80211/ieee80211_action.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_adhoc.c b/sys/net80211/ieee80211_adhoc.c index ecf3a87..e40a238 100644 --- a/sys/net80211/ieee80211_adhoc.c +++ b/sys/net80211/ieee80211_adhoc.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_llc.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_ageq.c b/sys/net80211/ieee80211_ageq.c index 018ddc2..b650136 100644 --- a/sys/net80211/ieee80211_ageq.c +++ b/sys/net80211/ieee80211_ageq.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_amrr.c b/sys/net80211/ieee80211_amrr.c index 003b4bc..c745b05 100644 --- a/sys/net80211/ieee80211_amrr.c +++ b/sys/net80211/ieee80211_amrr.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #ifdef INET diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c index 6f7dabf..74e82e5 100644 --- a/sys/net80211/ieee80211_ddb.c +++ b/sys/net80211/ieee80211_ddb.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/if_types.h> diff --git a/sys/net80211/ieee80211_dfs.c b/sys/net80211/ieee80211_dfs.c index 82e525d..af50cb5 100644 --- a/sys/net80211/ieee80211_dfs.c +++ b/sys/net80211/ieee80211_dfs.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net80211/ieee80211_var.h> diff --git a/sys/net80211/ieee80211_freebsd.c b/sys/net80211/ieee80211_freebsd.c index 8c97f1e..ab5b26e 100644 --- a/sys/net80211/ieee80211_freebsd.c +++ b/sys/net80211/ieee80211_freebsd.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_clone.h> #include <net/if_media.h> diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 93a9b27..91c58ab 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_llc.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c index 7f41b27..b39f71d 100644 --- a/sys/net80211/ieee80211_ht.c +++ b/sys/net80211/ieee80211_ht.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 5e95646..6ea4f9b 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_llc.h> #include <net/if_media.h> #include <net/if_vlan_var.h> diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c index 6b668cb..72d6dd1 100644 --- a/sys/net80211/ieee80211_ioctl.c +++ b/sys/net80211/ieee80211_ioctl.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_mesh.c b/sys/net80211/ieee80211_mesh.c index 1d03c1a..d18483e 100644 --- a/sys/net80211/ieee80211_mesh.c +++ b/sys/net80211/ieee80211_mesh.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_llc.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_monitor.c b/sys/net80211/ieee80211_monitor.c index e324081..f52b0fb 100644 --- a/sys/net80211/ieee80211_monitor.c +++ b/sys/net80211/ieee80211_monitor.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_llc.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index 4169255..9fc4cd4 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c index 925adc4..c5460ec 100644 --- a/sys/net80211/ieee80211_output.c +++ b/sys/net80211/ieee80211_output.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_llc.h> #include <net/if_media.h> #include <net/if_vlan_var.h> diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c index 4542ec5..3fd16cf 100644 --- a/sys/net80211/ieee80211_power.c +++ b/sys/net80211/ieee80211_power.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c index ca91b4d..751c44d 100644 --- a/sys/net80211/ieee80211_proto.c +++ b/sys/net80211/ieee80211_proto.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sockio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> /* XXX for ether_sprintf */ diff --git a/sys/net80211/ieee80211_radiotap.c b/sys/net80211/ieee80211_radiotap.c index f06f7e0..6c73e02 100644 --- a/sys/net80211/ieee80211_radiotap.c +++ b/sys/net80211/ieee80211_radiotap.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_llc.h> #include <net/if_media.h> diff --git a/sys/net80211/ieee80211_regdomain.c b/sys/net80211/ieee80211_regdomain.c index 6bc5e0d..e7efb7e 100644 --- a/sys/net80211/ieee80211_regdomain.c +++ b/sys/net80211/ieee80211_regdomain.c @@ -34,10 +34,12 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net80211/ieee80211_var.h> diff --git a/sys/net80211/ieee80211_scan.c b/sys/net80211/ieee80211_scan.c index c24b631..4084730 100644 --- a/sys/net80211/ieee80211_scan.c +++ b/sys/net80211/ieee80211_scan.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_scan_sta.c b/sys/net80211/ieee80211_scan_sta.c index c791ea1..75abb2b 100644 --- a/sys/net80211/ieee80211_scan_sta.c +++ b/sys/net80211/ieee80211_scan_sta.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/ethernet.h> diff --git a/sys/net80211/ieee80211_wds.c b/sys/net80211/ieee80211_wds.c index 8e0cb06..e0dfaea 100644 --- a/sys/net80211/ieee80211_wds.c +++ b/sys/net80211/ieee80211_wds.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_llc.h> #include <net/ethernet.h> diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index 8d4f76f..0cd4180 100644 --- a/sys/netatalk/aarp.c +++ b/sys/netatalk/aarp.c @@ -60,6 +60,7 @@ #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <netinet/in.h> diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c index efceb32..67e2bd5 100644 --- a/sys/netatalk/at_control.c +++ b/sys/netatalk/at_control.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rwlock.h> #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netinet/in.h> #undef s_net diff --git a/sys/netatalk/ddp_input.c b/sys/netatalk/ddp_input.c index f78fc86..6ea7857 100644 --- a/sys/netatalk/ddp_input.c +++ b/sys/netatalk/ddp_input.c @@ -59,6 +59,7 @@ #include <sys/sx.h> #include <sys/systm.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netatalk/at.h> diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c index 2b53de4..2eb0273 100644 --- a/sys/netatalk/ddp_output.c +++ b/sys/netatalk/ddp_output.c @@ -30,6 +30,7 @@ #include <sys/socketvar.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #undef s_net diff --git a/sys/netatalk/ddp_pcb.c b/sys/netatalk/ddp_pcb.c index 6be8f4e..9d9078e 100644 --- a/sys/netatalk/ddp_pcb.c +++ b/sys/netatalk/ddp_pcb.c @@ -58,6 +58,7 @@ #include <sys/socketvar.h> #include <sys/protosw.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/netisr.h> diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c index 2e54158..e675fdc 100644 --- a/sys/netatalk/ddp_usrreq.c +++ b/sys/netatalk/ddp_usrreq.c @@ -58,6 +58,7 @@ #include <sys/socketvar.h> #include <sys/protosw.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/netisr.h> diff --git a/sys/netgraph/netflow/netflow.c b/sys/netgraph/netflow/netflow.c index f230616..56947a6 100644 --- a/sys/netgraph/netflow/netflow.c +++ b/sys/netgraph/netflow/netflow.c @@ -46,6 +46,7 @@ static const char rcs_id[] = #include <machine/stdarg.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/ethernet.h> #include <netinet/in.h> diff --git a/sys/netgraph/ng_bridge.c b/sys/netgraph/ng_bridge.c index becfea1..57db73e 100644 --- a/sys/netgraph/ng_bridge.c +++ b/sys/netgraph/ng_bridge.c @@ -71,6 +71,7 @@ #include <sys/ctype.h> #include <net/if.h> +#include <net/if_var.h> #include <net/ethernet.h> #include <net/vnet.h> diff --git a/sys/netgraph/ng_cisco.c b/sys/netgraph/ng_cisco.c index f937557..a9780dd 100644 --- a/sys/netgraph/ng_cisco.c +++ b/sys/netgraph/ng_cisco.c @@ -51,6 +51,7 @@ #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> /* XXXGL: ipx? */ #include <netinet/in.h> #include <netinet/if_ether.h> diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c index 0f471bb..2353774 100644 --- a/sys/netgraph/ng_eiface.c +++ b/sys/netgraph/ng_eiface.c @@ -41,6 +41,7 @@ #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/netgraph/ng_fec.c b/sys/netgraph/ng_fec.c index b7c1f56..569db15 100644 --- a/sys/netgraph/ng_fec.c +++ b/sys/netgraph/ng_fec.c @@ -102,6 +102,7 @@ #include <sys/queue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/if_media.h> diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index 6c18d2a..e2d3454 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -72,6 +72,7 @@ #include <sys/libkern.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/bpf.h> #include <net/netisr.h> diff --git a/sys/netgraph/ng_ipfw.c b/sys/netgraph/ng_ipfw.c index 8c77798..7863a67 100644 --- a/sys/netgraph/ng_ipfw.c +++ b/sys/netgraph/ng_ipfw.c @@ -42,6 +42,7 @@ #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <netinet/in.h> #include <netinet/in_systm.h> diff --git a/sys/netgraph/ng_sppp.c b/sys/netgraph/ng_sppp.c index 4ad89ec..44db053 100644 --- a/sys/netgraph/ng_sppp.c +++ b/sys/netgraph/ng_sppp.c @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include <sys/libkern.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/bpf.h> #include <net/if_sppp.h> diff --git a/sys/netinet/if_atm.c b/sys/netinet/if_atm.c index 4816678..e2b71a8 100644 --- a/sys/netinet/if_atm.c +++ b/sys/netinet/if_atm.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/route.h> #include <net/if_atm.h> diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 9660edc..73ad037 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/netisr.h> diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 9f31a19..4e22948 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$"); #include <sys/condvar.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/vnet.h> diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c index 45c8619..6559454 100644 --- a/sys/netinet/in_gif.c +++ b/sys/netinet/in_gif.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/in_mcast.c b/sys/netinet/in_mcast.c index 8022c69..18d23eb 100644 --- a/sys/netinet/in_mcast.c +++ b/sys/netinet/in_mcast.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/tree.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index eb15a38..1f4d56f 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index b7dc82a..733aa4d 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -58,6 +58,7 @@ __FBSDID("$FreeBSD$"); */ #ifdef INET #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #ifdef RADIX_MPATH #include <net/radix_mpath.h> diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c index d09805d..71e5fb2 100644 --- a/sys/netinet/in_rmx.c +++ b/sys/netinet/in_rmx.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/callout.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index a170e34..b6d14bc 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <net/ethernet.h> #include <net/fddi.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_llatbl.h> #include <net/if_types.h> diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index e698035..884a5ba 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <net/vnet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <netinet/in.h> diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c index 776820f..e4a84ce 100644 --- a/sys/netinet/ip_gre.c +++ b/sys/netinet/ip_gre.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <net/bpf.h> #include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/route.h> #include <net/raw_cb.h> diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index deabf44..aa7b262 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/ip_ipsec.c b/sys/netinet/ip_ipsec.c index 526a6de..ee93d9f 100644 --- a/sys/netinet/ip_ipsec.c +++ b/sys/netinet/ip_ipsec.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 3a03def..dfc545e 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -96,6 +96,7 @@ __FBSDID("$FreeBSD$"); #include <sys/counter.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 6880a5c..1ee18aa 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ucred.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_llatbl.h> #include <net/netisr.h> #include <net/pfil.h> diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index eddc69e..44bfab2 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c index 3a53aa4..d533235 100644 --- a/sys/netinet/tcp_hostcache.c +++ b/sys/netinet/tcp_hostcache.c @@ -78,6 +78,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index c3eecef..0f785f9 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/tcp_offload.c b/sys/netinet/tcp_offload.c index b772418..683e212 100644 --- a/sys/netinet/tcp_offload.c +++ b/sys/netinet/tcp_offload.c @@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socketvar.h> #include <sys/sockopt.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netinet/in.h> #include <netinet/in_pcb.h> diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 5fd29b8..cc87c88 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/tcp_sack.c b/sys/netinet/tcp_sack.c index 440bd64..bc9c679 100644 --- a/sys/netinet/tcp_sack.c +++ b/sys/netinet/tcp_sack.c @@ -95,6 +95,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 5d37b50..d1eb695 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include <net/route.h> #include <net/if.h> +#include <net/if_var.h> #include <net/vnet.h> #include <netinet/cc.h> diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index 1c27d7a..29d9d53 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 7e6128b..f8c3f45 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <net/route.h> #include <net/if.h> +#include <net/if_var.h> #include <net/vnet.h> #include <netinet/in.h> diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 88755e7..da592f8 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #endif #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index de4957d..fe115c3 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netinet/in.h> diff --git a/sys/netinet6/dest6.c b/sys/netinet6/dest6.c index b6a33e0..2b95fd9 100644 --- a/sys/netinet6/dest6.c +++ b/sys/netinet6/dest6.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netinet/in.h> diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c index e67d291..dd08896 100644 --- a/sys/netinet6/frag6.c +++ b/sys/netinet6/frag6.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index de9d2fe..a50b5cf 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -85,6 +85,7 @@ __FBSDID("$FreeBSD$"); #include <sys/time.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_llatbl.h> #include <net/if_types.h> diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c index 7fdaf16..53188f1 100644 --- a/sys/netinet6/in6_gif.c +++ b/sys/netinet6/in6_gif.c @@ -49,7 +49,9 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> +#include <net/vnet.h> #include <netinet/in.h> #include <netinet/in_systm.h> diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index a6134d1..2ee0cae 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <sys/md5.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <net/route.h> diff --git a/sys/netinet6/in6_mcast.c b/sys/netinet6/in6_mcast.c index fca48b5..16ac88c 100644 --- a/sys/netinet6/in6_mcast.c +++ b/sys/netinet6/in6_mcast.c @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <sys/tree.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index fb84279..848f3c6 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -90,6 +90,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/route.h> diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 965de60..a603239 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -84,6 +84,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/radix.h> #include <net/route.h> #ifdef RADIX_MPATH diff --git a/sys/netinet6/in6_rmx.c b/sys/netinet6/in6_rmx.c index 88ecc14..e90c74b 100644 --- a/sys/netinet6/in6_rmx.c +++ b/sys/netinet6/in6_rmx.c @@ -76,6 +76,7 @@ __FBSDID("$FreeBSD$"); #include <sys/callout.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netinet/in.h> diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c index 7590fa1..000c246 100644 --- a/sys/netinet6/in6_src.c +++ b/sys/netinet6/in6_src.c @@ -85,6 +85,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sx.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/route.h> #include <net/if_llatbl.h> diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c index 2cc2741..05d96e7 100644 --- a/sys/netinet6/ip6_forward.c +++ b/sys/netinet6/ip6_forward.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/route.h> #include <net/pfil.h> diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 5404c95..4521583 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/if_dl.h> #include <net/route.h> diff --git a/sys/netinet6/ip6_ipsec.c b/sys/netinet6/ip6_ipsec.c index 8cdd431..678f1df 100644 --- a/sys/netinet6/ip6_ipsec.c +++ b/sys/netinet6/ip6_ipsec.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 6a5fb88..07613130 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -106,6 +106,7 @@ __FBSDID("$FreeBSD$"); #include <sys/time.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/raw_cb.h> #include <net/vnet.h> diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 1437464..166c1bc 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include <machine/in_cksum.h> #include <net/if.h> +#include <net/if_var.h> #include <net/netisr.h> #include <net/route.h> #include <net/pfil.h> diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index 77b19bf..ddc6eea 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ktr.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index e76121d..ccfef57 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arc.h> #include <net/if_dl.h> #include <net/if_types.h> diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c index 0c8b587..55240d9 100644 --- a/sys/netinet6/nd6_rtr.c +++ b/sys/netinet6/nd6_rtr.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/if_dl.h> #include <net/route.h> diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index a37dfc5..57f7e90 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netinet6/route6.c b/sys/netinet6/route6.c index b6bec8d..5f22437 100644 --- a/sys/netinet6/route6.c +++ b/sys/netinet6/route6.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <net/if.h> +#include <net/if_var.h> #include <netinet/in.h> #include <netinet6/in6_var.h> diff --git a/sys/netinet6/scope6.c b/sys/netinet6/scope6.c index b6479a1..3284a7d 100644 --- a/sys/netinet6/scope6.c +++ b/sys/netinet6/scope6.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/vnet.h> #include <netinet/in.h> diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index 7df0db7..469d53a 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -93,6 +93,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/route.h> diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c index 4a22f32..de367f7 100644 --- a/sys/netipsec/ipsec.c +++ b/sys/netipsec/ipsec.c @@ -55,6 +55,7 @@ #include <sys/proc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c index 23a4a5c..859b7ee 100644 --- a/sys/netipsec/ipsec_input.c +++ b/sys/netipsec/ipsec_input.c @@ -56,6 +56,7 @@ #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/pfil.h> #include <net/route.h> #include <net/netisr.h> diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c index 19b27ec..4ef5ca2 100644 --- a/sys/netipsec/ipsec_output.c +++ b/sys/netipsec/ipsec_output.c @@ -44,6 +44,7 @@ #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/pfil.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c index 35385e5..0cc35dd 100644 --- a/sys/netipsec/key.c +++ b/sys/netipsec/key.c @@ -58,9 +58,10 @@ #include <sys/syslog.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> -#include <net/raw_cb.h> #include <net/vnet.h> +#include <net/raw_cb.h> #include <netinet/in.h> #include <netinet/in_systm.h> diff --git a/sys/netipsec/xform_ipip.c b/sys/netipsec/xform_ipip.c index 1d2aff2..d2537d2 100644 --- a/sys/netipsec/xform_ipip.c +++ b/sys/netipsec/xform_ipip.c @@ -52,6 +52,7 @@ #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/pfil.h> #include <net/route.h> #include <net/netisr.h> diff --git a/sys/netipx/ipx.c b/sys/netipx/ipx.c index d8ecf4c..987a267 100644 --- a/sys/netipx/ipx.c +++ b/sys/netipx/ipx.c @@ -75,6 +75,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netipx/ipx.h> diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c index 9d44ec5..df277fb 100644 --- a/sys/netipx/ipx_input.c +++ b/sys/netipx/ipx_input.c @@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/netisr.h> diff --git a/sys/netipx/ipx_outputfl.c b/sys/netipx/ipx_outputfl.c index 25bbedf..e622357 100644 --- a/sys/netipx/ipx_outputfl.c +++ b/sys/netipx/ipx_outputfl.c @@ -68,6 +68,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netipx/ipx.h> diff --git a/sys/netipx/ipx_pcb.c b/sys/netipx/ipx_pcb.c index 92a58bd..61510bb 100644 --- a/sys/netipx/ipx_pcb.c +++ b/sys/netipx/ipx_pcb.c @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include <sys/socketvar.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netipx/ipx.h> diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index 31b781c..f2f96eb 100644 --- a/sys/netipx/ipx_usrreq.c +++ b/sys/netipx/ipx_usrreq.c @@ -81,6 +81,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netinet/in.h> diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index c611650..56b8539 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -78,6 +78,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_atm.h> #include <net/netisr.h> diff --git a/sys/netnatm/natm_pcb.c b/sys/netnatm/natm_pcb.c index 16ceab1..602d438 100644 --- a/sys/netnatm/natm_pcb.c +++ b/sys/netnatm/natm_pcb.c @@ -43,12 +43,15 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <sys/systm.h> #include <sys/socket.h> #include <sys/socketvar.h> #include <net/if.h> +#include <net/if_var.h> /* XXX: db_show_natm() */ #include <netinet/in.h> 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...) \ diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c index 7b84f94..d85851a 100644 --- a/sys/nfs/bootp_subr.c +++ b/sys/nfs/bootp_subr.c @@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$"); #include <sys/uio.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <netinet/in.h> diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 7a26aa2..cf63c5e 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 69ff21d..d703a8a 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bio.h> #include <sys/buf.h> #include <sys/jail.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/namei.h> @@ -59,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <sys/dirent.h> #include <sys/fcntl.h> #include <sys/lockf.h> +#include <sys/rwlock.h> #include <sys/stat.h> #include <sys/sysctl.h> #include <sys/signalvar.h> @@ -77,6 +79,8 @@ __FBSDID("$FreeBSD$"); #include <nfsclient/nfsm_subs.h> #include <net/if.h> +#include <net/if_var.h> +#include <net/vnet.h> #include <netinet/in.h> #include <netinet/in_var.h> diff --git a/sys/nfsserver/nfs_srvkrpc.c b/sys/nfsserver/nfs_srvkrpc.c index 85003b7..123bbba 100644 --- a/sys/nfsserver/nfs_srvkrpc.c +++ b/sys/nfsserver/nfs_srvkrpc.c @@ -68,7 +68,8 @@ __FBSDID("$FreeBSD$"); #include <netinet/tcp.h> #ifdef INET6 #include <net/if.h> -#include <netinet6/in6_var.h> +#include <net/if_var.h> /* XXX: for in6_var.h */ +#include <netinet6/in6_var.h> /* XXX: for ip6_sprintf */ #endif #include <rpc/rpc.h> diff --git a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h index 768833d..7d5e175 100644 --- a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h @@ -52,6 +52,7 @@ #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/netisr.h> #include <net/route.h> diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h b/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h index a1ccdff..2ba1a89 100644 --- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h +++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h @@ -25,6 +25,7 @@ #endif #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/ofed/include/linux/list.h b/sys/ofed/include/linux/list.h index 4b5454a..f02dead 100644 --- a/sys/ofed/include/linux/list.h +++ b/sys/ofed/include/linux/list.h @@ -49,6 +49,7 @@ #include <net/bpf.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> #include <net/if_media.h> diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 4f91d1f..41f91a3 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -99,6 +99,7 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/security/mac_ifoff/mac_ifoff.c b/sys/security/mac_ifoff/mac_ifoff.c index acfbd25..7165f90 100644 --- a/sys/security/mac_ifoff/mac_ifoff.c +++ b/sys/security/mac_ifoff/mac_ifoff.c @@ -49,11 +49,14 @@ #include <sys/param.h> #include <sys/kernel.h> #include <sys/module.h> +#include <sys/mbuf.h> #include <sys/socket.h> #include <sys/sysctl.h> -#include <net/bpfdesc.h> +#include <net/if.h> +#include <net/if_var.h> #include <net/if_types.h> +#include <net/bpfdesc.h> #include <security/mac/mac_policy.h> |