@@ -3,22 +3,23 @@ include $(top_srcdir)/example/Makefile.inc
AM_CPPFLAGS = $(OPENSSL_CPPFLAGS)
LDADD += $(OPENSSL_LIBS)
-bin_PROGRAMS = odp_ipsec
+bin_PROGRAMS = odp_ipsec_api
dist_bin_SCRIPTS = \
- $(srcdir)/odp_ipsec_run_ah_in.sh \
- $(srcdir)/odp_ipsec_run_ah_out.sh \
- $(srcdir)/odp_ipsec_run_ah_tun_in.sh \
- $(srcdir)/odp_ipsec_run_ah_tun_out.sh \
- $(srcdir)/odp_ipsec_run_esp_in.sh \
- $(srcdir)/odp_ipsec_run_esp_out.sh \
- $(srcdir)/odp_ipsec_run_esp_tun_in.sh \
- $(srcdir)/odp_ipsec_run_esp_tun_out.sh \
- $(srcdir)/odp_ipsec_run_live.sh \
- $(srcdir)/odp_ipsec_run_router.sh \
- $(srcdir)/odp_ipsec_run_simple.sh
+ $(srcdir)/odp_ipsec_api_run_ah_in.sh \
+ $(srcdir)/odp_ipsec_api_run_ah_out.sh \
+ $(srcdir)/odp_ipsec_api_run_ah_tun_in.sh \
+ $(srcdir)/odp_ipsec_api_run_ah_tun_out.sh \
+ $(srcdir)/odp_ipsec_api_run_esp_in.sh \
+ $(srcdir)/odp_ipsec_api_run_esp_out.sh \
+ $(srcdir)/odp_ipsec_api_run_esp_tun_in.sh \
+ $(srcdir)/odp_ipsec_api_run_esp_tun_out.sh \
+ $(srcdir)/odp_ipsec_api_run_live.sh \
+ $(srcdir)/odp_ipsec_api_run_router.sh \
+ $(srcdir)/odp_ipsec_api_run_simple.sh
-odp_ipsec_SOURCES = odp_ipsec.c \
+odp_ipsec_api_SOURCES = \
+ odp_ipsec.c \
odp_ipsec_sa_db.c \
odp_ipsec_sa_db.h \
odp_ipsec_sp_db.c \
similarity index 91%
rename from example/ipsec_api/odp_ipsec_run_ah_in.sh
rename to example/ipsec_api/odp_ipsec_api_run_ah_in.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+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:ah \
-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \
similarity index 91%
rename from example/ipsec_api/odp_ipsec_run_ah_out.sh
rename to example/ipsec_api/odp_ipsec_api_run_ah_out.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+odp_ipsec_api -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 \
similarity index 92%
rename from example/ipsec_api/odp_ipsec_run_ah_tun_in.sh
rename to example/ipsec_api/odp_ipsec_api_run_ah_tun_in.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+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:ah \
-a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \
similarity index 92%
rename from example/ipsec_api/odp_ipsec_run_ah_tun_out.sh
rename to example/ipsec_api/odp_ipsec_api_run_ah_tun_out.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+odp_ipsec_api -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 \
similarity index 91%
rename from example/ipsec_api/odp_ipsec_run_esp_in.sh
rename to example/ipsec_api/odp_ipsec_api_run_esp_in.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+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:\
similarity index 92%
rename from example/ipsec_api/odp_ipsec_run_esp_out.sh
rename to example/ipsec_api/odp_ipsec_api_run_esp_out.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+odp_ipsec_api -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:\
similarity index 92%
rename from example/ipsec_api/odp_ipsec_run_esp_tun_in.sh
rename to example/ipsec_api/odp_ipsec_api_run_esp_tun_in.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+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:\
similarity index 92%
rename from example/ipsec_api/odp_ipsec_run_esp_tun_out.sh
rename to example/ipsec_api/odp_ipsec_api_run_esp_tun_out.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+odp_ipsec_api -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:\
similarity index 94%
rename from example/ipsec_api/odp_ipsec_run_live.sh
rename to example/ipsec_api/odp_ipsec_api_run_live.sh
@@ -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_api -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 \
similarity index 85%
rename from example/ipsec_api/odp_ipsec_run_router.sh
rename to example/ipsec_api/odp_ipsec_api_run_router.sh
@@ -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_api -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 "$@"
similarity index 87%
rename from example/ipsec_api/odp_ipsec_run_simple.sh
rename to example/ipsec_api/odp_ipsec_api_run_simple.sh
@@ -4,7 +4,7 @@
# - 2 loop interfaces
# - 10 packets
# - Specify API mode on command line
-odp_ipsec -i loop1,loop2 \
+odp_ipsec_api -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 "$@"