summaryrefslogtreecommitdiff
path: root/dissector_eth.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2016-07-27 15:59:08 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-07-29 10:08:02 +0200
commitda6e1d1108ad22d68ccbff07fb569afebb265bf7 (patch)
tree9e5ff1b32d7dae4f3a4535ce4211a63e99b76b03 /dissector_eth.c
parent0c85ef0111b36b14c53898780006d78a2727f360 (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 'dissector_eth.c')
0 files changed, 0 insertions, 0 deletions