summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-06-08 19:57:35 +0000
committerbz <bz@FreeBSD.org>2009-06-08 19:57:35 +0000
commitb7ff2bdc204ec5e815f8123552bb0bee31638f8e (patch)
tree536b4d1a8634a3cd973f0d7a5ca23ef93ec76029 /sys
parent76bed24408b9f5914c9baaeb5a369e4495450a5c (diff)
downloadFreeBSD-src-b7ff2bdc204ec5e815f8123552bb0bee31638f8e.zip
FreeBSD-src-b7ff2bdc204ec5e815f8123552bb0bee31638f8e.tar.gz
After r193232 rt_tables in vnet.h are no longer indirectly dependent on
the ROUTETABLES kernel option thus there is no need to include opt_route.h anymore in all consumers of vnet.h and no longer depend on it for module builds. Remove the hidden include in flowtable.h as well and leave the two explicit #includes in ip_input.c and ip_output.c.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linprocfs/linprocfs.c1
-rw-r--r--sys/compat/linux/linux_ioctl.c1
-rw-r--r--sys/compat/svr4/svr4_sockio.c2
-rw-r--r--sys/contrib/altq/altq/altq_subr.c1
-rw-r--r--sys/contrib/pf/net/pf_if.c1
-rw-r--r--sys/contrib/pf/net/pf_ioctl.c1
-rw-r--r--sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c2
-rw-r--r--sys/kern/kern_poll.c1
-rw-r--r--sys/kern/kern_uuid.c2
-rw-r--r--sys/modules/bridgestp/Makefile2
-rw-r--r--sys/modules/cxgb/iw_cxgb/Makefile2
-rw-r--r--sys/modules/if_ef/Makefile2
-rw-r--r--sys/modules/if_vlan/Makefile2
-rw-r--r--sys/modules/ip_mroute_mod/Makefile2
-rw-r--r--sys/modules/ipfw/Makefile2
-rw-r--r--sys/modules/linprocfs/Makefile3
-rw-r--r--sys/modules/linux/Makefile2
-rw-r--r--sys/modules/netgraph/atm/atm/Makefile2
-rw-r--r--sys/modules/netgraph/ether/Makefile2
-rw-r--r--sys/modules/netgraph/gif/Makefile2
-rw-r--r--sys/modules/nfsclient/Makefile2
-rw-r--r--sys/modules/pf/Makefile2
-rw-r--r--sys/modules/svr4/Makefile2
-rw-r--r--sys/modules/wlan/Makefile3
-rw-r--r--sys/net/bridgestp.c2
-rw-r--r--sys/net/flowtable.h2
-rw-r--r--sys/net/if.c1
-rw-r--r--sys/net/if_ef.c1
-rw-r--r--sys/net/if_ethersubr.c1
-rw-r--r--sys/net/if_loop.c1
-rw-r--r--sys/net/if_mib.c2
-rw-r--r--sys/net/if_vlan.c1
-rw-r--r--sys/net/raw_cb.c2
-rw-r--r--sys/net/raw_usrreq.c2
-rw-r--r--sys/net/rtsock.c1
-rw-r--r--sys/net80211/ieee80211_ddb.c1
-rw-r--r--sys/netgraph/atm/ng_atm.c2
-rw-r--r--sys/netgraph/ng_ether.c2
-rw-r--r--sys/netgraph/ng_gif.c2
-rw-r--r--sys/netinet/if_ether.c1
-rw-r--r--sys/netinet/igmp.c2
-rw-r--r--sys/netinet/in.c1
-rw-r--r--sys/netinet/in_mcast.c2
-rw-r--r--sys/netinet/in_proto.c1
-rw-r--r--sys/netinet/in_rmx.c2
-rw-r--r--sys/netinet/ipfw/ip_fw2.c1
-rw-r--r--sys/netinet/raw_ip.c1
-rw-r--r--sys/netinet/sctp_os_bsd.h1
-rw-r--r--sys/netinet6/icmp6.c1
-rw-r--r--sys/netinet6/in6.c1
-rw-r--r--sys/netinet6/in6_ifattach.c2
-rw-r--r--sys/netinet6/in6_mcast.c1
-rw-r--r--sys/netinet6/in6_proto.c1
-rw-r--r--sys/netinet6/in6_rmx.c2
-rw-r--r--sys/netinet6/ip6_input.c1
-rw-r--r--sys/netinet6/ip6_mroute.c1
-rw-r--r--sys/netinet6/ip6_output.c1
-rw-r--r--sys/netinet6/nd6.c1
-rw-r--r--sys/netinet6/nd6_rtr.c1
-rw-r--r--sys/netinet6/raw_ip6.c1
-rw-r--r--sys/netinet6/scope6.c2
-rw-r--r--sys/netipsec/keysock.c1
-rw-r--r--sys/netipsec/xform_ipip.c1
-rw-r--r--sys/nfsclient/bootp_subr.c1
-rw-r--r--sys/nfsclient/nfs_diskless.c1
65 files changed, 15 insertions, 84 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index 52f6e94..7f89e41 100644
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -39,7 +39,6 @@
* @(#)procfs_status.c 8.4 (Berkeley) 6/15/94
*/
-#include "opt_route.h"
#include "opt_compat.h"
#include <sys/cdefs.h>
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index f0a7559..685979e 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -26,7 +26,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "opt_route.h"
#include "opt_compat.h"
#include <sys/cdefs.h>
diff --git a/sys/compat/svr4/svr4_sockio.c b/sys/compat/svr4/svr4_sockio.c
index bd4944e..2f3f6ec 100644
--- a/sys/compat/svr4/svr4_sockio.c
+++ b/sys/compat/svr4/svr4_sockio.c
@@ -29,8 +29,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
diff --git a/sys/contrib/altq/altq/altq_subr.c b/sys/contrib/altq/altq/altq_subr.c
index 17557c1..ef09145 100644
--- a/sys/contrib/altq/altq/altq_subr.c
+++ b/sys/contrib/altq/altq/altq_subr.c
@@ -32,7 +32,6 @@
#include "opt_inet.h"
#ifdef __FreeBSD__
#include "opt_inet6.h"
-#include "opt_route.h"
#endif
#endif /* __FreeBSD__ || __NetBSD__ */
diff --git a/sys/contrib/pf/net/pf_if.c b/sys/contrib/pf/net/pf_if.c
index 31a4313..b1bc9bd 100644
--- a/sys/contrib/pf/net/pf_if.c
+++ b/sys/contrib/pf/net/pf_if.c
@@ -35,7 +35,6 @@
#if defined(__FreeBSD__)
#include "opt_inet.h"
#include "opt_inet6.h"
-#include "opt_route.h"
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/sys/contrib/pf/net/pf_ioctl.c b/sys/contrib/pf/net/pf_ioctl.c
index cb4533b..713ad9c 100644
--- a/sys/contrib/pf/net/pf_ioctl.c
+++ b/sys/contrib/pf/net/pf_ioctl.c
@@ -41,7 +41,6 @@ __FBSDID("$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 dc75168..417a211 100644
--- a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c
+++ b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c
@@ -29,8 +29,6 @@ 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>
diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c
index fbe9027..760dada 100644
--- a/sys/kern/kern_poll.c
+++ b/sys/kern/kern_poll.c
@@ -28,7 +28,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_route.h"
#include "opt_device_polling.h"
#include <sys/param.h>
diff --git a/sys/kern/kern_uuid.c b/sys/kern/kern_uuid.c
index eec37ef..628ef3a 100644
--- a/sys/kern/kern_uuid.c
+++ b/sys/kern/kern_uuid.c
@@ -27,8 +27,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/endian.h>
#include <sys/kernel.h>
diff --git a/sys/modules/bridgestp/Makefile b/sys/modules/bridgestp/Makefile
index e27bbc3e..3cfc6e3 100644
--- a/sys/modules/bridgestp/Makefile
+++ b/sys/modules/bridgestp/Makefile
@@ -3,6 +3,6 @@
.PATH: ${.CURDIR}/../../net
KMOD= bridgestp
-SRCS= bridgestp.c opt_route.h
+SRCS= bridgestp.c
.include <bsd.kmod.mk>
diff --git a/sys/modules/cxgb/iw_cxgb/Makefile b/sys/modules/cxgb/iw_cxgb/Makefile
index e7f0523..2cf2ef8 100644
--- a/sys/modules/cxgb/iw_cxgb/Makefile
+++ b/sys/modules/cxgb/iw_cxgb/Makefile
@@ -8,7 +8,7 @@ SRCS= iw_cxgb.c iw_cxgb_cm.c iw_cxgb_hal.c
SRCS+= iw_cxgb_provider.c iw_cxgb_qp.c iw_cxgb_resource.c
SRCS+= iw_cxgb_ev.c iw_cxgb_mem.c iw_cxgb_dbg.c iw_cxgb_cq.c
SRCS+= bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h
-SRCS+= opt_inet.h opt_route.h
+SRCS+= opt_inet.h
CFLAGS+= -g -I${CXGB}
#CFLAGS+= -DDEBUG
diff --git a/sys/modules/if_ef/Makefile b/sys/modules/if_ef/Makefile
index 79a0081..dc40213 100644
--- a/sys/modules/if_ef/Makefile
+++ b/sys/modules/if_ef/Makefile
@@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../net
KMOD= if_ef
-SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h opt_route.h
+SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h
.if defined(EFDEBUG)
CFLAGS+= -DEF_DEBUG
diff --git a/sys/modules/if_vlan/Makefile b/sys/modules/if_vlan/Makefile
index 65ed060..9842619 100644
--- a/sys/modules/if_vlan/Makefile
+++ b/sys/modules/if_vlan/Makefile
@@ -4,6 +4,6 @@
KMOD= if_vlan
SRCS= if_vlan.c
-SRCS+= opt_inet.h opt_vlan.h opt_route.h
+SRCS+= opt_inet.h opt_vlan.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/ip_mroute_mod/Makefile b/sys/modules/ip_mroute_mod/Makefile
index d3dcc7e..df5424b 100644
--- a/sys/modules/ip_mroute_mod/Makefile
+++ b/sys/modules/ip_mroute_mod/Makefile
@@ -7,7 +7,7 @@
KMOD= ip_mroute
SRCS= ip_mroute.c
-SRCS+= opt_inet.h opt_mrouting.h opt_route.h
+SRCS+= opt_inet.h opt_mrouting.h
.if !defined(KERNBUILDDIR)
opt_inet.h:
diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile
index e99c9eb..dd31d7e 100644
--- a/sys/modules/ipfw/Makefile
+++ b/sys/modules/ipfw/Makefile
@@ -6,7 +6,7 @@
KMOD= ipfw
SRCS= ip_fw2.c ip_fw_pfil.c
-SRCS+= opt_inet6.h opt_ipsec.h opt_route.h
+SRCS+= opt_inet6.h opt_ipsec.h
CFLAGS+= -DIPFIREWALL
CFLAGS+= -I${.CURDIR}/../../contrib/pf
diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile
index 62af13e..f0f00cb 100644
--- a/sys/modules/linprocfs/Makefile
+++ b/sys/modules/linprocfs/Makefile
@@ -6,8 +6,7 @@ KMOD= linprocfs
SRCS= vnode_if.h \
device_if.h bus_if.h \
linprocfs.c \
- opt_compat.h \
- opt_route.h
+ opt_compat.h
.if ${MACHINE_ARCH} == "amd64"
CFLAGS+=-DCOMPAT_LINUX32
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 7b49161..a24b6b2 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -13,7 +13,7 @@ SRCS= linux${SFX}_dummy.c linux_emul.c linux_file.c \
linux${SFX}_machdep.c linux_mib.c linux_misc.c linux_signal.c \
linux_socket.c linux_stats.c linux_sysctl.c linux${SFX}_sysent.c \
linux${SFX}_sysvec.c linux_uid16.c linux_util.c linux_time.c \
- opt_inet6.h opt_route.h opt_compat.h opt_posix.h vnode_if.h \
+ opt_inet6.h opt_compat.h opt_posix.h vnode_if.h \
device_if.h bus_if.h assym.s
# XXX: for assym.s
diff --git a/sys/modules/netgraph/atm/atm/Makefile b/sys/modules/netgraph/atm/atm/Makefile
index fff3230b..ebd94e1 100644
--- a/sys/modules/netgraph/atm/atm/Makefile
+++ b/sys/modules/netgraph/atm/atm/Makefile
@@ -5,7 +5,7 @@
.PATH: ${.CURDIR}/../../../../netgraph/atm
KMOD= ng_atm
-SRCS= ng_atm.c opt_route.h
+SRCS= ng_atm.c
# CFLAGS+= -DNGATM_DEBUG
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/ether/Makefile b/sys/modules/netgraph/ether/Makefile
index 49f2bb6..7a3950e 100644
--- a/sys/modules/netgraph/ether/Makefile
+++ b/sys/modules/netgraph/ether/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
KMOD= ng_ether
-SRCS= ng_ether.c opt_route.h
+SRCS= ng_ether.c
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/gif/Makefile b/sys/modules/netgraph/gif/Makefile
index 121cfa9..acf4373 100644
--- a/sys/modules/netgraph/gif/Makefile
+++ b/sys/modules/netgraph/gif/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
KMOD= ng_gif
-SRCS= ng_gif.c opt_inet.h opt_inet6.h opt_route.h
+SRCS= ng_gif.c opt_inet.h opt_inet6.h
.if !defined(KERNBUILDDIR)
opt_inet.h:
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile
index af02f6a..cab161f 100644
--- a/sys/modules/nfsclient/Makefile
+++ b/sys/modules/nfsclient/Makefile
@@ -7,7 +7,7 @@ SRCS= vnode_if.h \
nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \
nfs_vfsops.c nfs_vnops.c nfs_common.c nfs_krpc.c \
opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h
-SRCS+= opt_inet6.h opt_kdtrace.h opt_kgssapi.h opt_route.h
+SRCS+= opt_inet6.h opt_kdtrace.h opt_kgssapi.h
.if !defined(KERNBUILDDIR)
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile
index e293058..c921f80 100644
--- a/sys/modules/pf/Makefile
+++ b/sys/modules/pf/Makefile
@@ -9,7 +9,7 @@ KMOD= pf
SRCS = pf.c pf_if.c pf_subr.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \
pf_ruleset.c \
in4_cksum.c \
- opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_route.h
+ opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
CFLAGS+= -I${.CURDIR}/../../contrib/pf
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 819118f..5055098 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -9,7 +9,7 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h \
svr4_machdep.c svr4_resource.c svr4_ipc.c
OBJS= svr4_locore.o
-SRCS+= opt_ktrace.h opt_sysvipc.h opt_route.h
+SRCS+= opt_ktrace.h opt_sysvipc.h
CLEANFILES= svr4_assym.h svr4_genassym.o
diff --git a/sys/modules/wlan/Makefile b/sys/modules/wlan/Makefile
index bc39c29..c5c788a 100644
--- a/sys/modules/wlan/Makefile
+++ b/sys/modules/wlan/Makefile
@@ -10,8 +10,7 @@ SRCS= ieee80211.c ieee80211_crypto.c ieee80211_crypto_none.c ieee80211_dfs.c \
ieee80211_radiotap.c ieee80211_regdomain.c ieee80211_ht.c \
ieee80211_adhoc.c ieee80211_hostap.c ieee80211_monitor.c \
ieee80211_sta.c ieee80211_wds.c ieee80211_ddb.c
-SRCS+= bus_if.h device_if.h opt_inet.h opt_ipx.h opt_wlan.h opt_ddb.h \
- opt_route.h
+SRCS+= bus_if.h device_if.h opt_inet.h opt_ipx.h opt_wlan.h opt_ddb.h
.if !defined(KERNBUILDDIR)
opt_wlan.h:
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index 059e963..5007281 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -37,8 +37,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
diff --git a/sys/net/flowtable.h b/sys/net/flowtable.h
index 50f126a..c9a1f53 100644
--- a/sys/net/flowtable.h
+++ b/sys/net/flowtable.h
@@ -33,8 +33,6 @@ $FreeBSD$
#define _NET_FLOWTABLE_H_
#ifdef _KERNEL
-#include "opt_route.h"
-
#include <net/ethernet.h>
#include <netinet/in.h>
diff --git a/sys/net/if.c b/sys/net/if.c
index 35a5e0b..ba4cb1a 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -33,7 +33,6 @@
#include "opt_compat.h"
#include "opt_inet6.h"
#include "opt_inet.h"
-#include "opt_route.h"
#include "opt_carp.h"
#include <sys/param.h>
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c
index c919e9f..6d06c56 100644
--- a/sys/net/if_ef.c
+++ b/sys/net/if_ef.c
@@ -29,7 +29,6 @@
#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 02ff422..2bf4d34 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -34,7 +34,6 @@
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipx.h"
-#include "opt_route.h"
#include "opt_netgraph.h"
#include "opt_carp.h"
#include "opt_mbuf_profiling.h"
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index b0f22c8..82c68ff 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -38,7 +38,6 @@
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipx.h"
-#include "opt_route.h"
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/net/if_mib.c b/sys/net/if_mib.c
index 4caa40f..15b1e01 100644
--- a/sys/net/if_mib.c
+++ b/sys/net/if_mib.c
@@ -29,8 +29,6 @@
* $FreeBSD$
*/
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 562c586..3206e59 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -41,7 +41,6 @@
* and ask it to send them.
*/
-#include "opt_route.h"
#include "opt_vlan.h"
#include <sys/param.h>
diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c
index 408c2d2..4152731 100644
--- a/sys/net/raw_cb.c
+++ b/sys/net/raw_cb.c
@@ -31,8 +31,6 @@
* $FreeBSD$
*/
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/domain.h>
#include <sys/lock.h>
diff --git a/sys/net/raw_usrreq.c b/sys/net/raw_usrreq.c
index 1749c13..0d375cf 100644
--- a/sys/net/raw_usrreq.c
+++ b/sys/net/raw_usrreq.c
@@ -31,8 +31,6 @@
* $FreeBSD$
*/
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/lock.h>
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 751e0ae..2ea5eda 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -31,7 +31,6 @@
*/
#include "opt_sctp.h"
#include "opt_mpath.h"
-#include "opt_route.h"
#include "opt_inet.h"
#include "opt_inet6.h"
diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c
index 72304da..bf44c90 100644
--- a/sys/net80211/ieee80211_ddb.c
+++ b/sys/net80211/ieee80211_ddb.c
@@ -27,7 +27,6 @@
__FBSDID("$FreeBSD$");
#include "opt_ddb.h"
-#include "opt_route.h"
#include "opt_wlan.h"
#ifdef DDB
diff --git a/sys/netgraph/atm/ng_atm.c b/sys/netgraph/atm/ng_atm.c
index 88c8cf0..1b545c9 100644
--- a/sys/netgraph/atm/ng_atm.c
+++ b/sys/netgraph/atm/ng_atm.c
@@ -34,8 +34,6 @@
#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/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c
index b26aea2..679c4e9 100644
--- a/sys/netgraph/ng_ether.c
+++ b/sys/netgraph/ng_ether.c
@@ -46,8 +46,6 @@
* ng_ether(4) netgraph node type
*/
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/netgraph/ng_gif.c b/sys/netgraph/ng_gif.c
index 5b59fed..6f2657e 100644
--- a/sys/netgraph/ng_gif.c
+++ b/sys/netgraph/ng_gif.c
@@ -68,8 +68,6 @@
/*
* ng_gif(4) netgraph node type
*/
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index f0716d2..82b0cc0 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -39,7 +39,6 @@
__FBSDID("$FreeBSD$");
#include "opt_inet.h"
-#include "opt_route.h"
#include "opt_carp.h"
#include <sys/param.h>
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c
index bc33acd..3e58193 100644
--- a/sys/netinet/igmp.c
+++ b/sys/netinet/igmp.c
@@ -50,8 +50,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_route.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/module.h>
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index a656102..6f408eb 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -34,7 +34,6 @@
__FBSDID("$FreeBSD$");
#include "opt_carp.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 66151f0..d7cbd35 100644
--- a/sys/netinet/in_mcast.c
+++ b/sys/netinet/in_mcast.c
@@ -35,8 +35,6 @@
#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 7d811f7..d86cc19 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -36,7 +36,6 @@ __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 f798f9c..ceb139b 100644
--- a/sys/netinet/in_rmx.c
+++ b/sys/netinet/in_rmx.c
@@ -43,8 +43,6 @@
#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/ipfw/ip_fw2.c b/sys/netinet/ipfw/ip_fw2.c
index 760150a..0a45658 100644
--- a/sys/netinet/ipfw/ip_fw2.c
+++ b/sys/netinet/ipfw/ip_fw2.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#endif
#include "opt_inet6.h"
#include "opt_ipsec.h"
-#include "opt_route.h"
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 8063da1..43564a1 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$");
#include "opt_inet6.h"
#include "opt_ipsec.h"
-#include "opt_route.h"
#include <sys/param.h>
#include <sys/jail.h>
diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h
index faab253..db139d8 100644
--- a/sys/netinet/sctp_os_bsd.h
+++ b/sys/netinet/sctp_os_bsd.h
@@ -38,7 +38,6 @@ __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 e9ef879..e2fc21c 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -66,7 +66,6 @@ __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 921618e..9bb3d93 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -65,7 +65,6 @@ __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 1666bec..c5d0729 100644
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -32,8 +32,6 @@
#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_mcast.c b/sys/netinet6/in6_mcast.c
index 678dda0..4ea8e10 100644
--- a/sys/netinet6/in6_mcast.c
+++ b/sys/netinet6/in6_mcast.c
@@ -36,7 +36,6 @@
__FBSDID("$FreeBSD$");
#include "opt_inet6.h"
-#include "opt_route.h"
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index e4d280d..7602686 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -67,7 +67,6 @@ __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 4dbdad6..00f833a 100644
--- a/sys/netinet6/in6_rmx.c
+++ b/sys/netinet6/in6_rmx.c
@@ -75,8 +75,6 @@
#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 5166eb4..182b5af 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -66,7 +66,6 @@ __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 79abf1f..e7bec95 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -83,7 +83,6 @@ __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 7f6aae4..2755573 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -66,7 +66,6 @@ __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 96c6d01..ce5aa9c 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -34,7 +34,6 @@ __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/nd6_rtr.c b/sys/netinet6/nd6_rtr.c
index eab8951..2160e29 100644
--- a/sys/netinet6/nd6_rtr.c
+++ b/sys/netinet6/nd6_rtr.c
@@ -34,7 +34,6 @@ __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 43be628..8b5a05c 100644
--- a/sys/netinet6/raw_ip6.c
+++ b/sys/netinet6/raw_ip6.c
@@ -64,7 +64,6 @@ __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 b866cd9..9267230 100644
--- a/sys/netinet6/scope6.c
+++ b/sys/netinet6/scope6.c
@@ -32,8 +32,6 @@
#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 ec0fcf9..bb7cb00 100644
--- a/sys/netipsec/keysock.c
+++ b/sys/netipsec/keysock.c
@@ -31,7 +31,6 @@
*/
#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 4d97168..e395f1b 100644
--- a/sys/netipsec/xform_ipip.c
+++ b/sys/netipsec/xform_ipip.c
@@ -41,7 +41,6 @@
*/
#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 6f61abd..1d7a308 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -43,7 +43,6 @@
#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 26a27b9..ee0b022 100644
--- a/sys/nfsclient/nfs_diskless.c
+++ b/sys/nfsclient/nfs_diskless.c
@@ -35,7 +35,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_route.h"
#include "opt_bootp.h"
#include <sys/param.h>
OpenPOWER on IntegriCloud