summaryrefslogtreecommitdiff
path: root/sys/netipx/spx_usrreq.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-11-25 08:20:04 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-11-25 08:20:04 +0000
commite22e8b458b746af16a67ea878e2ca82aed43b1cc (patch)
tree0607c393af8ccddd368f53d406980c510f2c341c /sys/netipx/spx_usrreq.c
parentd5b9124bfc4cc3de29c46dfca9d16f169e8dc9cd (diff)
sysctl entries;
control ipx {send,recv} queues size
Diffstat (limited to 'sys/netipx/spx_usrreq.c')
-rw-r--r--sys/netipx/spx_usrreq.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index b246f2a0d4e..48e2fe6631a 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spx_usrreq.c,v 1.3 1996/10/26 09:34:57 mickey Exp $ */
+/* $OpenBSD: spx_usrreq.c,v 1.4 1996/11/25 08:20:03 mickey Exp $ */
/*-
*
@@ -1843,3 +1843,23 @@ spx_timers(cb, timer)
}
return (cb);
}
+
+int
+spx_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
+ int *name;
+ u_int namelen;
+ void *oldp;
+ size_t *oldlenp;
+ void *newp;
+ size_t newlen;
+{
+ /* All sysctl names at this level are terminal. */
+ if (namelen != 1)
+ return (ENOTDIR);
+
+ switch (name[0]) {
+ default:
+ return (ENOPROTOOPT);
+ }
+ /* NOT REACHED */
+}