aboutsummaryrefslogtreecommitdiff
path: root/example/ipsec_api/odp_ipsec_api_run_esp_in.sh
blob: 61873bf76849f60824965b81ef78906b46f32c52 (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_api -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 "$@"