summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_subr.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-01-24 20:39:02 +0000
committerbrian <brian@FreeBSD.org>2000-01-24 20:39:02 +0000
commit26fcba4c5a7ef6f95d130417d6ee6470eb0c7263 (patch)
treee9ac1c6bbc9bf92fe70fb1e226ece21e411aa386 /sys/netatm/atm_subr.c
parentff67a728896198b2e1e203c6b280755f7bdcd480 (diff)
downloadFreeBSD-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/netatm/atm_subr.c')
-rw-r--r--sys/netatm/atm_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netatm/atm_subr.c b/sys/netatm/atm_subr.c
index 507f4f1..a328a78 100644
--- a/sys/netatm/atm_subr.c
+++ b/sys/netatm/atm_subr.c
@@ -36,6 +36,7 @@
*/
#include <netatm/kern_include.h>
+#include <net/intrq.h>
#ifndef lint
__RCSID("@(#) $FreeBSD$");
@@ -50,7 +51,6 @@ struct atm_ncm *atm_netconv_head = NULL;
Atm_endpoint *atm_endpoints[ENDPT_MAX+1] = {NULL};
struct sp_info *atm_pool_head = NULL;
struct stackq_entry *atm_stackq_head = NULL, *atm_stackq_tail;
-struct ifqueue atm_intrq;
#ifdef sgi
int atm_intr_index;
#endif
@@ -61,6 +61,7 @@ int atm_dev_print = 0;
int atm_print_data = 0;
int atm_version = ATM_VERSION;
struct timeval atm_debugtime = {0, 0};
+const int atmintrq_present = 1;
struct sp_info atm_attributes_pool = {
"atm attributes pool", /* si_name */
OpenPOWER on IntegriCloud