diff options
author | Paolo Abeni <pabeni@redhat.com> | 2016-07-27 15:59:08 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-07-29 10:08:02 +0200 |
commit | da6e1d1108ad22d68ccbff07fb569afebb265bf7 (patch) | |
tree | 9e5ff1b32d7dae4f3a4535ce4211a63e99b76b03 /curvetun.8 | |
parent | 0c85ef0111b36b14c53898780006d78a2727f360 (diff) |
netsniff-ng: Account skipped packets as 'seen' and 'dropped'
The packets filtered out due to pkt_type are incoming packets
effectively dropped and should be accounted as such.
This patch explicitly accounts for the skipped packets number in
skip_packet() and adds this number to the 'drop' and 'seen'
counters in update_rx_stats().
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun.8')
0 files changed, 0 insertions, 0 deletions