summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_var.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-23 06:03:15 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-23 06:03:15 +0000
commita74e8403c89e62f9eb01ff5804d2389e799fc15f (patch)
tree5cb8531f4dc1ad4042b2542dd91858ff206968a3 /sys/netinet/udp_var.h
parentf823e64df24b534f4830aa9e875e27f33eeb8dfa (diff)
Keep stats on TCP/UDP hardware checksumming.
Diffstat (limited to 'sys/netinet/udp_var.h')
-rw-r--r--sys/netinet/udp_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h
index 2c0c3cf1938..258b4102339 100644
--- a/sys/netinet/udp_var.h
+++ b/sys/netinet/udp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_var.h,v 1.11 2001/06/09 07:03:45 angelos Exp $ */
+/* $OpenBSD: udp_var.h,v 1.12 2001/06/23 06:03:14 angelos Exp $ */
/* $NetBSD: udp_var.h,v 1.12 1996/02/13 23:44:41 christos Exp $ */
/*
@@ -68,8 +68,10 @@ struct udpstat {
u_long udps_nosec; /* dropped for lack of ipsec */
u_long udps_fullsock; /* not delivered, input socket full */
u_long udps_pcbhashmiss; /* input packets missing pcb hash */
+ u_long udps_inhwcsum; /* input hardware-csummed packets */
/* output statistics: */
u_long udps_opackets; /* total output packets */
+ u_long udps_outhwcsum; /* output hardware-csummed packets */
};
/*