diff options
author | brian <brian@FreeBSD.org> | 2000-01-24 20:39:02 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-01-24 20:39:02 +0000 |
commit | 26fcba4c5a7ef6f95d130417d6ee6470eb0c7263 (patch) | |
tree | e9ac1c6bbc9bf92fe70fb1e226ece21e411aa386 /sys/netinet6/ip6_input.c | |
parent | ff67a728896198b2e1e203c6b280755f7bdcd480 (diff) | |
download | FreeBSD-src-26fcba4c5a7ef6f95d130417d6ee6470eb0c7263.zip FreeBSD-src-26fcba4c5a7ef6f95d130417d6ee6470eb0c7263.tar.gz |
Move the *intrq variables into net/intrq.c and unconditionally
include this in all kernels. Declare some const *intrq_present
variables that can be checked by a module prior to using *intrq
to queue data.
Make the if_tun module capable of processing atm, ip, ip6, ipx,
natm and netatalk packets when TUNSIFHEAD is ioctl()d on.
Review not required by: freebsd-hackers
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r-- | sys/netinet6/ip6_input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index ce74b63..8953a5d 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -85,6 +85,7 @@ #include <net/if_dl.h> #include <net/route.h> #include <net/netisr.h> +#include <net/intrq.h> #include <netinet/in.h> #include <netinet/in_systm.h> @@ -123,12 +124,13 @@ extern struct ip6protosw inet6sw[]; u_char ip6_protox[IPPROTO_MAX]; static int ip6qmaxlen = IFQ_MAXLEN; struct in6_ifaddr *in6_ifaddr; -struct ifqueue ip6intrq; int ip6_forward_srcrt; /* XXX */ int ip6_sourcecheck; /* XXX */ int ip6_sourcecheck_interval; /* XXX */ +const int int6intrq_present = 1; + #ifdef IPV6FIREWALL /* firewall hooks */ ip6_fw_chk_t *ip6_fw_chk_ptr; |