summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-06-23 05:54:50 +0000
committerangelos <angelos@openbsd.org>2001-06-23 05:54:50 +0000
commit1495c8f26f92f9773b3e169c86df8b944e597fc5 (patch)
treef97cca10187772ba8180b922103206796ef06c3d
parentSince malloc in hashinit can get M_NOWAIT flags, we should (diff)
downloadwireguard-openbsd-1495c8f26f92f9773b3e169c86df8b944e597fc5.tar.xz
wireguard-openbsd-1495c8f26f92f9773b3e169c86df8b944e597fc5.zip
Hardware checksumming stats.
-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