diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-03-31 15:54:21 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-03-31 17:22:47 +0200 |
commit | 55774d8218cb4f63d664f705cb1d93571aba10b7 (patch) | |
tree | 66d135efe96fb349ba696d83b7e21c9d9dd473e9 /trafgen.c | |
parent | f175ed40d587dd2551468a909272c9f5592b3afb (diff) |
trafgen: Remove note about trafgen.txf example from help text
We no longer ship example trafgen config files. Instead, mention the
netsniff-ng conversion facility.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.c')
-rw-r--r-- | trafgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -181,7 +181,6 @@ static void __noreturn help(void) " -e|--example Show built-in packet config example\n" " -h|--help Guess what?!\n\n" "Examples:\n" - " See trafgen.txf for configuration file examples.\n" " trafgen --dev eth0 --conf trafgen.cfg\n" " trafgen -e | trafgen -i - -o eth0 --cpp -n 1\n" " trafgen --dev eth0 --conf fuzzing.cfg --smoke-test 10.0.0.1\n" @@ -193,6 +192,8 @@ static void __noreturn help(void) " Run packet on all CPUs: { fill(0xff, 64) csum16(0, 64) }\n" " Run packet only on CPU1: cpu(1): { rnd(64), 0b11001100, 0xaa }\n" " Run packet only on CPU1-2: cpu(1-2): { drnd(64),'a',csum16(1, 8),'b',42 }\n\n" + "Generate config files from existing pcap using netsniff-ng:\n" + " netsniff-ng --in dump.pcap --out dump.cfg\n" "Note:\n" " Smoke/fuzz test example: machine A, 10.0.0.2 (trafgen) is directly\n" " connected to machine B (test kernel), 10.0.0.1. If ICMP reply fails\n" |