[netsniff-ng] Re: [PATCH v2] trafgen: Fix output pcap file name length trimming

2017-06-19 Thread Tobias Klauser
On 2017-06-12 at 22:55:37 +0200, Vadim Kochan wrote: > Trim output name to IFNAMSIZ only if the output is a networking device, > otherwise the following error occured if output name is greater then IFNAMSIZ: > > ~/src/netsniff-ng$ trafgen -n 1 '{ udp() }' -o

[netsniff-ng] Re: [PATCH] trafgen: Delegate creation of rfraw to dev_io API

2017-06-19 Thread Tobias Klauser
On 2017-06-13 at 06:13:58 +0200, Vadim Kochan wrote: > Simplify a bit of creation rfraw device by delegating it to the dev_io > API, also in case the output device is pcap file the --rfraw option > sets the link type to ieee80211 radio tap. > > Signed-off-by: Vadim Kochan