summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ether.h
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-03-07 23:35:07 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-03-07 23:35:07 +0000
commitb94f66c87ec101aedb35a31a60dd66d027b9d72c (patch)
tree5120fa95d07cdcd81f96b2965b6e8efc622b38e1 /sys/netinet/ip_ether.h
parent5b9d3fc58d2e3ec9d06aa9ed9472108b3ea15e2e (diff)
Rename struct etheripstat members for consistency, move them all to 64bits
Will make transition to percpu counters easier. ok bluhm@
Diffstat (limited to 'sys/netinet/ip_ether.h')
-rw-r--r--sys/netinet/ip_ether.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/netinet/ip_ether.h b/sys/netinet/ip_ether.h
index 89b244ee863..fcffa66de56 100644
--- a/sys/netinet/ip_ether.h
+++ b/sys/netinet/ip_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ether.h,v 1.20 2017/01/29 19:58:47 bluhm Exp $ */
+/* $OpenBSD: ip_ether.h,v 1.21 2017/03/07 23:35:06 jca Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@adk.gr)
*
@@ -30,15 +30,15 @@
*/
struct etheripstat {
- u_int32_t etherip_hdrops; /* packet shorter than header shows */
- u_int32_t etherip_qfull; /* bridge queue full, packet dropped */
- u_int32_t etherip_noifdrops; /* no interface/bridge information */
- u_int32_t etherip_pdrops; /* packet dropped due to policy */
- u_int32_t etherip_adrops; /* all other drops */
- u_int32_t etherip_ipackets; /* total input packets */
- u_int32_t etherip_opackets; /* total output packets */
- u_int64_t etherip_ibytes; /* input bytes */
- u_int64_t etherip_obytes; /* output bytes */
+ u_int64_t etherips_hdrops; /* packet shorter than header shows */
+ u_int64_t etherips_qfull; /* bridge queue full, packet dropped */
+ u_int64_t etherips_noifdrops; /* no interface/bridge information */
+ u_int64_t etherips_pdrops; /* packet dropped due to policy */
+ u_int64_t etherips_adrops; /* all other drops */
+ u_int64_t etherips_ipackets; /* total input packets */
+ u_int64_t etherips_opackets; /* total output packets */
+ u_int64_t etherips_ibytes; /* input bytes */
+ u_int64_t etherips_obytes; /* output bytes */
};
struct etherip_header {