--- linux-2.4.20/include/linux/netdevice.h 2002-12-13 19:30:48.000000000 +0100 +++ linux-2.4.20/include/linux/netdevice.h 2003-02-05 16:26:42.000000000 +0100 @@ -96,16 +96,16 @@ struct 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 rx_errors; /* bad packets received */ - unsigned long tx_errors; /* packet transmit problems */ - unsigned long rx_dropped; /* no space in linux buffers */ - unsigned long tx_dropped; /* no space available in linux */ - unsigned long multicast; /* multicast packets received */ - unsigned long collisions; + 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 */ + unsigned long tx_dropped; /* no space available in linux */ + unsigned long multicast; /* multicast packets received */ + unsigned long collisions; /* detailed rx_errors: */ unsigned long rx_length_errors; --- linux-2.4.20/net/core/dev.c 2002-11-29 00:53:15.000000000 +0100 +++ linux-2.4.20/net/core/dev.c 2003-02-05 17:48:53.000000000 +0100 @@ -1734,7 +1734,7 @@ int size; if (stats) - size = sprintf(buffer, "%6s:%8lu %7lu %4lu %4lu %4lu %5lu %10lu %9lu %8lu %7lu %4lu %4lu %4lu %5lu %7lu %10lu\n", + size = sprintf(buffer, "%6s:%12llu %12llu %4lu %4lu %4lu %5lu %10lu %9lu %12llu %12llu %4lu %4lu %4lu %5lu %7lu %10lu\n", dev->name, stats->rx_bytes, stats->rx_packets, stats->rx_errors, @@ -1769,9 +1769,9 @@ struct net_device *dev; - size = sprintf(buffer, - "Inter-| Receive | Transmit\n" - " face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed\n"); + size = sprintf(buffer, + "Inter-| Receive | Transmit\n" + " face | bytes packets errs drop fifo frame compressed multicast| bytes packets errs drop fifo colls carrier compressed\n"); pos += size; len += size;