From 3261379f19ad0da4c32e8ab5654a84bf5d17282a Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Mon, 17 Jul 2017 09:06:36 +0300 Subject: 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 Signed-off-by: Tobias Klauser --- trafgen.8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'trafgen.8') diff --git a/trafgen.8 b/trafgen.8 index 50deacf..67aaaf9 100644 --- a/trafgen.8 +++ b/trafgen.8 @@ -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 device that trafgen will be transmitting on instead of wlan, 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 , --smoke-test In case this option is enabled, trafgen will perform a smoke test. In other -- cgit v1.2.3-54-g00ecf