summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-01-11 19:52:17 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-01-11 19:52:17 +0000
commit00443a2cf5b5f4d13753cedc2ad9df2c217a080d (patch)
treee36acbc4cd1dd925ba981cbdbaccf916d2c2aef4 /sys
parent6f87a42552a02d00c9034ee1fa30a75179aedc3d (diff)
More statistic vars from FreeBSD.
Diffstat (limited to 'sys')
-rw-r--r--sys/netipx/ipx_var.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/sys/netipx/ipx_var.h b/sys/netipx/ipx_var.h
index ada67246fd7..270e0692c13 100644
--- a/sys/netipx/ipx_var.h
+++ b/sys/netipx/ipx_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_var.h,v 1.3 1996/11/25 08:20:02 mickey Exp $ */
+/* $OpenBSD: ipx_var.h,v 1.4 2000/01/11 19:52:16 fgsch Exp $ */
/*-
*
@@ -47,11 +47,17 @@
* IPX Kernel Structures and Variables
*/
struct ipxstat {
- int ipxs_badsum; /* checksum bad */
- int ipxs_tooshort; /* packet too short */
- int ipxs_toosmall; /* not enough data */
- int ipxs_badhlen; /* ip header length < data size */
- int ipxs_badlen; /* ip length < ip header length */
+ u_long ipxs_total; /* total packets received */
+ u_long ipxs_badsum; /* checksum bad */
+ u_long ipxs_tooshort; /* packet too short */
+ u_long ipxs_toosmall; /* not enough data */
+ u_long ipxs_forward; /* packets forwarded */
+ u_long ipxs_cantforward; /* packets rcvd for unreachable dest */
+ u_long ipxs_delivered; /* datagrams delivered to upper level*/
+ u_long ipxs_localout; /* total ipx packets generated here */
+ u_long ipxs_odropped; /* lost packets due to nobufs, etc. */
+ u_long ipxs_noroute; /* packets discarded due to no route */
+ u_long ipxs_mtutoosmall; /* the interface mtu is too small */
};
/*