diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-11-25 08:20:04 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-11-25 08:20:04 +0000 |
commit | e22e8b458b746af16a67ea878e2ca82aed43b1cc (patch) | |
tree | 0607c393af8ccddd368f53d406980c510f2c341c /sys/netipx/spx_usrreq.c | |
parent | d5b9124bfc4cc3de29c46dfca9d16f169e8dc9cd (diff) |
sysctl entries;
control ipx {send,recv} queues size
Diffstat (limited to 'sys/netipx/spx_usrreq.c')
-rw-r--r-- | sys/netipx/spx_usrreq.c | 22 |
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 */ +} |