diff options
author | wollman <wollman@FreeBSD.org> | 1995-11-01 17:18:27 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-11-01 17:18:27 +0000 |
commit | c53e4d30eddfc89be2cd81c9c3ea3a595789fdc2 (patch) | |
tree | 4a4587ac814c1bb0291d9e880f9c5a4164437d38 /sys/netinet/in.h | |
parent | 16af6306ac9c39e9287fb9c48c3f74cb990335d2 (diff) | |
download | FreeBSD-src-c53e4d30eddfc89be2cd81c9c3ea3a595789fdc2.zip FreeBSD-src-c53e4d30eddfc89be2cd81c9c3ea3a595789fdc2.tar.gz |
Instrument the IP input queue with two new read-only MIB entries:
net.inet.ip.intr-queue-maxlen (=== ipintrq.ifq_maxlen)
and net.inet.ip.intr-queue-drops (=== ipintrq.ifq_drops)
There should probably be a standard way of getting the same information
going the other way.
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 53fd103..09e5bc9 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in.h 8.3 (Berkeley) 1/3/94 - * $Id: in.h,v 1.10 1995/06/13 17:51:08 wollman Exp $ + * $Id: in.h,v 1.11 1995/07/18 09:56:42 peter Exp $ */ #ifndef _NETINET_IN_H_ @@ -233,7 +233,9 @@ struct ip_mreq { #define IPCTL_RTMAXCACHE 7 /* trigger level for dynamic expire */ #define IPCTL_SOURCEROUTE 8 /* may perform source routes */ #define IPCTL_DIRECTEDBROADCAST 9 /* may re-broadcast received packets */ -#define IPCTL_MAXID 10 +#define IPCTL_INTRQMAXLEN 10 /* max length of netisr queue */ +#define IPCTL_INTRQDROPS 11 /* number of netisr q drops */ +#define IPCTL_MAXID 12 #define IPCTL_NAMES { \ { 0, 0 }, \ @@ -246,6 +248,8 @@ struct ip_mreq { { "rtmaxcache", CTLTYPE_INT }, \ { "sourceroute", CTLTYPE_INT }, \ { "directed-broadcast", CTLTYPE_INT }, \ + { "intr-queue-maxlen", CTLTYPE_INT }, \ + { "intr-queue-drops", CTLTYPE_INT }, \ } |