]> The Tcpdump Group git mirrors - libpcap/commit
patch from Erik de Castro Lopo <[email protected]>:
authorhannes <hannes>
Fri, 2 Jan 2004 11:25:26 +0000 (11:25 +0000)
committerhannes <hannes>
Fri, 2 Jan 2004 11:25:26 +0000 (11:25 +0000)
commitf2101dbb5da0218e50c9b3cce4f748a230e3e0e6
tree92a097e4baa1a169a0341a5cf20426712ef7c91c
parent1b3a318d830f7e1e0fa6cf7b8873bd788dd34e2d
patch from Erik de Castro Lopo <[email protected]>:

  In the Linux kernel the packet statistics are zeroed during each retrieval.
  In contrast, on FreeBSD, the packet statistics are retrived using
  ioctl(BIOCGSTATS):

  The patch adds a static variable to pcap_stats_linux() which
  holds a running total of the packet statistics so that the behaviour
  of pcap_stats() on Linux matches the behaviour of FreeBSD.
CREDITS
pcap-linux.c