[netsniff-ng] [PATCH v2] trafgen: Allow to generate packets to output pcap file

2017-06-07 Thread Vadim Kochan
Add trafgen_dev.c module which provides generic way of reading and writing packets to/from networking device or a pcap file. Also allow to handle output pcap file via '-o, --out, --dev' option. It might be useful in future for testing some link protocols which is not easy to capture (e.g. wlan

[netsniff-ng] Re: [PATCH] trafgen: Allow to generate packets to output pcap file

2017-06-07 Thread Tobias Klauser
On 2017-06-06 at 22:30:36 +0200, Vadim Kochan wrote: > Add trafgen_dev.c module which provides generic way of > reading and writing packets to/from networking device or a pcap file. > > Also allow to handle output pcap file via '-o, --out, --dev' option. > > It might be