diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-25 10:13:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-25 10:13:54 +0000 |
commit | 449ef059d8d108e941affcfd869137956fe8a103 (patch) | |
tree | bf9a340d40457ada46ee6df9b84d46d8a5467a9b /sys/netinet | |
parent | e6745f425790cd5ec55c5e38abcc2113f5083924 (diff) |
revert counter size changes. this breaks netstat. digging further, there
are so many inconsistancies, that moving one deck chair is pointless.
more thought required.
ok claudio
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/udp_var.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h index ab6c86a5efd..0e276107db3 100644 --- a/sys/netinet/udp_var.h +++ b/sys/netinet/udp_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_var.h,v 1.24 2014/01/24 06:18:33 henning Exp $ */ +/* $OpenBSD: udp_var.h,v 1.25 2014/01/25 10:13:53 deraadt Exp $ */ /* $NetBSD: udp_var.h,v 1.12 1996/02/13 23:44:41 christos Exp $ */ /* @@ -54,20 +54,20 @@ struct udpiphdr { struct udpstat { /* input statistics: */ - u_int32_t udps_ipackets; /* total input packets */ - u_int32_t udps_hdrops; /* packet shorter than header */ - u_int32_t udps_badsum; /* checksum error */ - u_int32_t udps_nosum; /* no checksum */ - u_int32_t udps_badlen; /* data length larger than packet */ - u_int32_t udps_noport; /* no socket on port */ - u_int32_t udps_noportbcast; /* of above, arrived as broadcast */ - u_int32_t udps_nosec; /* dropped for lack of ipsec */ - u_int32_t udps_fullsock; /* not delivered, input socket full */ - u_int32_t udps_pcbhashmiss; /* input packets missing pcb hash */ - u_int32_t udps_inswcsum; /* input software-csummed packets */ + u_long udps_ipackets; /* total input packets */ + u_long udps_hdrops; /* packet shorter than header */ + u_long udps_badsum; /* checksum error */ + u_long udps_nosum; /* no checksum */ + u_long udps_badlen; /* data length larger than packet */ + u_long udps_noport; /* no socket on port */ + u_long udps_noportbcast; /* of above, arrived as broadcast */ + 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_inswcsum; /* input software-csummed packets */ /* output statistics: */ - u_int32_t udps_opackets; /* total output packets */ - u_int32_t udps_outswcsum; /* output software-csummed packets */ + u_long udps_opackets; /* total output packets */ + u_long udps_outswcsum; /* output software-csummed packets */ }; /* |