aboutsummaryrefslogtreecommitdiff
path: root/example/ipsec_api/odp_ipsec_api_run_esp_in.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example/ipsec_api/odp_ipsec_api_run_esp_in.sh')
-rwxr-xr-xexample/ipsec_api/odp_ipsec_api_run_esp_in.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/example/ipsec_api/odp_ipsec_api_run_esp_in.sh b/example/ipsec_api/odp_ipsec_api_run_esp_in.sh
new file mode 100755
index 000000000..cdb302ef4
--- /dev/null
+++ b/example/ipsec_api/odp_ipsec_api_run_esp_in.sh
@@ -0,0 +1,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 "$@"