1 --- linux-2.5.0or/net/core/dev.c Thu Nov 8 00:39:36 2001
2 +++ linux/net/core/dev.c Tue Dec 11 21:30:49 2001
7 - size = sprintf(buffer, "%6s:%8lu %7lu %4lu %4lu %4lu %5lu %10lu %9lu %8lu %7lu %4lu %4lu %4lu %5lu %7lu %10lu\n",
8 + size = sprintf(buffer, "%6s:%14llu %7lu %4lu %4lu %4lu %5lu %10lu %9lu %14llu %7lu %4lu %4lu %4lu %5lu %7lu %10lu\n",
11 stats->rx_packets, stats->rx_errors,
12 --- linux-2.5.0or/include/linux/netdevice.h Thu Nov 22 21:47:09 2001
13 +++ linux/include/linux/netdevice.h Tue Dec 11 21:24:54 2001
16 unsigned long rx_packets; /* total packets received */
17 unsigned long tx_packets; /* total packets transmitted */
18 - unsigned long rx_bytes; /* total bytes received */
19 - unsigned long tx_bytes; /* total bytes transmitted */
20 + /* rx and tx counters fixed up to 64-bit */
21 + long long rx_bytes; /* total bytes received */
22 + long long tx_bytes; /* total bytes transmitted */
23 unsigned long rx_errors; /* bad packets received */
24 unsigned long tx_errors; /* packet transmit problems */
25 unsigned long rx_dropped; /* no space in linux buffers */