summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-09-25 00:34:35 +0000
committerwollman <wollman@FreeBSD.org>1997-09-25 00:34:35 +0000
commit6c4e9fc61332696898bfd76840cc344e5d8f7b95 (patch)
treefa44de3ce6755535c79ae38a312ba2da7d22ecc1 /sys/netinet/in.h
parent24ebd3d8b6b375d482903390c612c24aa0f39c97 (diff)
downloadFreeBSD-src-6c4e9fc61332696898bfd76840cc344e5d8f7b95.zip
FreeBSD-src-6c4e9fc61332696898bfd76840cc344e5d8f7b95.tar.gz
Export ipstat via sysctl. Don't understand why this wasn't done before.
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index b490974..3f9387d 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$
+ * $Id: in.h,v 1.26 1997/02/22 09:41:28 peter Exp $
*/
#ifndef _NETINET_IN_H_
@@ -302,7 +302,8 @@ struct ip_mreq {
#define IPCTL_DIRECTEDBROADCAST 9 /* may re-broadcast received packets */
#define IPCTL_INTRQMAXLEN 10 /* max length of netisr queue */
#define IPCTL_INTRQDROPS 11 /* number of netisr q drops */
-#define IPCTL_MAXID 12
+#define IPCTL_STATS 12 /* ipstat structure */
+#define IPCTL_MAXID 13
#define IPCTL_NAMES { \
{ 0, 0 }, \
@@ -317,6 +318,7 @@ struct ip_mreq {
{ "directed-broadcast", CTLTYPE_INT }, \
{ "intr-queue-maxlen", CTLTYPE_INT }, \
{ "intr-queue-drops", CTLTYPE_INT }, \
+ { "stats", CTLTYPE_STRUCT }, \
}
OpenPOWER on IntegriCloud