diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-23 06:03:15 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-23 06:03:15 +0000 |
commit | a74e8403c89e62f9eb01ff5804d2389e799fc15f (patch) | |
tree | 5cb8531f4dc1ad4042b2542dd91858ff206968a3 /sys/netinet/udp_var.h | |
parent | f823e64df24b534f4830aa9e875e27f33eeb8dfa (diff) |
Keep stats on TCP/UDP hardware checksumming.
Diffstat (limited to 'sys/netinet/udp_var.h')
-rw-r--r-- | sys/netinet/udp_var.h | 4 |
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 */ }; /* |