summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-04-10 13:58:20 +0000
committerdlg <dlg@openbsd.org>2015-04-10 13:58:20 +0000
commit98a920fd7faa5ee5def7da7914ae31dfc8ff4d40 (patch)
treece5a3ec8e7f71d587da0ec2afed163fd21e99a54 /sys/netinet/in.h
parentFull-speed isochronous transfers support with opportunistic micro-frames (diff)
downloadwireguard-openbsd-98a920fd7faa5ee5def7da7914ae31dfc8ff4d40.tar.xz
wireguard-openbsd-98a920fd7faa5ee5def7da7914ae31dfc8ff4d40.zip
replace the use of ifqueues for most input queues serviced by netisr
with niqueues. this change is so big because there's a lot of code that takes pointers to different input queues (eg, ether_input picks between ipv4, ipv6, pppoe, arp, and mpls input queues) and falls through to code to enqueue packets against the pointer. if i changed only one of the input queues id have to add sepearate code paths, one for ifqueues and one for niqueues in each of these places by flipping all these input queues at once i can keep the currently common code common. testing by mpi@ sthen@ and rafael zalamena ok mpi@ sthen@ claudio@ henning@
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 1319d89fa49..b7b55eb154d 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.112 2015/02/09 12:18:19 claudio Exp $ */
+/* $OpenBSD: in.h,v 1.113 2015/04/10 13:58:20 dlg Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -785,7 +785,7 @@ __END_DECLS
#ifdef _KERNEL
extern int inetctlerrmap[];
-extern struct ifqueue ipintrq; /* ip packet input queue */
+extern struct niqueue ipintrq; /* ip packet input queue */
extern struct in_addr zeroin_addr;
struct mbuf;