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/ipx.h | |
parent | d5b9124bfc4cc3de29c46dfca9d16f169e8dc9cd (diff) |
sysctl entries;
control ipx {send,recv} queues size
Diffstat (limited to 'sys/netipx/ipx.h')
-rw-r--r-- | sys/netipx/ipx.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/netipx/ipx.h b/sys/netipx/ipx.h index 278087be34b..0ee082d6d21 100644 --- a/sys/netipx/ipx.h +++ b/sys/netipx/ipx.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipx.h,v 1.3 1996/10/26 09:40:30 mickey Exp $ */ +/* $OpenBSD: ipx.h,v 1.4 1996/11/25 08:19:58 mickey Exp $ */ /*- * @@ -168,6 +168,23 @@ struct ipx { #define ipx_wildhost(x) (((x).ipx_host.s_host[0]==0xffff) && \ ((x).ipx_host.s_host[1]==0xffff) && ((x).ipx_host.s_host[2]==0xffff)) +/* + * Definitions for inet sysctl operations. + * + * Third level is protocol number. + * Fourth level is desired variable within that protocol. + */ +#define IPXPROTO_MAXID (IPXPROTO_SPX + 1) /* don't list to IPPROTO_MAX */ + +#define CTL_IPXPROTO_NAMES { \ + { "ipx", CTLTYPE_NODE }, \ + { 0, 0 }, \ + { 0, 0 }, \ + { 0, 0 }, \ + { 0, 0 }, \ + { "spx", CTLTYPE_NODE }, \ +}; + #ifdef _KERNEL #define satosipx(a) ((struct sockaddr_ipx *)(a)) @@ -212,6 +229,7 @@ void ipx_undo_route __P((struct route *ro)); int ipx_usrreq __P((struct socket *so, int req, struct mbuf *m, struct mbuf *nam, struct mbuf *control)); void ipx_watch_output __P((struct mbuf *m, struct ifnet *ifp)); +int ipx_sysctl __P((int *, u_int, void *, size_t *, void *, size_t)); #ifdef IPXDEBUG struct ipx_addr ipx_addr __P((const char *)); |