From 55774d8218cb4f63d664f705cb1d93571aba10b7 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 31 Mar 2015 15:54:21 +0200 Subject: 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 --- trafgen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trafgen.c b/trafgen.c index 9151b5d..22264cb 100644 --- a/trafgen.c +++ b/trafgen.c @@ -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" -- cgit v1.2.3-54-g00ecf