trafgen: Delegate creation of rfraw to dev_io API
commit3261379f19ad0da4c32e8ab5654a84bf5d17282a
authorVadim Kochan <vadim4j@gmail.com>
Mon, 17 Jul 2017 06:06:36 +0000 (17 09:06 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 17 Jul 2017 07:15:46 +0000 (17 09:15 +0200)
tree6a8663871fb9b7987e24b468d81a971cb76e8f0f
parent551aa0ee996132e443b5d12cbb6f114ac9aabcd3
trafgen: Delegate creation of rfraw to dev_io API

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 <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen.8
trafgen.c
trafgen_dev.c
trafgen_dev.h