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
48 list(APPEND VNET_HEADERS
72 list(APPEND VNET_API_FILES
77 ##############################################################################
79 ##############################################################################
80 list(APPEND VNET_SOURCES
87 list(APPEND VNET_MULTIARCH_SOURCES
91 list(APPEND VNET_HEADERS
97 list(APPEND VNET_API_FILES policer/policer.api)
99 ##############################################################################
101 ##############################################################################
102 list(APPEND VNET_SOURCES
110 list(APPEND VNET_MULTIARCH_SOURCES
116 list(APPEND VNET_HEADERS
120 list(APPEND VNET_API_FILES cop/cop.api)
122 ##############################################################################
123 # Layer 2 protocols go here
124 ##############################################################################
126 ##############################################################################
127 # Layer 2 protocol: Ethernet
128 ##############################################################################
129 list(APPEND VNET_SOURCES
130 ethernet/ethernet_types_api.c
134 ethernet/mac_address.c
138 ethernet/p2p_ethernet.c
139 ethernet/p2p_ethernet_input.c
140 ethernet/p2p_ethernet_api.c
143 list(APPEND VNET_MULTIARCH_SOURCES
145 ethernet/p2p_ethernet_input.c
148 list(APPEND VNET_HEADERS
151 ethernet/mac_address.h
155 ethernet/p2p_ethernet.h
158 list(APPEND VNET_API_FILES ethernet/p2p_ethernet.api)
160 ##############################################################################
161 # Layer 2 protocol: Ethernet bridging
162 ##############################################################################
163 list(APPEND VNET_SOURCES
169 l2/l2_input_classify.c
170 l2/l2_output_classify.c
180 l2/l2_in_out_feat_arc.c
188 list(APPEND VNET_MULTIARCH_SOURCES
194 l2/l2_in_out_feat_arc.c
195 l2/l2_input_classify.c
197 l2/l2_output_classify.c
207 list(APPEND VNET_HEADERS
224 list(APPEND VNET_API_FILES l2/l2.api)
226 ##############################################################################
227 # Layer 2 protocol: SRP
228 ##############################################################################
229 list(APPEND VNET_SOURCES
236 list(APPEND VNET_HEADERS
241 ##############################################################################
242 # Layer 2 protocol: PPP
243 ##############################################################################
244 list(APPEND VNET_SOURCES
250 list(APPEND VNET_HEADERS
256 ##############################################################################
257 # Layer 2 protocol: HDLC
258 ##############################################################################
259 list(APPEND VNET_SOURCES
265 list(APPEND VNET_HEADERS
271 ##############################################################################
272 # Layer 2 protocol: LLC
273 ##############################################################################
274 list(APPEND VNET_SOURCES
280 list(APPEND VNET_HEADERS
284 ##############################################################################
285 # Layer 2 protocol: SNAP
286 ##############################################################################
287 list(APPEND VNET_SOURCES
293 list(APPEND VNET_HEADERS
297 ##############################################################################
299 ##############################################################################
300 list(APPEND VNET_SOURCES
307 list(APPEND VNET_MULTIARCH_SOURCES
311 list(APPEND VNET_HEADERS
314 vxlan/vxlan_error.def
317 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
319 list(APPEND VNET_API_FILES vxlan/vxlan.api)
321 ##############################################################################
323 ##############################################################################
324 list(APPEND VNET_SOURCES
331 list(APPEND VNET_MULTIARCH_SOURCES
336 list(APPEND VNET_HEADERS
338 geneve/geneve_packet.h
339 geneve/geneve_error.def
342 list(APPEND VNET_API_FILES geneve/geneve.api)
344 ##############################################################################
346 ##############################################################################
347 list(APPEND VNET_SOURCES
354 list(APPEND VNET_HEADERS
358 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
359 list(APPEND VNET_API_FILES bonding/bond.api)
361 ##############################################################################
363 ##############################################################################
364 list(APPEND VNET_SOURCES
372 list(APPEND VNET_HEADERS
377 list(APPEND VNET_API_FILES lldp/lldp.api)
379 ##############################################################################
380 # Layer 2/3 "classify"
381 ##############################################################################
382 list(APPEND VNET_SOURCES
383 classify/vnet_classify.c
384 classify/ip_classify.c
385 classify/in_out_acl.c
386 classify/policer_classify.c
387 classify/flow_classify.c
388 classify/flow_classify_node.c
389 classify/vnet_classify.h
390 classify/classify_api.c
393 list(APPEND VNET_MULTIARCH_SOURCES
394 classify/ip_classify.c
395 classify/flow_classify_node.c
398 list(APPEND VNET_HEADERS
399 classify/vnet_classify.h
400 classify/in_out_acl.h
401 classify/policer_classify.h
402 classify/flow_classify.h
405 list(APPEND VNET_API_FILES classify/classify.api)
407 ##############################################################################
408 # Layer 3 protocols go here
409 ##############################################################################
411 ##############################################################################
412 # Layer 3 protocol: IP v4/v6
413 ##############################################################################
414 list(APPEND VNET_SOURCES
427 ip/ip4_source_and_port_range_check.c
428 ip/ip4_source_check.c
456 list(APPEND VNET_MULTIARCH_SOURCES
457 ip/ip4_source_check.c
468 list(APPEND VNET_HEADERS
481 ip/ip6_hop_by_hop_packet.h
486 ip/ip_source_and_port_range_check.h
495 list(APPEND VNET_API_FILES
501 list(APPEND VNET_MULTIARCH_SOURCES
507 ##############################################################################
509 ##############################################################################
510 list(APPEND VNET_SOURCES
514 list(APPEND VNET_HEADERS
515 ethernet/arp_packet.h
519 ##############################################################################
520 # Bidirectional Forwarding Detection
521 ##############################################################################
523 list(APPEND VNET_HEADERS
530 list(APPEND VNET_SOURCES
539 list(APPEND VNET_API_FILES bfd/bfd.api)
541 ##############################################################################
543 ##############################################################################
545 list(APPEND VNET_SOURCES
551 list(APPEND VNET_HEADERS
555 ##############################################################################
556 # Layer 3 protocol: IPSec
557 ##############################################################################
558 list(APPEND VNET_SOURCES
568 ipsec/ipsec_spd_policy.c
579 list(APPEND VNET_MULTIARCH_SOURCES
590 list(APPEND VNET_API_FILES ipsec/ipsec.api)
592 list(APPEND VNET_SOURCES
596 list(APPEND VNET_HEADERS
599 ipsec/ipsec_spd_policy.h
607 ##############################################################################
608 # Layer 3 protocol: osi
609 ##############################################################################
610 list(APPEND VNET_SOURCES
616 list(APPEND VNET_HEADERS
620 ##############################################################################
621 # Layer 4 protocol: tcp
622 ##############################################################################
623 list(APPEND VNET_SOURCES
627 tcp/tcp_syn_filter4.c
635 list(APPEND VNET_MULTIARCH_SOURCES
638 tcp/tcp_syn_filter4.c
641 list(APPEND VNET_HEADERS
649 list(APPEND VNET_API_FILES tcp/tcp.api)
651 ##############################################################################
652 # Layer 4 protocol: udp
653 ##############################################################################
654 list(APPEND VNET_SOURCES
665 list(APPEND VNET_MULTIARCH_SOURCES
670 list(APPEND VNET_HEADERS
676 list(APPEND VNET_API_FILES udp/udp.api)
678 ##############################################################################
679 # Layer 4 protocol: sctp
680 ##############################################################################
681 list(APPEND VNET_SOURCES
687 sctp/sctp_output_node.c
691 list(APPEND VNET_MULTIARCH_SOURCES
692 sctp/sctp_output_node.c
696 list(APPEND VNET_HEADERS
703 list(APPEND VNET_API_FILES sctp/sctp.api)
705 ##############################################################################
706 # Tunnel protocol: gre
707 ##############################################################################
708 list(APPEND VNET_SOURCES
716 list(APPEND VNET_MULTIARCH_SOURCES
721 list(APPEND VNET_HEADERS
727 list(APPEND VNET_API_FILES gre/gre.api)
729 ##############################################################################
730 # Tunnel protocol: ipip
731 ##############################################################################
732 list(APPEND VNET_SOURCES
740 list(APPEND VNET_MULTIARCH_SOURCES
744 list(APPEND VNET_HEADERS
748 list(APPEND VNET_API_FILES ipip/ipip.api)
750 ##############################################################################
751 # Tunnel protocol: l2tpv3
752 ##############################################################################
753 list(APPEND VNET_SOURCES
761 list(APPEND VNET_MULTIARCH_SOURCES
766 list(APPEND VNET_HEADERS
771 list(APPEND VNET_API_FILES l2tp/l2tp.api)
773 ##############################################################################
774 # Tunnel protocol: gre+mpls
775 ##############################################################################
776 list(APPEND VNET_SOURCES
788 list(APPEND VNET_MULTIARCH_SOURCES
795 list(APPEND VNET_HEADERS
803 list(APPEND VNET_API_FILES mpls/mpls.api)
805 ##############################################################################
806 # Tunnel protocol: vxlan-gbp
807 ##############################################################################
808 list(APPEND VNET_SOURCES
811 vxlan-gbp/vxlan_gbp_api.c
812 vxlan-gbp/vxlan_gbp.c
813 vxlan-gbp/vxlan_gbp_packet.c
816 list (APPEND VNET_MULTIARCH_SOURCES
821 list(APPEND VNET_HEADERS
822 vxlan-gbp/vxlan_gbp.h
823 vxlan-gbp/vxlan_gbp_packet.h
824 vxlan-gbp/vxlan_gbp_error.def
827 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
829 ##############################################################################
830 # Tunnel protocol: vxlan-gpe
831 ##############################################################################
833 list(APPEND VNET_SOURCES
834 vxlan-gpe/vxlan_gpe.c
837 vxlan-gpe/vxlan_gpe_api.c
840 list (APPEND VNET_MULTIARCH_SOURCES
844 list(APPEND VNET_HEADERS
845 vxlan-gpe/vxlan_gpe.h
846 vxlan-gpe/vxlan_gpe_packet.h
847 vxlan-gpe/vxlan_gpe_error.def
850 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
852 ##############################################################################
853 # LISP control plane: lisp-cp
854 ##############################################################################
856 list(APPEND VNET_SOURCES
858 lisp-cp/lisp_cp_dpo.c
860 lisp-cp/gid_dictionary.c
861 lisp-cp/lisp_msg_serdes.c
869 list(APPEND VNET_HEADERS
872 lisp-cp/gid_dictionary.h
873 lisp-cp/lisp_cp_messages.h
874 lisp-cp/lisp_msg_serdes.h
878 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
879 list(APPEND VNET_API_FILES lisp-cp/one.api)
881 ##############################################################################
882 # Tunnel protocol: lisp-gpe
883 ##############################################################################
885 list(APPEND VNET_SOURCES
887 lisp-gpe/lisp_gpe_sub_interface.c
888 lisp-gpe/lisp_gpe_adjacency.c
889 lisp-gpe/lisp_gpe_tunnel.c
890 lisp-gpe/lisp_gpe_fwd_entry.c
891 lisp-gpe/lisp_gpe_tenant.c
894 lisp-gpe/lisp_gpe_api.c
897 list(APPEND VNET_HEADERS
899 lisp-gpe/lisp_gpe_fwd_entry.h
900 lisp-gpe/lisp_gpe_tenant.h
901 lisp-gpe/lisp_gpe_packet.h
902 lisp-gpe/lisp_gpe_error.def
905 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
907 ##############################################################################
909 ##############################################################################
910 list(APPEND VNET_SOURCES
912 dhcp/dhcp_client_detect.c
913 dhcp/dhcp6_client_common_dp.c
914 dhcp/dhcp6_pd_client_dp.c
915 dhcp/dhcp6_pd_client_cp.c
916 dhcp/dhcp6_ia_na_client_dp.c
917 dhcp/dhcp6_ia_na_client_cp.c
921 list(APPEND VNET_MULTIARCH_SOURCES
922 dhcp/dhcp_client_detect.c
925 list(APPEND VNET_HEADERS
927 dhcp/dhcp6_client_common_dp.h
928 dhcp/dhcp6_pd_client_dp.h
929 dhcp/dhcp6_ia_na_client_dp.h
932 list(APPEND VNET_API_FILES
934 dhcp/dhcp6_pd_client_cp.api
935 dhcp/dhcp6_ia_na_client_cp.api
938 ##############################################################################
940 ##############################################################################
941 list(APPEND VNET_SOURCES
942 dhcp/dhcp6_proxy_node.c
943 dhcp/dhcp4_proxy_node.c
947 list(APPEND VNET_HEADERS
951 dhcp/dhcp6_proxy_error.def
952 dhcp/dhcp4_proxy_error.def
955 ##############################################################################
956 # ipv6 segment routing
957 ##############################################################################
959 list(APPEND VNET_SOURCES
962 srv6/sr_policy_rewrite.c
967 list(APPEND VNET_HEADERS
972 list(APPEND VNET_API_FILES srv6/sr.api)
974 ##############################################################################
975 # mpls segment routing
976 ##############################################################################
978 list(APPEND VNET_SOURCES
979 srmpls/sr_mpls_policy.c
980 srmpls/sr_mpls_steering.c
984 list(APPEND VNET_HEADERS
988 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
990 ##############################################################################
991 # IPFIX / netflow v10
992 ##############################################################################
993 list(APPEND VNET_SOURCES
994 ipfix-export/flow_report.c
995 ipfix-export/flow_api.c
998 list(APPEND VNET_HEADERS
999 ipfix-export/flow_report.h
1000 ipfix-export/ipfix_info_elements.h
1001 ipfix-export/ipfix_packet.h
1004 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
1006 ##############################################################################
1007 # IPFIX classify code
1008 ##############################################################################
1010 list(APPEND VNET_SOURCES
1011 ipfix-export/flow_report_classify.c
1014 list(APPEND VNET_HEADERS
1015 ipfix-export/flow_report_classify.h
1018 ##############################################################################
1020 ##############################################################################
1022 list(APPEND VNET_SOURCES
1023 lawful-intercept/lawful_intercept.c
1024 lawful-intercept/node.c
1027 list(APPEND VNET_MULTIARCH_SOURCES
1028 lawful-intercept/node.c
1031 list(APPEND VNET_HEADERS
1032 lawful-intercept/lawful_intercept.h
1035 ##############################################################################
1036 # SPAN (port mirroring)
1037 ##############################################################################
1039 list(APPEND VNET_SOURCES
1045 list(APPEND VNET_MULTIARCH_SOURCES
1049 list(APPEND VNET_HEADERS
1053 list(APPEND VNET_API_FILES span/span.api)
1055 ##############################################################################
1057 ##############################################################################
1058 list(APPEND VNET_SOURCES
1064 dns/resolver_process.c
1067 list(APPEND VNET_HEADERS
1071 list(APPEND VNET_API_FILES dns/dns.api)
1073 ##############################################################################
1075 ##############################################################################
1077 list(APPEND VNET_SOURCES
1087 list(APPEND VNET_HEADERS
1092 list(APPEND VNET_API_FILES pg/pg.api)
1094 ##############################################################################
1096 ##############################################################################
1098 list(APPEND VNET_SOURCES
1099 devices/virtio/device.c
1100 devices/virtio/node.c
1101 devices/virtio/vhost_user.c
1102 devices/virtio/vhost_user_input.c
1103 devices/virtio/vhost_user_output.c
1104 devices/virtio/vhost_user_api.c
1105 devices/virtio/virtio.c
1106 devices/virtio/virtio_api.c
1107 devices/virtio/cli.c
1108 devices/virtio/pci.c
1111 list(APPEND VNET_HEADERS
1112 devices/virtio/pci.h
1113 devices/virtio/virtio.h
1114 devices/virtio/vhost_user.h
1117 list(APPEND VNET_MULTIARCH_SOURCES
1118 devices/virtio/vhost_user_input.c
1119 devices/virtio/vhost_user_output.c
1120 devices/netmap/node.c
1121 devices/virtio/node.c
1122 devices/af_packet/node.c
1123 devices/virtio/device.c
1126 list(APPEND VNET_API_FILES
1127 devices/virtio/vhost_user.api
1128 devices/virtio/virtio.api
1131 ##############################################################################
1132 # tap interface (with virtio backend)
1133 ##############################################################################
1135 list(APPEND VNET_SOURCES
1138 devices/tap/tapv2_api.c
1141 list(APPEND VNET_HEADERS
1145 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1147 ##############################################################################
1148 # tap interface (with virtio backend)
1149 ##############################################################################
1151 list(APPEND VNET_SOURCES
1152 devices/pipe/pipe_api.c
1156 list(APPEND VNET_HEADERS
1160 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1162 ##############################################################################
1163 # session managmeent
1164 ##############################################################################
1166 list(APPEND VNET_SOURCES
1168 session/session_table.c
1169 session/session_rules_table.c
1170 session/session_lookup.c
1171 session/session_node.c
1173 session/application.c
1174 session/application_worker.c
1175 session/session_cli.c
1176 session/application_interface.c
1177 session/application_local.c
1178 session/application_namespace.c
1179 session/segment_manager.c
1180 session/session_api.c
1183 list(APPEND VNET_HEADERS
1185 session/session_table.h
1186 session/session_rules_table.h
1187 session/session_types.h
1188 session/session_lookup.h
1189 session/application.h
1191 session/transport_types.h
1192 session/application_interface.h
1193 session/application_local.h
1194 session/application_namespace.h
1195 session/session_debug.h
1196 session/segment_manager.h
1197 session/mma_template.h
1198 session/mma_template.c
1203 list(APPEND VNET_API_FILES session/session.api)
1205 ##############################################################################
1206 # session layer applications
1207 ##############################################################################
1209 list(APPEND VNET_SOURCES
1210 session-apps/echo_client.c
1211 session-apps/echo_server.c
1212 session-apps/http_server.c
1213 session-apps/proxy.c
1216 list(APPEND VNET_HEADERS
1217 session-apps/echo_client.h
1218 session-apps/proxy.h
1221 ##############################################################################
1223 ##############################################################################
1225 list(APPEND VNET_SOURCES
1229 list(APPEND VNET_HEADERS
1234 ##############################################################################
1235 # Linux packet interface
1236 ##############################################################################
1238 list(APPEND VNET_SOURCES
1239 devices/af_packet/af_packet.c
1240 devices/af_packet/device.c
1241 devices/af_packet/node.c
1242 devices/af_packet/cli.c
1243 devices/af_packet/af_packet_api.c
1246 list(APPEND VNET_MULTIARCH_SOURCES
1247 devices/netmap/device.c
1248 devices/af_packet/device.c
1251 list(APPEND VNET_HEADERS
1252 devices/af_packet/af_packet.h
1255 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1257 ##############################################################################
1259 ##############################################################################
1261 list(APPEND VNET_SOURCES
1262 devices/netmap/netmap.c
1263 devices/netmap/device.c
1264 devices/netmap/node.c
1265 devices/netmap/cli.c
1266 devices/netmap/netmap_api.c
1269 list(APPEND VNET_HEADERS
1270 devices/netmap/netmap.h
1273 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1275 ##############################################################################
1276 # Driver feature graph arc support
1277 ##############################################################################
1279 list(APPEND VNET_SOURCES
1281 feature/feature_api.c
1282 feature/registration.c
1285 list(APPEND VNET_HEADERS
1289 list(APPEND VNET_API_FILES feature/feature.api)
1291 ##############################################################################
1292 # Unix kernel related
1293 ##############################################################################
1295 # FIXME: unix/hgshm.c
1297 list(APPEND VNET_SOURCES
1302 list(APPEND VNET_HEADERS
1306 ##############################################################################
1308 ##############################################################################
1310 list(APPEND VNET_SOURCES
1322 fib/fib_entry_src_rr.c
1323 fib/fib_entry_src_interface.c
1324 fib/fib_entry_src_interpose.c
1325 fib/fib_entry_src_default_route.c
1326 fib/fib_entry_src_special.c
1327 fib/fib_entry_src_api.c
1328 fib/fib_entry_src_adj.c
1329 fib/fib_entry_src_mpls.c
1330 fib/fib_entry_src_lisp.c
1331 fib/fib_entry_cover.c
1332 fib/fib_entry_delegate.c
1337 fib/fib_attached_export.c
1342 list(APPEND VNET_HEADERS
1352 fib/fib_entry_delegate.h
1355 ##############################################################################
1357 ##############################################################################
1359 list(APPEND VNET_SOURCES
1363 adj/adj_midchain_delegate.c
1373 list(APPEND VNET_MULTIARCH_SOURCES
1378 list(APPEND VNET_HEADERS
1387 ##############################################################################
1388 # Data-Plane Objects
1389 ##############################################################################
1391 list(APPEND VNET_SOURCES
1399 dpo/load_balance_map.c
1403 dpo/interface_rx_dpo.c
1404 dpo/interface_tx_dpo.c
1405 dpo/mpls_disposition.c
1406 dpo/mpls_label_dpo.c
1411 list(APPEND VNET_MULTIARCH_SOURCES
1413 dpo/mpls_disposition.c
1415 dpo/mpls_label_dpo.c
1416 dpo/interface_rx_dpo.c
1419 list(APPEND VNET_HEADERS
1431 ##############################################################################
1433 ##############################################################################
1435 list(APPEND VNET_SOURCES
1445 mfib/mfib_entry_cover.c
1446 mfib/mfib_entry_delegate.c
1447 mfib/mfib_entry_src.c
1448 mfib/mfib_entry_src_rr.c
1452 list(APPEND VNET_MULTIARCH_SOURCES
1456 list(APPEND VNET_HEADERS
1462 ##############################################################################
1464 ##############################################################################
1466 list(APPEND VNET_SOURCES
1473 list(APPEND VNET_HEADERS
1477 ##############################################################################
1479 ##############################################################################
1481 list(APPEND VNET_SOURCES
1484 qos/qos_egress_map.c
1486 qos/qos_record_node.c
1491 list(APPEND VNET_MULTIARCH_SOURCES
1492 qos/qos_record_node.c
1496 list(APPEND VNET_API_FILES qos/qos.api)
1498 ##############################################################################
1500 ##############################################################################
1502 list(APPEND VNET_SOURCES
1503 bier/bier_bit_string.c
1506 bier/bier_fmask_db.c
1515 bier/bier_imp_node.c
1517 bier/bier_disp_entry.c
1518 bier/bier_disp_lookup_node.c
1519 bier/bier_disp_dispatch_node.c
1520 bier/bier_disp_table.c
1521 bier/bier_bift_table.c
1524 list(APPEND VNET_MULTIARCH_SOURCES
1525 bier/bier_disp_dispatch_node.c
1526 bier/bier_disp_lookup_node.c
1527 bier/bier_imp_node.c
1530 list(APPEND VNET_HEADERS
1537 list(APPEND VNET_API_FILES bier/bier.api)
1539 ##############################################################################
1541 ##############################################################################
1543 list (APPEND VNET_SOURCES
1549 list(APPEND VNET_HEADERS
1554 list(APPEND VNET_API_FILES syslog/syslog.api)
1556 ##############################################################################
1558 ##############################################################################
1560 add_vpp_library(vnet
1561 SOURCES ${VNET_SOURCES}
1562 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1563 INSTALL_HEADERS ${VNET_HEADERS}
1564 API_FILES ${VNET_API_FILES}
1565 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1569 ##############################################################################
1571 ##############################################################################
1573 option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON)
1574 if(VPP_BUILD_SESSION_ECHO_APPS)
1575 add_vpp_executable(tcp_echo
1576 SOURCES ../tests/vnet/session/tcp_echo.c
1577 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1581 add_vpp_executable(quic_echo
1582 SOURCES ../tests/vnet/session/quic_echo.c
1583 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1587 add_vpp_executable(udp_echo
1588 SOURCES ../tests/vnet/session/udp_echo.c
1589 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1593 endif(VPP_BUILD_SESSION_ECHO_APPS)
1595 ##############################################################################