diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-10-26 17:58:36 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-10-26 17:58:36 +0000 |
commit | 76039bc84fae9915788b54ff28fe0cc4876952d2 (patch) | |
tree | a240090af1fb905058b17619590afe813e33e891 | |
parent | 258dbffe6ea9eeeb1e1c0ac5d787ba02589d82b5 (diff) | |
download | src-76039bc84fae9915788b54ff28fe0cc4876952d2.tar.gz src-76039bc84fae9915788b54ff28fe0cc4876952d2.zip |
Notes
326 files changed, 409 insertions, 7 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 28b683a9d534..c3e5b141f426 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 2a4016a30553..0600f91221a1 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 d0a05e14014a..f1e4cd88b394 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 bc13b2f55a11..f3ba70084119 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 b989630a05b3..2a2b38b0fcb9 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 f10763b651f6..cd7ed5481de9 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 72391210a4f0..3055d7732e97 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 2ee9513009c6..9886e9b336f8 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 b5eb59756c4b..591a24abd5ed 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 b2a13df8447a..dbd5a7c8d453 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 36b20420c6c7..c980a7990ede 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 b3f82fa9509c..3df2ccd324f3 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 6e58896bef53..49fd9efb33e4 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 11b0426ff8cd..f721de64c93d 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 fff6f3b93efd..9d7762227506 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 6c2749f173b3..a9e6df0e46e8 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 4ae81a3c9809..961b83429c1f 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 d9e212bf2aca..5c30a46cbef2 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 2be8627ace22..e072fc22e89f 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 5cfb1a98d14b..e4afdaefbbb8 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 0a5719a24a12..f1b6dd264c18 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 c075d01849a1..3ea70e359a07 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 d76d51458bf5..1d4c91075da9 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 5498dd5c5ed6..3405d4a34315 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 be7e2a4053bf..1e22d5625f66 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 6b2ceb42330e..9deb2fbe6985 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 cce5ee387e59..8db158343176 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 30b19fcc2e61..849bf022f1d4 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 86c7f4f74de3..1057a83dcb9a 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 c10887ee66c1..cd0723a6a3d8 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 25b5f2bc16d4..c43eed786778 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 346558eac439..3c350488369b 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 933e8307d4c2..e7174ebd189e 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 1bb3f093048c..55b0ee81ddb8 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 4f38a254b2cd..08d615f4afa1 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 3f1a550693c2..899f33f38dc5 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 f7ceae601354..e0e8e42fa2b1 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 e5f86b123ec0..ec5f04212804 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 c89760abcfaf..b6a3d3b91f63 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 4956e4e65d43..958faa54de84 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 2abc4531af87..27112d5032fe 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 8b368065a352..6aaacd365533 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 81e2f5ad9db9..6ccf6e3774a3 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 801ab902496c..d0391f137e1d 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 a05f2ed4f33b..cb5fcda8c594 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 2c8d1ca250de..65c6e9438bae 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 98e721da2cb5..141f250f9bfa 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 ace5542c5014..5e8886bec43c 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 16e1d6f565bd..c8fbefb527bb 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 07a9d3e76db4..a03aa51b10cf 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 57e88a48c1fb..e8d53f0e8348 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 a84fc758f0b3..7166d90517a6 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 152b863698a7..491c134a8acf 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 12b59c372c1c..1c9d4bb22081 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 780f5f332253..78f5dea5b9df 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 695630756206..c5753caf8f36 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 3886c9e4137d..d164dc49f943 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 ee12b201b97a..18813e7af901 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 183c5f484227..863c545fae76 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 3d73c9c5c147..abca42781d8a 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 a91a3cc2dcd4..e85ee5f580c0 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 abd8e79750d4..b6b4e13db2a3 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 5883b6bc54b5..e7d6fa63c30c 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 ee101c641cab..b7c644eaa729 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 615cb07bbbef..e6abebdab527 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 7010bc9c7ff3..e98f44e237a3 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 1896d90af285..52366c78730a 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 587f3fd62555..07ed8caa5995 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 4aa9c6d34f1f..f94aca2b3ebc 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 b8ad577316a2..c022724f4daa 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 697dd2bdcc5d..5220fe511d89 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 5e37b5dc75ea..154a2d60943f 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 b79b2fcd7c02..bf17294df211 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 455dbb4db327..8e03e9d55cb6 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 1249dc4a2e13..2510d5fb612c 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 d114fd8f6da8..79cb31ba5857 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 e945a060c5e5..67ebe6c2024b 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 01388c90cd6f..48e1cbb684ef 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 a5a7b5ea5381..ea7c988a4ae2 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 a71b5da92554..5b25dda46129 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 21fac0de53b1..a9a8d67aabde 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 530cf648e7a6..644a12ced820 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 28fa0fd10af5..42391243011c 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 fe1c6436dca8..97776cd342fb 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 2e9ffd51d4bc..f2f5118b1363 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 4e88db79a86f..e42dc1deca75 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 77b72edbd3fe..ab3cc9f86bf3 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 096819c38d30..79d84b62f649 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 9bdb229807dc..c3f6bf4b91c9 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 e2cc30e23716..bb8cbb2cc3ea 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 5fc763d01099..7f03e8baffcf 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 d42aca1de3a3..766fdae392ab 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 9f298de0d7ad..5f1288975652 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 de9c39d01a45..0a4eb28768e3 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 d244b9860817..93f511fe3219 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 2f89aadad480..88c4f0d2cffa 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 bba3f63e7961..e603cff045d8 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 526062b573b5..e2e2a28b7b8c 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 bf669620b129..5c19f19c8a8d 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 d4d00dc95f3c..8527cd67e380 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 c7064f555d46..530b01c716ba 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 a487d901ee69..f657d81da5fb 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 139eb899a7bd..f868cfafeba2 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 6c87a2a61be2..e91f50ad2c53 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 6f680c38ea24..d95feb32a136 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 839cfb6ad748..10147fcb8f7c 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 df1b9ec1260d..9fa2cfe22b5d 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 87d57b4d9de0..3ee4a4a87024 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 7c0eefa8339b..a09eeea151ff 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 97b6b955c961..d93fd008162e 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 12ef9958c1da..864fff5bfd55 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 2ed466d81f2b..c12bd760593e 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 f739b9cfa4a4..06a58c34b1c8 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 f17657d02691..1b4384496b9e 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 a9cff3c22fdb..cd04b38899d3 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 3fe88add845d..1701454d9620 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 02bb9ca5ab6f..78eeef912cd5 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 00e42b0edec7..b359b5253456 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 60fc21283929..dbc5183fe894 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 7c1b9de490f2..846d1797e38d 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 70c30f13c4df..4c1dc565a2ae 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 3bdd01dc82c8..300ffc8d9404 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 381fa87382ae..7f399356af42 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 ce2b7a9b0221..0cd19a3fb81e 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 dc1b6eb56474..e3d0faf79222 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 7280801bcf67..8fb0a6216b01 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 18428cf523a9..8f2c7bbc299a 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 2d3e042ace44..d73d15019bf8 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 8482bb27486f..20c14289111e 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 55bb7ca08e9d..7b0fc88e5035 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 3a0cc2e5059d..62a0ef49038d 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 f6df3503d168..0ce595f67a60 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 fc26d239dda5..7cc856439c73 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 be2e8b2f2d00..107d77a24cdb 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 3cc45b35051f..8a6f7b0ed82c 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 36cf0477ca1a..c201029bc7dc 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 30969e2aef15..754c9455a820 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 804177685823..1e39ceba394f 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 66f54802a4fe..1c73aca5d808 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 bc6f016ef633..b0dd09c2e7c6 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 1681a2a38b42..e9d664696b13 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 ac6c2302a787..e4f3153c82fb 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 6649bc02f537..5ed162593f8f 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 6414e7ac5f2a..5b06bc4c2a5d 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 ec0c5f0889b3..7410dbea76e4 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 050bf3853472..b3e541370a80 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 17f82b09f3d9..f37ae1c6a028 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 4fd39cc48cff..418776030daa 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 9ca1ad619018..19093184c68c 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 c9d97577d2b3..40d743942514 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 2f1795915d80..1d3ae6e44ea7 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 121105b2b27e..650f666d0f50 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 30cdbe93549a..048780ed75aa 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 fa4e9f1236e9..c863b943d4ce 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 0dbb8c68c000..e5e6fbfc690e 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 f238d0df4fd8..836f0a41c865 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 eff792222faa..ec32b27599b7 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 f3fa1ca20931..46e364ef42c2 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 184317bd3eb5..fb11c2d487fa 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 5f61cde9a887..c0d7f4bb70a1 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 3d3f2695013c..6617c8d7d9bd 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 cdd67e0bedd3..993323a645e4 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 3276ae2ced1a..8bbecfe07c29 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 21f094795562..505b63173d98 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 00e726909ff9..0a1d7df2001f 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 dfc06e53609a..4c92fa43f299 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 acb9c2fb3123..afbaee781837 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 38037fa69682..72fff6aed21a 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 f96441c5e4d8..a126d4a4df8f 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 c9bf2e069b16..ac6d8c09bb92 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 382a3a34e6c4..2f199c84c91e 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 30cdbc40ed95..198c599ef54a 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 c6db4b9f15ae..303e57fb4846 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 465c140d1d86..0b51fece7685 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 855c8c166433..5399d28c07ac 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 90bc0c02cef5..8c3846091a39 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 cec50a65709c..a34ddd3f60ad 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 331b0e1a9437..fc084e0081bb 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 8e53fd1e4ace..19c76a970d83 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 6a766afa9715..0fc26df67483 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 cb3ed2716a5e..add10bf3469c 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 07cf2199f7d7..bd5ef9f906e6 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 8dbadd447711..c32ee8170eda 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 2f9478582d11..49c2dd3de685 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 d6190ec9fcd3..8bf8534bc851 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 fcb71313047f..87e9ccd93310 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 16a1e7b02f44..2afecfe644ee 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 b54cfaecc50d..3ee1c6d864af 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 fc6402c137d7..887c9120e30a 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 dcb82f5d8f1b..fc78769ba54e 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 42a8a7a77255..03e379bd012c 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 26e6edb58937..0564d7a9de82 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 37a53bbeb8f3..277e54e2dcbf 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 4f54dcb6780d..2f03bb7e5feb 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 31fc2a949bf3..5f0f9238794c 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 dfc2697e9af1..e39c1df5d3c5 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 98090e548596..3176348d265d 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 5975b282302b..825b220a1311 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 499cd2c06f8e..64f9209d1fd7 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 97a2d4028466..aa6e6e5acb74 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 b5e24f6802d2..a1518492c269 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 9fe713c38910..b24ea73d3317 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 2c347398be66..e0bec252ce1e 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 62005a3a9ddb..6b93408f58f3 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 262d6d2f9a6c..ddef6f90d207 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 b7f119715fc5..06b4038c924e 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 44373ee14bf5..2494deae2052 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 55efd944b38f..a64c669fda6f 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 e92eb8937027..e7d1d99a59ca 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 db505abd2dcc..6ba0984cd136 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 a36df7c8b0b4..e37863ee12fb 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 ecf3a8793bf7..e40a238d6140 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 018ddc271194..b650136c05be 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 003b4bc7ae4d..c745b05bf5b2 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 6f7dabf3b72c..74e82e545135 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 82e525d523ce..af50cb5bc3c6 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 8c97f1e2b889..ab5b26eca825 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 93a9b27024b2..91c58abf35f2 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 7f41b279abbc..b39f71dc24a7 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 5e956461ce83..6ea4f9bfcce8 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 6b668cb2c910..72d6dd1f7a43 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 1d03c1a820b0..d18483ea0565 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 e32408172fea..f52b0fb0763c 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 41692558fd93..9fc4cd4d3157 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 925adc4a9b92..c5460ecb52a3 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 4542ec59da0e..3fd16cf5d648 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 ca91b4dabf0b..751c44d73971 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 f06f7e019a5d..6c73e02c72b5 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 6bc5e0d388b3..e7efb7ec9409 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 c24b63179298..408473089926 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 c791ea1ef99e..75abb2b0de65 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 8e0cb06e6ef6..e0dfaeafff6a 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 8d4f76fddd4c..0cd418001dae 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 efceb32103e9..67e2bd505819 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 f78fc86e8477..6ea785715219 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 2b53de46e759..2eb02738672f 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 6be8f4e1364e..9d9078ee4086 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 2e541588b9b9..e675fdc895b7 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 f230616a5dbd..56947a644e5c 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 becfea160ed7..57db73e60c3d 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 f937557fa798..a9780dd63fd1 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 0f471bb88fe6..2353774441b0 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 b7c1f5671804..569db15a1f82 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 6c18d2a1cc16..e2d345435c9a 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 8c777980d3c2..7863a6757659 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 4ad89ec6fc9e..44db053ca447 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 4816678ed2ff..e2b71a8b501c 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 9660edc42d9c..73ad03798acf 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 9f31a191c750..4e2294824bbd 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 45c86190107d..6559454320c8 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 8022c69a9ffb..18d23ebb1546 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 eb15a38cc1c3..1f4d56fa8341 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 b7dc82a29ea5..733aa4df1a16 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 d09805d58cde..71e5fb203e98 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 a170e34d32d8..b6d14bc1c7f9 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 e698035669cf..884a5ba153b9 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 776820f5db81..e4a84ceac963 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 deabf44f7a9e..aa7b262547d5 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 526a6de7cc3d..ee93d9f96c2d 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 3a03defe04cd..dfc545ee3370 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 6880a5c14c35..1ee18aa152f2 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 eddc69e21f65..44bfab276ded 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 3a53aa448d14..d53323529890 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 c3eecef685e6..0f785f97806a 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 b77241818206..683e2121c170 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 5fd29b831c4c..cc87c88f1cbb 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 440bd641a6cc..bc9c6796b038 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 5d37b504707f..d1eb695c33a4 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 1c27d7a02187..29d9d5310124 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 7e6128b46fdb..f8c3f45c606b 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 88755e739dd3..da592f82e79c 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 de4957de78cf..fe115c3d34bf 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 b6a33e03726b..2b95fd9d0118 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 e67d2919252a..dd0889613580 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 de9d2fe42c04..a50b5cfd7cc6 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 7fdaf16305a2..53188f143a41 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 a6134d179ffa..2ee0cae1a460 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 fca48b5c6d60..16ac88c4893e 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 fb84279c8e6f..848f3c6c6613 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 965de60fd8be..a6032391f29b 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 88ecc146cf95..e90c74bd1b68 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 7590fa1e4d97..000c246ce5d7 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 2cc274167be3..05d96e753641 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 5404c9549c0b..452158320210 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 8cdd43143d20..678f1dfc7c08 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 6a5fb88d86b8..076131309984 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 143746420f59..166c1bc8ade0 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 77b19bfb9807..ddc6eea0cf04 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 e76121d3d4b1..ccfef575c5b2 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 0c8b58765954..55240d9e1d3f 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 a37dfc5900d0..57f7e901acec 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 b6bec8d81797..5f224375e57d 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 b6479a1041ee..3284a7dd9fd8 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 7df0db753778..469d53a6e0e3 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 4a22f3218784..de367f7dd5ca 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 23a4a5ccfaa2..859b7ee70c1e 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 19b27ec23c78..4ef5ca2789a7 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 35385e55fc1d..0cc35dd18c20 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 1d2aff2e4f6c..d2537d26e58d 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 d8ecf4c9a229..987a267bf45f 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 9d44ec55e5b8..df277fb003fc 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 25bbedf40bbc..e6223574f1e0 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 92a58bd40370..61510bbc2a6d 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 31b781c9f65f..f2f96eb2a1de 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 c61165015536..56b8539941a6 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 16ceab12a43a..602d438ea51e 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 128afad3ad6e..fdfc49d6baad 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 b0456d37f986..73fddc612c26 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 b1e6dffd61c2..13aa3e43c8ac 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 155eddd4cf10..237b560978ea 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 1efd5e2b4fe6..30e345724bb0 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 982f85635741..471be3e2dd8e 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 2de8c40fa4eb..4edbee8fbf1f 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 91fbeb86fec5..41acc7dd477f 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 2b0f2cd8f063..1c5082a31d93 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 f870bf467350..589c1280bb09 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 b20a64e224eb..55a7d105879f 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 7b84f94cd0f8..d85851a63da4 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 7a26aa20aff1..cf63c5ef3eed 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 69ff21dc4990..d703a8af754b 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 85003b7b1be5..123bbbab4caa 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 768833de6dd8..7d5e17550c1e 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 a1ccdff0f957..2ba1a89c9beb 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 4b5454a517b1..f02deadf6c46 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 4f91d1fa664a..41f91a315e64 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 acfbd255e6fc..7165f905c83d 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> |