diff options
author | Phil Blundell <philb@gnu.org> | 2001-02-10 19:31:14 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2001-02-10 19:31:14 +0000 |
commit | d828f5ce7cbd8d8c5cc4cf8f4a402f9647fa8548 (patch) | |
tree | 1089740a20fc99889898ed7da157e48e1d3e65bc /include | |
parent | Bump buffer sizes for 2.4 kernels; patch from Tim Waugh (diff) | |
download | net-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.h | 8 |
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 */ |