diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2017-07-17 09:06:36 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-07-17 09:15:46 +0200 |
commit | 3261379f19ad0da4c32e8ab5654a84bf5d17282a (patch) | |
tree | 6a8663871fb9b7987e24b468d81a971cb76e8f0f /trafgen.8 | |
parent | 551aa0ee996132e443b5d12cbb6f114ac9aabcd3 (diff) |
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>
Diffstat (limited to 'trafgen.8')
-rw-r--r-- | trafgen.8 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -98,7 +98,8 @@ a bigger memory footprint for the ring buffer. In case the output networking device is a wireless device, it is possible with trafgen to turn this into monitor mode and create a mon<X> device that trafgen will be transmitting on instead of wlan<X>, for instance. This enables trafgen -to inject raw 802.11 frames. +to inject raw 802.11 frames. In case if the output is a pcap file the link type +is set to 127 (ieee80211 radio tap). .PP .SS -s <ipv4>, --smoke-test <ipv4> In case this option is enabled, trafgen will perform a smoke test. In other |