diff options
49 files changed, 83 insertions, 8 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 606cd69..5cc1f7d 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -39,6 +39,7 @@ * @(#)procfs_status.c 8.4 (Berkeley) 6/15/94 */ +#include "opt_route.h" #include "opt_compat.h" #include <sys/cdefs.h> @@ -76,6 +77,7 @@ __FBSDID("$FreeBSD$"); #include <sys/vimage.h> #include <net/if.h> +#include <net/route.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 967ab71..55cf1b9 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -26,6 +26,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "opt_route.h" #include "opt_compat.h" #include <sys/cdefs.h> @@ -63,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_dl.h> #include <net/if_types.h> +#include <net/route.h> #include <net/vnet.h> #ifdef COMPAT_LINUX32 diff --git a/sys/compat/svr4/svr4_sockio.c b/sys/compat/svr4/svr4_sockio.c index 6ed4e69..bd4944e 100644 --- a/sys/compat/svr4/svr4_sockio.c +++ b/sys/compat/svr4/svr4_sockio.c @@ -29,6 +29,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/proc.h> #include <sys/systm.h> @@ -39,6 +41,7 @@ __FBSDID("$FreeBSD$"); #include <sys/vimage.h> #include <net/if.h> +#include <net/route.h> #include <net/vnet.h> #include <compat/svr4/svr4.h> diff --git a/sys/contrib/altq/altq/altq_subr.c b/sys/contrib/altq/altq/altq_subr.c index 807a6c7..b2715ad 100644 --- a/sys/contrib/altq/altq/altq_subr.c +++ b/sys/contrib/altq/altq/altq_subr.c @@ -32,6 +32,7 @@ #include "opt_inet.h" #ifdef __FreeBSD__ #include "opt_inet6.h" +#include "opt_route.h" #endif #endif /* __FreeBSD__ || __NetBSD__ */ @@ -54,7 +55,10 @@ #include <net/if.h> #include <net/if_dl.h> #include <net/if_types.h> +#ifdef __FreeBSD__ +#include <net/route.h> #include <net/vnet.h> +#endif #include <netinet/in.h> #include <netinet/in_systm.h> diff --git a/sys/contrib/pf/net/pf_if.c b/sys/contrib/pf/net/pf_if.c index 1972edc..31a4313 100644 --- a/sys/contrib/pf/net/pf_if.c +++ b/sys/contrib/pf/net/pf_if.c @@ -35,6 +35,7 @@ #if defined(__FreeBSD__) #include "opt_inet.h" #include "opt_inet6.h" +#include "opt_route.h" #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -61,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_types.h> #ifdef __FreeBSD__ +#include <net/route.h> #include <net/vnet.h> #endif diff --git a/sys/contrib/pf/net/pf_ioctl.c b/sys/contrib/pf/net/pf_ioctl.c index 6d509c5..e211c6a 100644 --- a/sys/contrib/pf/net/pf_ioctl.c +++ b/sys/contrib/pf/net/pf_ioctl.c @@ -36,14 +36,12 @@ */ #ifdef __FreeBSD__ -#include "opt_inet.h" -#include "opt_inet6.h" - #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#endif -#ifdef __FreeBSD__ +#include "opt_inet.h" +#include "opt_inet6.h" +#include "opt_route.h" #include "opt_bpf.h" #include "opt_pf.h" diff --git a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c index db1c406..dc75168 100644 --- a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c +++ b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c @@ -29,6 +29,8 @@ POSSIBILITY OF SUCH DAMAGE. #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -63,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_var.h> #if __FreeBSD_version >= 800056 +#include <net/route.h> #include <net/vnet.h> #endif diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index b8338e5..ca11177 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -28,6 +28,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" #include "opt_device_polling.h" #include <sys/param.h> @@ -44,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> /* for IFF_* flags */ #include <net/netisr.h> /* for NETISR_POLL */ +#include <net/route.h> #include <net/vnet.h> static void netisr_poll(void); /* the two netisr handlers */ diff --git a/sys/kern/kern_uuid.c b/sys/kern/kern_uuid.c index f8b547c..16105e9 100644 --- a/sys/kern/kern_uuid.c +++ b/sys/kern/kern_uuid.c @@ -27,6 +27,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/endian.h> #include <sys/kernel.h> @@ -42,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_dl.h> #include <net/if_types.h> +#include <net/route.h> #include <net/vnet.h> /* diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c index 7a75051..11a7fd6 100644 --- a/sys/net/bridgestp.c +++ b/sys/net/bridgestp.c @@ -37,6 +37,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/mbuf.h> @@ -56,6 +58,7 @@ __FBSDID("$FreeBSD$"); #include <net/if_types.h> #include <net/if_llc.h> #include <net/if_media.h> +#include <net/route.h> #include <net/vnet.h> #include <netinet/in.h> diff --git a/sys/net/if.c b/sys/net/if.c index 6966a51..7e8d90b 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -33,6 +33,7 @@ #include "opt_compat.h" #include "opt_inet6.h" #include "opt_inet.h" +#include "opt_route.h" #include "opt_mac.h" #include "opt_carp.h" diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c index 11e381e..4b2f923 100644 --- a/sys/net/if_ef.c +++ b/sys/net/if_ef.c @@ -29,6 +29,7 @@ #include "opt_inet.h" #include "opt_ipx.h" #include "opt_ef.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index e74bb74..df52f83 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -34,6 +34,7 @@ #include "opt_inet.h" #include "opt_inet6.h" #include "opt_ipx.h" +#include "opt_route.h" #include "opt_mac.h" #include "opt_netgraph.h" #include "opt_carp.h" diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 6ba0aff..d5548fc 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -38,6 +38,7 @@ #include "opt_inet.h" #include "opt_inet6.h" #include "opt_ipx.h" +#include "opt_route.h" #include "opt_mac.h" #include <sys/param.h> diff --git a/sys/net/if_mib.c b/sys/net/if_mib.c index ae9088d..143095a 100644 --- a/sys/net/if_mib.c +++ b/sys/net/if_mib.c @@ -29,6 +29,8 @@ * $FreeBSD$ */ +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -38,6 +40,7 @@ #include <net/if.h> #include <net/if_mib.h> +#include <net/route.h> #include <net/vnet.h> /* diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index bf037fb..dbaa8f8 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -41,6 +41,7 @@ * and ask it to send them. */ +#include "opt_route.h" #include "opt_vlan.h" #include <sys/param.h> @@ -64,6 +65,7 @@ #include <net/if_dl.h> #include <net/if_types.h> #include <net/if_vlan_var.h> +#include <net/route.h> #include <net/vnet.h> #define VLANNAME "vlan" diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c index 1dedff8..408c2d2 100644 --- a/sys/net/raw_cb.c +++ b/sys/net/raw_cb.c @@ -31,6 +31,8 @@ * $FreeBSD$ */ +#include "opt_route.h" + #include <sys/param.h> #include <sys/domain.h> #include <sys/lock.h> @@ -46,6 +48,7 @@ #include <net/if.h> #include <net/raw_cb.h> +#include <net/route.h> #include <net/vnet.h> /* diff --git a/sys/net/raw_usrreq.c b/sys/net/raw_usrreq.c index 79d3e30..1749c13 100644 --- a/sys/net/raw_usrreq.c +++ b/sys/net/raw_usrreq.c @@ -31,6 +31,8 @@ * $FreeBSD$ */ +#include "opt_route.h" + #include <sys/param.h> #include <sys/kernel.h> #include <sys/lock.h> @@ -48,6 +50,7 @@ #include <net/if.h> #include <net/raw_cb.h> +#include <net/route.h> #include <net/vnet.h> MTX_SYSINIT(rawcb_mtx, &rawcb_mtx, "rawcb", MTX_DEF); diff --git a/sys/net/vnet.h b/sys/net/vnet.h index d3ae5f3..b021608 100644 --- a/sys/net/vnet.h +++ b/sys/net/vnet.h @@ -33,10 +33,7 @@ #ifndef _NET_VNET_H_ #define _NET_VNET_H_ -#include "opt_route.h" - #include <net/if_var.h> -#include <net/route.h> struct vnet_net { int _if_index; diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c index bba45b8..09ea89c 100644 --- a/sys/net80211/ieee80211_ddb.c +++ b/sys/net80211/ieee80211_ddb.c @@ -27,6 +27,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" +#include "opt_route.h" #include "opt_wlan.h" #ifdef DDB @@ -44,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include <net/if_media.h> #include <net/if_types.h> #include <net/ethernet.h> +#include <net/route.h> #include <net/vnet.h> #include <net80211/ieee80211_var.h> diff --git a/sys/netgraph/atm/ng_atm.c b/sys/netgraph/atm/ng_atm.c index e5e1e2e..88c8cf0 100644 --- a/sys/netgraph/atm/ng_atm.c +++ b/sys/netgraph/atm/ng_atm.c @@ -34,6 +34,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -54,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <net/if_var.h> #include <net/if_media.h> #include <net/if_atm.h> +#include <net/route.h> #include <net/vnet.h> #include <netgraph/ng_message.h> diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c index c03befc..aaf4372 100644 --- a/sys/netgraph/ng_ether.c +++ b/sys/netgraph/ng_ether.c @@ -46,6 +46,8 @@ * ng_ether(4) netgraph node type */ +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -63,6 +65,7 @@ #include <net/if_var.h> #include <net/ethernet.h> #include <net/if_bridgevar.h> +#include <net/route.h> #include <net/vnet.h> #include <netgraph/ng_message.h> diff --git a/sys/netgraph/ng_gif.c b/sys/netgraph/ng_gif.c index 9a2d3b9..5b59fed 100644 --- a/sys/netgraph/ng_gif.c +++ b/sys/netgraph/ng_gif.c @@ -68,6 +68,7 @@ /* * ng_gif(4) netgraph node type */ +#include "opt_route.h" #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 4e7086a..385212c 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" +#include "opt_route.h" #include "opt_mac.h" #include "opt_carp.h" diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 3dacdcd..95e56b2 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include "opt_mac.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/netinet/in_mcast.c b/sys/netinet/in_mcast.c index 6f5dfe1..c43b328 100644 --- a/sys/netinet/in_mcast.c +++ b/sys/netinet/in_mcast.c @@ -39,6 +39,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index f3fbe0c..8957c3d 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include "opt_mrouting.h" #include "opt_ipsec.h" #include "opt_inet6.h" +#include "opt_route.h" #include "opt_pf.h" #include "opt_carp.h" #include "opt_sctp.h" diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c index fcb9c62..fd2b055 100644 --- a/sys/netinet/in_rmx.c +++ b/sys/netinet/in_rmx.c @@ -43,6 +43,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 618f5f7..f7608ac 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet6.h" #include "opt_ipsec.h" #include "opt_mac.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 4a169ff..dcf2825 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ipfw.h" #include "opt_ipstealth.h" #include "opt_ipsec.h" +#include "opt_route.h" #include "opt_mac.h" #include "opt_carp.h" diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 7ea8d7d..1c98546 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ipfw.h" #include "opt_inet.h" #include "opt_ipsec.h" +#include "opt_route.h" #include "opt_mac.h" #include "opt_mbuf_stress_test.h" #include "opt_mpath.h" diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 27f4b9c..8eb20cc 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet6.h" #include "opt_ipsec.h" +#include "opt_route.h" #include "opt_mac.h" #include <sys/param.h> diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h index fcaf715..468fcce 100644 --- a/sys/netinet/sctp_os_bsd.h +++ b/sys/netinet/sctp_os_bsd.h @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include "opt_compat.h" #include "opt_inet6.h" #include "opt_inet.h" +#include "opt_route.h" #include "opt_sctp.h" #include <sys/param.h> diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index 7bdd8a8..27159db 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" #include "opt_ipsec.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/domain.h> diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index 81a37f8..b75ffc5 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/errno.h> diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index ca5428d..4950549 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -32,6 +32,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 7090243..8908d67 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet6.h" #include "opt_ipsec.h" #include "opt_ipstealth.h" +#include "opt_route.h" #include "opt_carp.h" #include "opt_sctp.h" #include "opt_mpath.h" diff --git a/sys/netinet6/in6_rmx.c b/sys/netinet6/in6_rmx.c index 304e191..6df443d 100644 --- a/sys/netinet6/in6_rmx.c +++ b/sys/netinet6/in6_rmx.c @@ -75,6 +75,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index f120ec5..f094683 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" #include "opt_ipsec.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 9b85a16..18e7aca 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/callout.h> diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 2e2dc24..80f8130 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" #include "opt_ipsec.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/kernel.h> diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 225afc7..535f329 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" #include "opt_mac.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c index 2bf47d2..e71f025 100644 --- a/sys/netinet6/nd6_rtr.c +++ b/sys/netinet6/nd6_rtr.c @@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index da781a0..bce1b14 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ipsec.h" #include "opt_inet6.h" +#include "opt_route.h" #include <sys/param.h> #include <sys/errno.h> diff --git a/sys/netinet6/scope6.c b/sys/netinet6/scope6.c index 3dde09a..9611deb 100644 --- a/sys/netinet6/scope6.c +++ b/sys/netinet6/scope6.c @@ -32,6 +32,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" + #include <sys/param.h> #include <sys/malloc.h> #include <sys/mbuf.h> diff --git a/sys/netipsec/keysock.c b/sys/netipsec/keysock.c index 5fb7fd5..6117f65 100644 --- a/sys/netipsec/keysock.c +++ b/sys/netipsec/keysock.c @@ -31,6 +31,7 @@ */ #include "opt_ipsec.h" +#include "opt_route.h" /* This code has derived from sys/net/rtsock.c on FreeBSD2.2.5 */ diff --git a/sys/netipsec/xform_ipip.c b/sys/netipsec/xform_ipip.c index 7b8b92b..cbc447c 100644 --- a/sys/netipsec/xform_ipip.c +++ b/sys/netipsec/xform_ipip.c @@ -41,6 +41,7 @@ */ #include "opt_inet.h" #include "opt_inet6.h" +#include "opt_route.h" #include "opt_enc.h" #include <sys/param.h> diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index 6f1014d..f9bc5bf 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/bootp_subr.c @@ -43,6 +43,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" #include "opt_bootp.h" #include <sys/param.h> diff --git a/sys/nfsclient/nfs_diskless.c b/sys/nfsclient/nfs_diskless.c index 0259790..d6d6b21 100644 --- a/sys/nfsclient/nfs_diskless.c +++ b/sys/nfsclient/nfs_diskless.c @@ -35,6 +35,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_route.h" #include "opt_bootp.h" #include <sys/param.h> @@ -50,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <net/if_types.h> #include <net/if_var.h> #include <net/ethernet.h> +#include <net/route.h> #include <net/vnet.h> #include <netinet/in.h> |