aboutsummaryrefslogtreecommitdiff
path: root/example/ipsec_crypto/odp_ipsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ipsec_crypto/odp_ipsec.c')
-rw-r--r--example/ipsec_crypto/odp_ipsec.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/example/ipsec_crypto/odp_ipsec.c b/example/ipsec_crypto/odp_ipsec.c
index c4f34cbfa..bc70f643c 100644
--- a/example/ipsec_crypto/odp_ipsec.c
+++ b/example/ipsec_crypto/odp_ipsec.c
@@ -1627,26 +1627,26 @@ static void usage(char *progname)
" Default: 0: SYNC api mode\n"
"\n"
"Routing / IPSec OPTIONS:\n"
- " -r, --route SubNet:Intf:NextHopMAC\n"
- " -p, --policy SrcSubNet:DstSubNet:(in|out):(ah|esp|both)\n"
- " -e, --esp SrcIP:DstIP:(3des|null):SPI:Key192\n"
- " -a, --ah SrcIP:DstIP:(sha256|md5|null):SPI:Key(256|128)\n"
+ " -r, --route SubNet,Intf,NextHopMAC\n"
+ " -p, --policy SrcSubNet,DstSubNet,(in|out),(ah|esp|both)\n"
+ " -e, --esp SrcIP,DstIP,(3des|null),SPI,Key192\n"
+ " -a, --ah SrcIP,DstIP,(sha256|md5|null),SPI,Key(256|128)\n"
"\n"
- " Where: NextHopMAC is raw hex/dot notation, i.e. 03.BA.44.9A.CE.02\n"
+ " Where: NextHopMAC is raw hex/colon notation, i.e. 03:BA;44:9A:CE:02\n"
" IP is decimal/dot notation, i.e. 192.168.1.1\n"
" SubNet is decimal/dot/slash notation, i.e 192.168.0.0/16\n"
" SPI is raw hex, 32 bits\n"
" KeyXXX is raw hex, XXX bits long\n"
"\n"
" Examples:\n"
- " -r 192.168.222.0/24:p8p1:08.00.27.F5.8B.DB\n"
- " -p 192.168.111.0/24:192.168.222.0/24:out:esp\n"
- " -e 192.168.111.2:192.168.222.2:3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224\n"
- " -a 192.168.111.2:192.168.222.2:md5:201:a731649644c5dee92cbd9c2e7e188ee6\n"
+ " -r 192.168.222.0/24,p8p1,08:00:27:F5:8B:DB\n"
+ " -p 192.168.111.0/24,192.168.222.0/24,out,esp\n"
+ " -e 192.168.111.2,192.168.222.2,3des,201,656c8523255ccc23a66c1917aa0cf30991fce83532a4b224\n"
+ " -a 192.168.111.2,192.168.222.2,md5,201,a731649644c5dee92cbd9c2e7e188ee6\n"
"\n"
"Optional OPTIONS\n"
" -c, --count <number> CPU count, 0=all available, default=1\n"
- " -s, --stream SrcIP:DstIP:InIntf:OutIntf:Count:Length\n"
+ " -s, --stream SrcIP,DstIP,InIntf,OutIntf,Count,Length\n"
" -h, --help Display help and exit.\n"
" environment variables: ODP_IPSEC_USE_POLL_QUEUES\n"
" to enable use of poll queues instead of scheduled (default)\n"