@@ -167,3 +167,5 @@ BASH batch files are now included to run several simple loopback tests that
do not require any packet IO. The scripts create internal "loopback" (not
real Linux loopback interfaces but simply ODP queues) as opposed to packet
interfaces.
+Before running the example bash scripts add odp_ipsec to your PATH
+export PATH="<path_to_odp_ipsec>:$PATH"
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-./odp_ipsec -i loop1,loop2 \
+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 \
-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
- ./odp_ipsec -i loop1,loop2 \
+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 \
-a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-./odp_ipsec -i loop1,loop2 \
+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 \
-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-./odp_ipsec -i loop1,loop2 \
+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 \
-e 192.168.111.2:192.168.222.2:\
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-./odp_ipsec -i loop1,loop2 \
+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:\
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-./odp_ipsec -i loop1,loop2 \
+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 \
-e 192.168.111.2:192.168.222.2:\
@@ -3,7 +3,7 @@
# Live router test
# - 2 interfaces interfaces
# - Specify API mode on command line
-sudo ./odp_ipsec -i p7p1,p8p1 \
+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 \
-p 192.168.111.0/24:192.168.222.0/24:out:both \
@@ -3,7 +3,7 @@
# Live router test
# - 2 interfaces interfaces
# - Specify API mode on command line
-sudo ./odp_ipsec -i p7p1,p8p1 \
+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 \
-c 1 -m $1
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-./odp_ipsec -i loop1,loop2 \
+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 \
-c 2 -m $1
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- example/ipsec/README | 2 ++ example/ipsec/run_ah_in.sh | 2 +- example/ipsec/run_ah_out.sh | 2 +- example/ipsec/run_both_in.sh | 2 +- example/ipsec/run_both_out.sh | 2 +- example/ipsec/run_esp_in.sh | 2 +- example/ipsec/run_esp_out.sh | 2 +- example/ipsec/run_live.sh | 2 +- example/ipsec/run_router.sh | 2 +- example/ipsec/run_simple.sh | 2 +- 10 files changed, 11 insertions(+), 9 deletions(-)