diff options
author | bz <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
commit | 604d89458ab94ec81eaefa2d55ef219cba461e31 (patch) | |
tree | e9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/netinet6/ip6_output.c | |
parent | 94db7634b6344ba280905cbac5c04f1f92b41457 (diff) | |
download | FreeBSD-src-604d89458ab94ec81eaefa2d55ef219cba461e31.zip FreeBSD-src-604d89458ab94ec81eaefa2d55ef219cba461e31.tar.gz |
Rather than using hidden includes (with cicular dependencies),
directly include only the header files needed. This reduces the
unneeded spamming of various headers into lots of files.
For now, this leaves us with very few modules including vnet.h
and thus needing to depend on opt_route.h.
Reviewed by: brooks, gnn, des, zec, imp
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r-- | sys/netinet6/ip6_output.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index fb7162f..6e5d0d0 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -84,6 +84,7 @@ __FBSDID("$FreeBSD$"); #include <net/netisr.h> #include <net/route.h> #include <net/pfil.h> +#include <net/vnet.h> #include <netinet/in.h> #include <netinet/in_var.h> @@ -94,6 +95,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/in_pcb.h> #include <netinet/tcp_var.h> #include <netinet6/nd6.h> +#include <netinet/vinet.h> #ifdef IPSEC #include <netipsec/ipsec.h> @@ -104,6 +106,7 @@ __FBSDID("$FreeBSD$"); #include <netinet6/ip6protosw.h> #include <netinet6/scope6_var.h> +#include <netinet6/vinet6.h> static MALLOC_DEFINE(M_IP6MOPTS, "ip6_moptions", "internet multicast options"); |