diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2016-09-08 20:35:00 +0200 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2016-09-08 20:35:00 +0200 |
commit | 0fc5da26b972cb7a584db0374b2fe6136f7801b3 (patch) | |
tree | 70db2cdad5f7f4a4575f90441a7c174f37f2112b | |
parent | 9739a773c21027383ecc41ef281f101dba5edafb (diff) |
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r-- | generator.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/generator.c b/generator.c index 1212865..8d2672d 100644 --- a/generator.c +++ b/generator.c @@ -1141,11 +1141,11 @@ static void usage(char *progname) "\n" " Work mode:\n" " 1.send udp packets\n" - " odp_generator -I eth0 --srcmac fe:0f:97:c9:e0:44 --dstmac 32:cb:9b:27:2f:1a --srcip 192.168.0.1 --dstip 192.168.0.2 -m u\n" + " %s -I eth0 --srcmac fe:0f:97:c9:e0:44 --dstmac 32:cb:9b:27:2f:1a --srcip 192.168.0.1 --dstip 192.168.0.2 -m u\n" " 2.receive udp packets\n" - " odp_generator -I eth0 -m r\n" + " %s -I eth0 -m r\n" " 3.work likes ping\n" - " odp_generator -I eth0 --srcmac fe:0f:97:c9:e0:44 --dstmac 32:cb:9b:27:2f:1a --srcip 192.168.0.1 --dstip 192.168.0.2 --cpumask 0xc -m p\n" + " %s -I eth0 --srcmac fe:0f:97:c9:e0:44 --dstmac 32:cb:9b:27:2f:1a --srcip 192.168.0.1 --dstip 192.168.0.2 --cpumask 0xc -m p\n" "\n" "Mandatory OPTIONS:\n" " -I, --interface Eth interfaces (comma-separated, no spaces)\n" @@ -1165,7 +1165,8 @@ static void usage(char *progname) " default is to assign all\n" " -n, --count the number of packets to be send\n" " -c, --cpumask to set on cores\n" - "\n", NO_PATH(progname), NO_PATH(progname) + "\n", NO_PATH(progname), NO_PATH(progname), + NO_PATH(progname), NO_PATH(progname), NO_PATH(progname) ); } /** |