summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen.c')
-rw-r--r--trafgen.c3
1 files changed, 2 insertions, 1 deletions
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"