From 7ffa9cc1715108ab89292aeffc392688af1f74da Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 26 Mar 2013 10:06:36 +0100 Subject: trafgen: update help description After commit f9591eebe40c (trafgen: lexer/parser: fix cpu() selection and whitespacing), we also need to fixup the help description, so that users start using the cpu(X-Y) notation instead. Also, reintroduce the alias csum16 for csumip. Signed-off-by: Daniel Borkmann --- trafgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trafgen.c') diff --git a/trafgen.c b/trafgen.c index 4bc7a43..dc0c54b 100644 --- a/trafgen.c +++ b/trafgen.c @@ -180,7 +180,7 @@ static void help(void) "Arbitrary packet config examples (e.g. trafgen -e > trafgen.cfg):\n" " 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" + " Run packet only on CPU1-2: cpu(1-2): { drnd(64),'a',csum16(1, 8),'b',42 }\n\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