1 # Copyright (c) 2018 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
14 add_definitions (-DWITH_LIBSSL=1)
15 include_directories(${OPENSSL_INCLUDE_DIR})
20 unset(VNET_MULTIARCH_SOURCES)
22 ##############################################################################
24 ##############################################################################
25 list(APPEND VNET_SOURCES
42 list(APPEND VNET_MULTIARCH_SOURCES
47 list(APPEND VNET_HEADERS
70 list(APPEND VNET_API_FILES interface.api)
72 ##############################################################################
74 ##############################################################################
75 list(APPEND VNET_SOURCES
82 list(APPEND VNET_MULTIARCH_SOURCES
86 list(APPEND VNET_HEADERS
92 list(APPEND VNET_API_FILES policer/policer.api)
94 ##############################################################################
96 ##############################################################################
97 list(APPEND VNET_SOURCES
105 list(APPEND VNET_MULTIARCH_SOURCES
111 list(APPEND VNET_HEADERS
115 list(APPEND VNET_API_FILES cop/cop.api)
117 ##############################################################################
118 # Layer 2 protocols go here
119 ##############################################################################
121 ##############################################################################
122 # Layer 2 protocol: Ethernet
123 ##############################################################################
124 list(APPEND VNET_SOURCES
125 ethernet/ethernet_types_api.c
129 ethernet/mac_address.c
133 ethernet/p2p_ethernet.c
134 ethernet/p2p_ethernet_input.c
135 ethernet/p2p_ethernet_api.c
138 list(APPEND VNET_MULTIARCH_SOURCES ethernet/node.c)
140 list(APPEND VNET_HEADERS
143 ethernet/mac_address.h
147 ethernet/p2p_ethernet.h
150 list(APPEND VNET_API_FILES ethernet/p2p_ethernet.api)
152 ##############################################################################
153 # Layer 2 protocol: Ethernet bridging
154 ##############################################################################
155 list(APPEND VNET_SOURCES
160 l2/l2_input_classify.c
161 l2/l2_output_classify.c
171 l2/l2_in_out_feat_arc.c
179 list(APPEND VNET_MULTIARCH_SOURCES
186 list(APPEND VNET_HEADERS
203 list(APPEND VNET_API_FILES l2/l2.api)
205 ##############################################################################
206 # Layer 2 protocol: SRP
207 ##############################################################################
208 list(APPEND VNET_SOURCES
215 list(APPEND VNET_HEADERS
220 ##############################################################################
221 # Layer 2 protocol: PPP
222 ##############################################################################
223 list(APPEND VNET_SOURCES
229 list(APPEND VNET_HEADERS
235 ##############################################################################
236 # Layer 2 protocol: HDLC
237 ##############################################################################
238 list(APPEND VNET_SOURCES
244 list(APPEND VNET_HEADERS
250 ##############################################################################
251 # Layer 2 protocol: LLC
252 ##############################################################################
253 list(APPEND VNET_SOURCES
259 list(APPEND VNET_HEADERS
263 ##############################################################################
264 # Layer 2 protocol: SNAP
265 ##############################################################################
266 list(APPEND VNET_SOURCES
272 list(APPEND VNET_HEADERS
276 ##############################################################################
278 ##############################################################################
279 list(APPEND VNET_SOURCES
286 list(APPEND VNET_MULTIARCH_SOURCES
290 list(APPEND VNET_HEADERS
293 vxlan/vxlan_error.def
296 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
298 list(APPEND VNET_API_FILES vxlan/vxlan.api)
300 ##############################################################################
302 ##############################################################################
303 list(APPEND VNET_SOURCES
310 list(APPEND VNET_MULTIARCH_SOURCES
315 list(APPEND VNET_HEADERS
317 geneve/geneve_packet.h
318 geneve/geneve_error.def
321 list(APPEND VNET_API_FILES geneve/geneve.api)
323 ##############################################################################
325 ##############################################################################
326 list(APPEND VNET_SOURCES
333 list(APPEND VNET_HEADERS
337 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
338 list(APPEND VNET_API_FILES bonding/bond.api)
340 ##############################################################################
342 ##############################################################################
343 list(APPEND VNET_SOURCES
351 list(APPEND VNET_HEADERS
356 list(APPEND VNET_API_FILES lldp/lldp.api)
358 ##############################################################################
359 # Layer 2/3 "classify"
360 ##############################################################################
361 list(APPEND VNET_SOURCES
362 classify/vnet_classify.c
363 classify/ip_classify.c
364 classify/in_out_acl.c
365 classify/policer_classify.c
366 classify/flow_classify.c
367 classify/flow_classify_node.c
368 classify/vnet_classify.h
369 classify/classify_api.c
372 list(APPEND VNET_MULTIARCH_SOURCES
373 classify/ip_classify.c
374 classify/flow_classify_node.c
377 list(APPEND VNET_HEADERS
378 classify/vnet_classify.h
379 classify/in_out_acl.h
380 classify/policer_classify.h
381 classify/flow_classify.h
384 list(APPEND VNET_API_FILES classify/classify.api)
386 ##############################################################################
387 # Layer 3 protocols go here
388 ##############################################################################
390 ##############################################################################
391 # Layer 3 protocol: IP v4/v6
392 ##############################################################################
393 list(APPEND VNET_SOURCES
406 ip/ip4_source_and_port_range_check.c
407 ip/ip4_source_check.c
433 list(APPEND VNET_HEADERS
446 ip/ip6_hop_by_hop_packet.h
451 ip/ip_source_and_port_range_check.h
460 list(APPEND VNET_API_FILES
466 list(APPEND VNET_MULTIARCH_SOURCES
472 ##############################################################################
474 ##############################################################################
475 list(APPEND VNET_SOURCES
479 list(APPEND VNET_HEADERS
480 ethernet/arp_packet.h
484 ##############################################################################
485 # Bidirectional Forwarding Detection
486 ##############################################################################
488 list(APPEND VNET_HEADERS
495 list(APPEND VNET_SOURCES
504 list(APPEND VNET_API_FILES bfd/bfd.api)
506 ##############################################################################
507 # Layer 3 protocol: IPSec
508 ##############################################################################
509 list(APPEND VNET_SOURCES
518 ipsec/ipsec_spd_policy.c
527 list(APPEND VNET_MULTIARCH_SOURCES
537 list(APPEND VNET_API_FILES ipsec/ipsec.api)
539 list(APPEND VNET_SOURCES
543 list(APPEND VNET_HEADERS
546 ipsec/ipsec_spd_policy.h
553 ##############################################################################
554 # Layer 3 protocol: osi
555 ##############################################################################
556 list(APPEND VNET_SOURCES
562 list(APPEND VNET_HEADERS
566 ##############################################################################
567 # Layer 4 protocol: tcp
568 ##############################################################################
569 list(APPEND VNET_SOURCES
573 tcp/tcp_syn_filter4.c
581 list(APPEND VNET_MULTIARCH_SOURCES
584 tcp/tcp_syn_filter4.c
587 list(APPEND VNET_HEADERS
595 list(APPEND VNET_API_FILES tcp/tcp.api)
597 ##############################################################################
598 # Layer 4 protocol: udp
599 ##############################################################################
600 list(APPEND VNET_SOURCES
611 list(APPEND VNET_MULTIARCH_SOURCES
616 list(APPEND VNET_HEADERS
622 list(APPEND VNET_API_FILES udp/udp.api)
624 ##############################################################################
625 # Layer 4 protocol: sctp
626 ##############################################################################
627 list(APPEND VNET_SOURCES
633 sctp/sctp_output_node.c
637 list(APPEND VNET_MULTIARCH_SOURCES
638 sctp/sctp_output_node.c
642 list(APPEND VNET_HEADERS
649 list(APPEND VNET_API_FILES sctp/sctp.api)
651 ##############################################################################
652 # Tunnel protocol: gre
653 ##############################################################################
654 list(APPEND VNET_SOURCES
662 list(APPEND VNET_MULTIARCH_SOURCES
667 list(APPEND VNET_HEADERS
673 list(APPEND VNET_API_FILES gre/gre.api)
675 ##############################################################################
676 # Tunnel protocol: ipip
677 ##############################################################################
678 list(APPEND VNET_SOURCES
686 list(APPEND VNET_MULTIARCH_SOURCES
690 list(APPEND VNET_HEADERS
694 list(APPEND VNET_API_FILES ipip/ipip.api)
696 ##############################################################################
697 # Tunnel protocol: l2tpv3
698 ##############################################################################
699 list(APPEND VNET_SOURCES
707 list(APPEND VNET_HEADERS
712 list(APPEND VNET_API_FILES l2tp/l2tp.api)
714 ##############################################################################
715 # Tunnel protocol: gre+mpls
716 ##############################################################################
717 list(APPEND VNET_SOURCES
729 list(APPEND VNET_MULTIARCH_SOURCES
736 list(APPEND VNET_HEADERS
744 list(APPEND VNET_API_FILES mpls/mpls.api)
746 ##############################################################################
747 # Tunnel protocol: vxlan-gbp
748 ##############################################################################
749 list(APPEND VNET_SOURCES
752 vxlan-gbp/vxlan_gbp_api.c
753 vxlan-gbp/vxlan_gbp.c
754 vxlan-gbp/vxlan_gbp_packet.c
757 list (APPEND VNET_MULTIARCH_SOURCES
762 list(APPEND VNET_HEADERS
763 vxlan-gbp/vxlan_gbp.h
764 vxlan-gbp/vxlan_gbp_packet.h
765 vxlan-gbp/vxlan_gbp_error.def
768 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
770 ##############################################################################
771 # Tunnel protocol: vxlan-gpe
772 ##############################################################################
774 list(APPEND VNET_SOURCES
775 vxlan-gpe/vxlan_gpe.c
778 vxlan-gpe/vxlan_gpe_api.c
781 list (APPEND VNET_MULTIARCH_SOURCES
785 list(APPEND VNET_HEADERS
786 vxlan-gpe/vxlan_gpe.h
787 vxlan-gpe/vxlan_gpe_packet.h
788 vxlan-gpe/vxlan_gpe_error.def
791 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
793 ##############################################################################
794 # Tunnel protocol: ipsec+gre
795 ##############################################################################
796 list(APPEND VNET_SOURCES
797 ipsec-gre/ipsec_gre.c
799 ipsec-gre/interface.c
800 ipsec-gre/ipsec_gre_api.c
803 list(APPEND VNET_HEADERS
804 ipsec-gre/ipsec_gre.h
808 list(APPEND VNET_API_FILES ipsec-gre/ipsec_gre.api)
810 ##############################################################################
811 # LISP control plane: lisp-cp
812 ##############################################################################
814 list(APPEND VNET_SOURCES
816 lisp-cp/lisp_cp_dpo.c
818 lisp-cp/gid_dictionary.c
819 lisp-cp/lisp_msg_serdes.c
827 list(APPEND VNET_HEADERS
830 lisp-cp/gid_dictionary.h
831 lisp-cp/lisp_cp_messages.h
832 lisp-cp/lisp_msg_serdes.h
836 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
837 list(APPEND VNET_API_FILES lisp-cp/one.api)
839 ##############################################################################
840 # Tunnel protocol: lisp-gpe
841 ##############################################################################
843 list(APPEND VNET_SOURCES
845 lisp-gpe/lisp_gpe_sub_interface.c
846 lisp-gpe/lisp_gpe_adjacency.c
847 lisp-gpe/lisp_gpe_tunnel.c
848 lisp-gpe/lisp_gpe_fwd_entry.c
849 lisp-gpe/lisp_gpe_tenant.c
852 lisp-gpe/lisp_gpe_api.c
855 list(APPEND VNET_HEADERS
857 lisp-gpe/lisp_gpe_fwd_entry.h
858 lisp-gpe/lisp_gpe_tenant.h
859 lisp-gpe/lisp_gpe_packet.h
860 lisp-gpe/lisp_gpe_error.def
863 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
865 ##############################################################################
867 ##############################################################################
868 list(APPEND VNET_SOURCES
870 dhcp/dhcp_client_detect.c
871 dhcp/dhcp6_client_common_dp.c
872 dhcp/dhcp6_pd_client_dp.c
873 dhcp/dhcp6_pd_client_cp.c
874 dhcp/dhcp6_ia_na_client_dp.c
875 dhcp/dhcp6_ia_na_client_cp.c
879 list(APPEND VNET_HEADERS
881 dhcp/dhcp6_client_common_dp.h
882 dhcp/dhcp6_pd_client_dp.h
883 dhcp/dhcp6_ia_na_client_dp.h
886 list(APPEND VNET_API_FILES
888 dhcp/dhcp6_pd_client_cp.api
889 dhcp/dhcp6_ia_na_client_cp.api
892 ##############################################################################
894 ##############################################################################
895 list(APPEND VNET_SOURCES
896 dhcp/dhcp6_proxy_node.c
897 dhcp/dhcp4_proxy_node.c
901 list(APPEND VNET_HEADERS
905 dhcp/dhcp6_proxy_error.def
906 dhcp/dhcp4_proxy_error.def
909 ##############################################################################
910 # ipv6 segment routing
911 ##############################################################################
913 list(APPEND VNET_SOURCES
916 srv6/sr_policy_rewrite.c
921 list(APPEND VNET_HEADERS
926 list(APPEND VNET_API_FILES srv6/sr.api)
928 ##############################################################################
929 # mpls segment routing
930 ##############################################################################
932 list(APPEND VNET_SOURCES
933 srmpls/sr_mpls_policy.c
934 srmpls/sr_mpls_steering.c
938 list(APPEND VNET_HEADERS
942 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
944 ##############################################################################
945 # IPFIX / netflow v10
946 ##############################################################################
947 list(APPEND VNET_SOURCES
948 ipfix-export/flow_report.c
949 ipfix-export/flow_api.c
952 list(APPEND VNET_HEADERS
953 ipfix-export/flow_report.h
954 ipfix-export/ipfix_info_elements.h
955 ipfix-export/ipfix_packet.h
958 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
960 ##############################################################################
961 # IPFIX classify code
962 ##############################################################################
964 list(APPEND VNET_SOURCES
965 ipfix-export/flow_report_classify.c
968 list(APPEND VNET_HEADERS
969 ipfix-export/flow_report_classify.h
972 ##############################################################################
974 ##############################################################################
976 list(APPEND VNET_SOURCES
977 lawful-intercept/lawful_intercept.c
978 lawful-intercept/node.c
981 list(APPEND VNET_HEADERS
982 lawful-intercept/lawful_intercept.h
985 ##############################################################################
986 # SPAN (port mirroring)
987 ##############################################################################
989 list(APPEND VNET_SOURCES
995 list(APPEND VNET_MULTIARCH_SOURCES
999 list(APPEND VNET_HEADERS
1003 list(APPEND VNET_API_FILES span/span.api)
1005 ##############################################################################
1007 ##############################################################################
1008 list(APPEND VNET_SOURCES
1014 dns/resolver_process.c
1017 list(APPEND VNET_HEADERS
1021 list(APPEND VNET_API_FILES dns/dns.api)
1023 ##############################################################################
1025 ##############################################################################
1027 list(APPEND VNET_SOURCES
1037 list(APPEND VNET_HEADERS
1042 list(APPEND VNET_API_FILES pg/pg.api)
1044 ##############################################################################
1046 ##############################################################################
1048 list(APPEND VNET_SOURCES
1049 devices/virtio/device.c
1050 devices/virtio/node.c
1051 devices/virtio/vhost_user.c
1052 devices/virtio/vhost_user_input.c
1053 devices/virtio/vhost_user_output.c
1054 devices/virtio/vhost_user_api.c
1055 devices/virtio/virtio.c
1056 devices/virtio/virtio_api.c
1057 devices/virtio/cli.c
1058 devices/virtio/pci.c
1061 list(APPEND VNET_HEADERS
1062 devices/virtio/pci.h
1063 devices/virtio/virtio.h
1064 devices/virtio/vhost_user.h
1067 list(APPEND VNET_MULTIARCH_SOURCES
1068 devices/virtio/vhost_user_input.c
1069 devices/virtio/vhost_user_output.c
1070 devices/netmap/node.c
1071 devices/virtio/node.c
1072 devices/af_packet/node.c
1075 list(APPEND VNET_API_FILES
1076 devices/virtio/vhost_user.api
1077 devices/virtio/virtio.api
1080 ##############################################################################
1081 # tap interface (with virtio backend)
1082 ##############################################################################
1084 list(APPEND VNET_SOURCES
1087 devices/tap/tapv2_api.c
1090 list(APPEND VNET_HEADERS
1094 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1096 ##############################################################################
1097 # tap interface (with virtio backend)
1098 ##############################################################################
1100 list(APPEND VNET_SOURCES
1101 devices/pipe/pipe_api.c
1105 list(APPEND VNET_HEADERS
1109 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1111 ##############################################################################
1112 # session managmeent
1113 ##############################################################################
1115 list(APPEND VNET_SOURCES
1117 session/session_table.c
1118 session/session_rules_table.c
1119 session/session_lookup.c
1120 session/session_node.c
1122 session/application.c
1123 session/application_worker.c
1124 session/session_cli.c
1125 session/application_interface.c
1126 session/application_local.c
1127 session/application_namespace.c
1128 session/segment_manager.c
1129 session/session_api.c
1132 list(APPEND VNET_HEADERS
1134 session/session_table.h
1135 session/session_rules_table.h
1136 session/session_types.h
1137 session/session_lookup.h
1138 session/application.h
1140 session/transport_types.h
1141 session/application_interface.h
1142 session/application_local.h
1143 session/application_namespace.h
1144 session/session_debug.h
1145 session/segment_manager.h
1146 session/mma_template.h
1147 session/mma_template.c
1152 list(APPEND VNET_API_FILES session/session.api)
1154 ##############################################################################
1155 # session layer applications
1156 ##############################################################################
1158 list(APPEND VNET_SOURCES
1159 session-apps/echo_client.c
1160 session-apps/echo_server.c
1161 session-apps/http_server.c
1162 session-apps/proxy.c
1165 list(APPEND VNET_HEADERS
1166 session-apps/echo_client.h
1167 session-apps/proxy.h
1170 ##############################################################################
1172 ##############################################################################
1174 list(APPEND VNET_SOURCES
1178 list(APPEND VNET_HEADERS
1183 ##############################################################################
1184 # Linux packet interface
1185 ##############################################################################
1187 list(APPEND VNET_SOURCES
1188 devices/af_packet/af_packet.c
1189 devices/af_packet/device.c
1190 devices/af_packet/node.c
1191 devices/af_packet/cli.c
1192 devices/af_packet/af_packet_api.c
1195 list(APPEND VNET_HEADERS
1196 devices/af_packet/af_packet.h
1199 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1201 ##############################################################################
1203 ##############################################################################
1205 list(APPEND VNET_SOURCES
1206 devices/netmap/netmap.c
1207 devices/netmap/device.c
1208 devices/netmap/node.c
1209 devices/netmap/cli.c
1210 devices/netmap/netmap_api.c
1213 list(APPEND VNET_HEADERS
1214 devices/netmap/netmap.h
1217 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1219 ##############################################################################
1220 # Driver feature graph arc support
1221 ##############################################################################
1223 list(APPEND VNET_SOURCES
1225 feature/feature_api.c
1226 feature/registration.c
1229 list(APPEND VNET_HEADERS
1233 list(APPEND VNET_API_FILES feature/feature.api)
1235 ##############################################################################
1236 # Unix kernel related
1237 ##############################################################################
1239 # FIXME: unix/hgshm.c
1241 list(APPEND VNET_SOURCES
1246 list(APPEND VNET_HEADERS
1250 ##############################################################################
1252 ##############################################################################
1254 list(APPEND VNET_SOURCES
1266 fib/fib_entry_src_rr.c
1267 fib/fib_entry_src_interface.c
1268 fib/fib_entry_src_interpose.c
1269 fib/fib_entry_src_default_route.c
1270 fib/fib_entry_src_special.c
1271 fib/fib_entry_src_api.c
1272 fib/fib_entry_src_adj.c
1273 fib/fib_entry_src_mpls.c
1274 fib/fib_entry_src_lisp.c
1275 fib/fib_entry_cover.c
1276 fib/fib_entry_delegate.c
1281 fib/fib_attached_export.c
1286 list(APPEND VNET_HEADERS
1296 fib/fib_entry_delegate.h
1299 ##############################################################################
1301 ##############################################################################
1303 list(APPEND VNET_SOURCES
1316 list(APPEND VNET_MULTIARCH_SOURCES
1321 list(APPEND VNET_HEADERS
1330 ##############################################################################
1331 # Data-Plane Objects
1332 ##############################################################################
1334 list(APPEND VNET_SOURCES
1342 dpo/load_balance_map.c
1346 dpo/interface_rx_dpo.c
1347 dpo/interface_tx_dpo.c
1348 dpo/mpls_disposition.c
1349 dpo/mpls_label_dpo.c
1354 list(APPEND VNET_MULTIARCH_SOURCES
1356 dpo/mpls_disposition.c
1358 dpo/mpls_label_dpo.c
1359 dpo/interface_rx_dpo.c
1362 list(APPEND VNET_HEADERS
1374 ##############################################################################
1376 ##############################################################################
1378 list(APPEND VNET_SOURCES
1387 mfib/mfib_entry_cover.c
1388 mfib/mfib_entry_delegate.c
1389 mfib/mfib_entry_src.c
1390 mfib/mfib_entry_src_rr.c
1394 list(APPEND VNET_MULTIARCH_SOURCES
1398 list(APPEND VNET_HEADERS
1404 ##############################################################################
1406 ##############################################################################
1408 list(APPEND VNET_SOURCES
1415 list(APPEND VNET_HEADERS
1419 ##############################################################################
1421 ##############################################################################
1423 list(APPEND VNET_SOURCES
1426 qos/qos_egress_map.c
1428 qos/qos_record_node.c
1433 list(APPEND VNET_MULTIARCH_SOURCES
1434 qos/qos_record_node.c
1438 list(APPEND VNET_API_FILES qos/qos.api)
1440 ##############################################################################
1442 ##############################################################################
1444 list(APPEND VNET_SOURCES
1445 bier/bier_bit_string.c
1448 bier/bier_fmask_db.c
1457 bier/bier_imp_node.c
1459 bier/bier_disp_entry.c
1460 bier/bier_disp_lookup_node.c
1461 bier/bier_disp_dispatch_node.c
1462 bier/bier_disp_table.c
1463 bier/bier_bift_table.c
1466 list(APPEND VNET_MULTIARCH_SOURCES
1467 bier/bier_disp_dispatch_node.c
1468 bier/bier_disp_lookup_node.c
1469 bier/bier_imp_node.c
1472 list(APPEND VNET_HEADERS
1479 list(APPEND VNET_API_FILES bier/bier.api)
1481 ##############################################################################
1483 ##############################################################################
1485 list (APPEND VNET_SOURCES
1491 list(APPEND VNET_HEADERS
1496 list(APPEND VNET_API_FILES syslog/syslog.api)
1498 ##############################################################################
1500 ##############################################################################
1502 add_vpp_library(vnet
1503 SOURCES ${VNET_SOURCES}
1504 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1505 INSTALL_HEADERS ${VNET_HEADERS}
1506 API_FILES ${VNET_API_FILES}
1507 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1511 ##############################################################################
1513 ##############################################################################
1515 option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON)
1516 if(VPP_BUILD_SESSION_ECHO_APPS)
1517 add_vpp_executable(tcp_echo
1518 SOURCES ../tests/vnet/session/tcp_echo.c
1519 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1523 add_vpp_executable(udp_echo
1524 SOURCES ../tests/vnet/session/udp_echo.c
1525 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1529 endif(VPP_BUILD_SESSION_ECHO_APPS)
1531 ##############################################################################