aboutsummaryrefslogtreecommitdiff
path: root/example/ipsec/odp_ipsec_run_esp_in
blob: 12fdae691323a3d61675ee7f7804d3d3fec0d415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
#
# Test input ESP
#  - 2 loop interfaces
#  - 10 packets
#  - Specify API mode on command line
odp_ipsec -i loop1,loop2 \
-r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \
-p 192.168.222.0/24:192.168.111.0/24:in:esp \
-e 192.168.222.2:192.168.111.2:\
3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \
-s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \
-c 2 -m $1