summaryrefslogtreecommitdiffstats
path: root/sys/net/intrq.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-08 10:34:03 +0000
committermsmith <msmith@FreeBSD.org>2002-01-08 10:34:03 +0000
commitea9c5a8d4c59a02cf0cf32205c2b86de18bbfe9d (patch)
tree4291f6f5e80438f96ec530927cfa8f763951e05f /sys/net/intrq.h
parent825021e8a0b29ed7d72004b4d7067d9f3b82cf6e (diff)
downloadFreeBSD-src-ea9c5a8d4c59a02cf0cf32205c2b86de18bbfe9d.zip
FreeBSD-src-ea9c5a8d4c59a02cf0cf32205c2b86de18bbfe9d.tar.gz
Initialise the intrq_present fields at runtime, not link time. This allows
us to load protocols at runtime, and avoids the use of common variables. Also fix the ip6_intrq assignment so that it works at all.
Diffstat (limited to 'sys/net/intrq.h')
-rw-r--r--sys/net/intrq.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/net/intrq.h b/sys/net/intrq.h
index c17cafd..6316be0 100644
--- a/sys/net/intrq.h
+++ b/sys/net/intrq.h
@@ -30,6 +30,15 @@
#define _NET_INTRQ_H_
#ifdef _KERNEL
+extern int atintrq1_present;
+extern int atintrq2_present;
+extern int atmintrq_present;
+extern int ipintrq_present;
+extern int ip6intrq_present;
+extern int ipxintrq_present;
+extern int natmintrq_present;
+extern int nsintrq_present;
+
extern int family_enqueue __P((sa_family_t, struct mbuf *));
#endif
OpenPOWER on IntegriCloud