aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2001-02-10 19:31:14 +0000
committerPhil Blundell <philb@gnu.org>2001-02-10 19:31:14 +0000
commitd828f5ce7cbd8d8c5cc4cf8f4a402f9647fa8548 (patch)
tree1089740a20fc99889898ed7da157e48e1d3e65bc /include
parentBump buffer sizes for 2.4 kernels; patch from Tim Waugh (diff)
downloadnet-tools-d828f5ce7cbd8d8c5cc4cf8f4a402f9647fa8548.tar.gz
net-tools-d828f5ce7cbd8d8c5cc4cf8f4a402f9647fa8548.tar.bz2
net-tools-d828f5ce7cbd8d8c5cc4cf8f4a402f9647fa8548.zip
Make packet/byte counters 64 bits wide
Diffstat (limited to 'include')
-rw-r--r--include/interface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/interface.h b/include/interface.h
index 45d4ac2..f95555c 100644
--- a/include/interface.h
+++ b/include/interface.h
@@ -1,8 +1,8 @@
struct user_net_device_stats {
- unsigned long rx_packets; /* total packets received */
- unsigned long tx_packets; /* total packets transmitted */
- unsigned long rx_bytes; /* total bytes received */
- unsigned long tx_bytes; /* total bytes transmitted */
+ unsigned long long rx_packets; /* total packets received */
+ unsigned long long tx_packets; /* total packets transmitted */
+ unsigned long long rx_bytes; /* total bytes received */
+ unsigned long long tx_bytes; /* total bytes transmitted */
unsigned long rx_errors; /* bad packets received */
unsigned long tx_errors; /* packet transmit problems */
unsigned long rx_dropped; /* no space in linux buffers */