@@ -4,6 +4,9 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
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:ah \
@@ -4,6 +4,9 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
odp_ipsec -i loop1,loop2 \
-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
-p 192.168.111.0/24:192.168.222.0/24:out:ah \
@@ -4,6 +4,9 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
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:both \
@@ -4,6 +4,9 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
odp_ipsec -i loop1,loop2 \
-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
-p 192.168.111.0/24:192.168.222.0/24:out:both \
@@ -4,6 +4,9 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
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 \
@@ -4,6 +4,9 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
odp_ipsec -i loop1,loop2 \
-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
-p 192.168.111.0/24:192.168.222.0/24:out:esp \
@@ -3,6 +3,9 @@
# Live router test
# - 2 interfaces interfaces
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
sudo odp_ipsec -i p7p1,p8p1 \
-r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \
-r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \
@@ -3,6 +3,9 @@
# Live router test
# - 2 interfaces interfaces
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
sudo odp_ipsec -i p7p1,p8p1 \
-r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \
-r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \
@@ -4,6 +4,9 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
+
+PATH=$(dirname ./):$PATH
+
odp_ipsec -i loop1,loop2 \
-r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \
-s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- example/ipsec/odp_ipsec_run_ah_in | 3 +++ example/ipsec/odp_ipsec_run_ah_out | 3 +++ example/ipsec/odp_ipsec_run_both_in | 3 +++ example/ipsec/odp_ipsec_run_both_out | 3 +++ example/ipsec/odp_ipsec_run_esp_in | 3 +++ example/ipsec/odp_ipsec_run_esp_out | 3 +++ example/ipsec/odp_ipsec_run_live | 3 +++ example/ipsec/odp_ipsec_run_router | 3 +++ example/ipsec/odp_ipsec_run_simple | 3 +++ 9 files changed, 27 insertions(+) -- 2.7.4