X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2FCMakeLists.txt;h=ac448e268b65db32822581ff069ae99d355316f4;hb=3ae2873e568dd441a22903ab9f8c7954835b0bf1;hp=549b3ac3c4a257aed6ad348c2ed576b1daaccda8;hpb=eb1525f1060569cc3dc03aca7696ce05e1401a09;p=vpp.git diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 549b3ac3c4a..ac448e268b6 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -152,13 +152,20 @@ list(APPEND VNET_SOURCES l2/l2_learn.c l2/l2_output.c l2/l2_in_out_acl.c + l2/l2_in_out_feat_arc.c l2/l2_patch.c l2/l2_rw.c + l2/l2_uu_fwd.c l2/l2_vtr.c l2/l2_xcrw.c ) -list(APPEND VNET_MULTIARCH_SOURCES l2/l2_output.c l2/l2_learn.c) +list(APPEND VNET_MULTIARCH_SOURCES + l2/l2_fwd.c + l2/l2_learn.c + l2/l2_output.c + l2/l2_patch.c +) list(APPEND VNET_HEADERS l2/feat_bitmap.h @@ -302,7 +309,7 @@ list(APPEND VNET_HEADERS bonding/node.h ) -list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c) +list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c) list(APPEND VNET_API_FILES bonding/bond.api) ############################################################################## @@ -485,6 +492,13 @@ list(APPEND VNET_SOURCES ipsec/ipsec_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + ipsec/esp_encrypt.c + ipsec/esp_decrypt.c + ipsec/ah_decrypt.c + ipsec/ah_encrypt.c +) + list(APPEND VNET_API_FILES ipsec/ipsec.api) list(APPEND VNET_SOURCES @@ -523,6 +537,7 @@ list(APPEND VNET_SOURCES tcp/tcp_output.c tcp/tcp_input.c tcp/tcp_newreno.c + tcp/tcp_cubic.c tcp/tcp.c ) @@ -666,6 +681,7 @@ list(APPEND VNET_SOURCES vxlan-gbp/encap.c vxlan-gbp/vxlan_gbp_api.c vxlan-gbp/vxlan_gbp.c + vxlan-gbp/vxlan_gbp_packet.c ) list(APPEND VNET_HEADERS @@ -1015,7 +1031,6 @@ list(APPEND VNET_SOURCES session/application_interface.c session/application_namespace.c session/segment_manager.c - session/session_test.c session/session_api.c ) @@ -1128,14 +1143,12 @@ list(APPEND VNET_API_FILES feature/feature.api) list(APPEND VNET_SOURCES unix/gdb_funcs.c - unix/pcap.c unix/tap_api.c unix/tapcli.c unix/tuntap.c ) list(APPEND VNET_HEADERS - unix/pcap.h unix/tuntap.h unix/tapcli.h ) @@ -1341,6 +1354,10 @@ list(APPEND VNET_HEADERS list(APPEND VNET_API_FILES bier/bier.api) +############################################################################## +# VNET Library +############################################################################## + add_vpp_library(vnet SOURCES ${VNET_SOURCES} MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES} @@ -1349,3 +1366,25 @@ add_vpp_library(vnet LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES} DEPENDS api_headers ) + +############################################################################## +# 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(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) + +##############################################################################