summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-23 05:54:51 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-23 05:54:51 +0000
commitae00984fc1e10216066de39d37f08fe65da6f7a4 (patch)
treead05f22e1914e59633bf321a0bfb3f9f58baaa68 /sys/netinet/ip_var.h
parentac376f3391e54a39ad3727967e920e2dcd1703ae (diff)
Hardware checksumming stats.
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 5136ff31747..220b93416e3 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_var.h,v 1.19 2001/06/09 07:03:42 angelos Exp $ */
+/* $OpenBSD: ip_var.h,v 1.20 2001/06/23 05:54:50 angelos Exp $ */
/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
/*
@@ -146,6 +146,8 @@ struct ipstat {
u_long ips_toolong; /* ip length > max ip packet size */
u_long ips_nogif; /* no match gif found */
u_long ips_badaddr; /* invalid address on header */
+ u_long ips_inhwcsum; /* hardware checksummed on input */
+ u_long ips_outhwcsum; /* hardware checksummed on output */
};
#ifdef _KERNEL