[netsniff-ng] Re: [PATCH 0/2] netsniff-ng: vlan: Print vlan info from tpacket v3 struct

2015-08-17 Thread Tobias Klauser
On 2015-08-16 at 23:21:29 +0200, Vadim Kochan vadi...@gmail.com wrote: It might be useful to sniff for vlan header info which might be not injected into packet if reordering is on and if physical device supports VLAN offloading. But these fields are kept in skb and are stored in tpacket v2/v3

[netsniff-ng] [RFC] netsniff-ng: Show total rx stats for multi pcap mode

2015-08-17 Thread Vadim Kochan
Allow to collect rx stats for multiple pcap mode, by storing them in separated variables before switch to the next pcap file. It allows to have the one approach when dump for single or multiple pcap(s) mode. Signed-off-by: Vadim Kochan vadi...@gmail.com --- netsniff-ng.c | 115