]> gitweb.fperrin.net Git - iftop.git/commit
Keep track of lost packets as reported by pcap_stats for-upstream
authorFrédéric Perrin <fperrin@brocade.com>
Wed, 1 Apr 2015 16:16:47 +0000 (17:16 +0100)
committerFrédéric Perrin <fperrin@brocasde.com>
Thu, 23 Apr 2015 09:47:51 +0000 (09:47 +0000)
commit05a5759674e8e7124984579c67b7bea40b8e3352
tree19f7d3427117896fb3534ba9a395ecb757ec1ca6
parentfda4298dc99dfd15c20a7f8b759bb79fab45f393
Keep track of lost packets as reported by pcap_stats

On my machine, if I generate the following IPv6 flood:

ip -6 neigh add fe80::1234  dev eth0 lladdr 00:11:22:33:44:55
nc -6 -u fe80::1234%eth0 1234 < /dev/zero

The traffic reported by iftop is much less than the reality, as iftop
can't read packets off pcap fast enough. This patch only demonstrate
the problem, I haven't started to dig into the cause yet.
iftop.c
iftop.h
tui.c
ui.c