diff options
author | Florin Coras <fcoras@cisco.com> | 2019-06-24 18:02:43 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-06-25 15:38:30 +0000 |
commit | f910e51608d5a2a52d4b7e9fefcbfdaaef97f10d (patch) | |
tree | c8abd7179589360eee174f44e4b4cafbd5819821 | |
parent | 8eb3e07dea2c905ab46e0236bca9750224484ee8 (diff) |
hsa: move external echo apps to hsa
Type: refactor
Change-Id: I9a5c2abfd0c5444b31d9020cea918f9cd28f1ac2
Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r-- | src/plugins/hs_apps/CMakeLists.txt | 22 | ||||
-rw-r--r-- | src/plugins/hs_apps/quic_echo.c (renamed from src/tests/vnet/session/quic_echo.c) | 0 | ||||
-rw-r--r-- | src/plugins/hs_apps/tcp_echo.c (renamed from src/tests/vnet/session/tcp_echo.c) | 0 | ||||
-rw-r--r-- | src/plugins/hs_apps/udp_echo.c (renamed from src/tests/vnet/session/udp_echo.c) | 0 | ||||
-rw-r--r-- | src/vnet/CMakeLists.txt | 26 |
5 files changed, 22 insertions, 26 deletions
diff --git a/src/plugins/hs_apps/CMakeLists.txt b/src/plugins/hs_apps/CMakeLists.txt index d27c8512306..e7885c3d1bf 100644 --- a/src/plugins/hs_apps/CMakeLists.txt +++ b/src/plugins/hs_apps/CMakeLists.txt @@ -19,3 +19,25 @@ add_vpp_plugin(hs_apps http_server.c proxy.c ) + +option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON) +if(VPP_BUILD_SESSION_ECHO_APPS) + add_vpp_executable(tcp_echo + SOURCES tcp_echo.c + LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt + DEPENDS api_headers + NO_INSTALL + ) + add_vpp_executable(quic_echo + SOURCES quic_echo.c + LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt + DEPENDS api_headers + NO_INSTALL + ) + add_vpp_executable(udp_echo + SOURCES udp_echo.c + LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt + DEPENDS api_headers + NO_INSTALL + ) +endif(VPP_BUILD_SESSION_ECHO_APPS) diff --git a/src/tests/vnet/session/quic_echo.c b/src/plugins/hs_apps/quic_echo.c index a62af642b2f..a62af642b2f 100644 --- a/src/tests/vnet/session/quic_echo.c +++ b/src/plugins/hs_apps/quic_echo.c diff --git a/src/tests/vnet/session/tcp_echo.c b/src/plugins/hs_apps/tcp_echo.c index 6c3ce928490..6c3ce928490 100644 --- a/src/tests/vnet/session/tcp_echo.c +++ b/src/plugins/hs_apps/tcp_echo.c diff --git a/src/tests/vnet/session/udp_echo.c b/src/plugins/hs_apps/udp_echo.c index c9992befe98..c9992befe98 100644 --- a/src/tests/vnet/session/udp_echo.c +++ b/src/plugins/hs_apps/udp_echo.c diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 467d82b2bf0..5e1a75f9e75 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -1551,29 +1551,3 @@ add_vpp_library(vnet ) ############################################################################## -# Session echo apps -############################################################################## - -option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON) -if(VPP_BUILD_SESSION_ECHO_APPS) - add_vpp_executable(tcp_echo - SOURCES ../tests/vnet/session/tcp_echo.c - LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt - DEPENDS api_headers - NO_INSTALL - ) - add_vpp_executable(quic_echo - SOURCES ../tests/vnet/session/quic_echo.c - LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt - DEPENDS api_headers - NO_INSTALL - ) - add_vpp_executable(udp_echo - SOURCES ../tests/vnet/session/udp_echo.c - LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt - DEPENDS api_headers - NO_INSTALL - ) -endif(VPP_BUILD_SESSION_ECHO_APPS) - -############################################################################## |