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
455 list(APPEND VNET_MULTIARCH_SOURCES
456 ip/ip4_source_check.c
467 list(APPEND VNET_HEADERS
480 ip/ip6_hop_by_hop_packet.h
485 ip/ip_source_and_port_range_check.h
494 list(APPEND VNET_API_FILES
500 list(APPEND VNET_MULTIARCH_SOURCES
506 ##############################################################################
508 ##############################################################################
509 list(APPEND VNET_SOURCES
513 list(APPEND VNET_HEADERS
514 ethernet/arp_packet.h
518 ##############################################################################
519 # Bidirectional Forwarding Detection
520 ##############################################################################
522 list(APPEND VNET_HEADERS
529 list(APPEND VNET_SOURCES
538 list(APPEND VNET_API_FILES bfd/bfd.api)
540 ##############################################################################
542 ##############################################################################
544 list(APPEND VNET_SOURCES
550 list(APPEND VNET_HEADERS
554 ##############################################################################
555 # Layer 3 protocol: IPSec
556 ##############################################################################
557 list(APPEND VNET_SOURCES
567 ipsec/ipsec_spd_policy.c
576 list(APPEND VNET_MULTIARCH_SOURCES
586 list(APPEND VNET_API_FILES ipsec/ipsec.api)
588 list(APPEND VNET_SOURCES
592 list(APPEND VNET_HEADERS
595 ipsec/ipsec_spd_policy.h
602 ##############################################################################
603 # Layer 3 protocol: osi
604 ##############################################################################
605 list(APPEND VNET_SOURCES
611 list(APPEND VNET_HEADERS
615 ##############################################################################
616 # Layer 4 protocol: tcp
617 ##############################################################################
618 list(APPEND VNET_SOURCES
622 tcp/tcp_syn_filter4.c
630 list(APPEND VNET_MULTIARCH_SOURCES
633 tcp/tcp_syn_filter4.c
636 list(APPEND VNET_HEADERS
644 list(APPEND VNET_API_FILES tcp/tcp.api)
646 ##############################################################################
647 # Layer 4 protocol: udp
648 ##############################################################################
649 list(APPEND VNET_SOURCES
660 list(APPEND VNET_MULTIARCH_SOURCES
665 list(APPEND VNET_HEADERS
671 list(APPEND VNET_API_FILES udp/udp.api)
673 ##############################################################################
674 # Layer 4 protocol: sctp
675 ##############################################################################
676 list(APPEND VNET_SOURCES
682 sctp/sctp_output_node.c
686 list(APPEND VNET_MULTIARCH_SOURCES
687 sctp/sctp_output_node.c
691 list(APPEND VNET_HEADERS
698 list(APPEND VNET_API_FILES sctp/sctp.api)
700 ##############################################################################
701 # Tunnel protocol: gre
702 ##############################################################################
703 list(APPEND VNET_SOURCES
711 list(APPEND VNET_MULTIARCH_SOURCES
716 list(APPEND VNET_HEADERS
722 list(APPEND VNET_API_FILES gre/gre.api)
724 ##############################################################################
725 # Tunnel protocol: ipip
726 ##############################################################################
727 list(APPEND VNET_SOURCES
735 list(APPEND VNET_MULTIARCH_SOURCES
739 list(APPEND VNET_HEADERS
743 list(APPEND VNET_API_FILES ipip/ipip.api)
745 ##############################################################################
746 # Tunnel protocol: l2tpv3
747 ##############################################################################
748 list(APPEND VNET_SOURCES
756 list(APPEND VNET_MULTIARCH_SOURCES
761 list(APPEND VNET_HEADERS
766 list(APPEND VNET_API_FILES l2tp/l2tp.api)
768 ##############################################################################
769 # Tunnel protocol: gre+mpls
770 ##############################################################################
771 list(APPEND VNET_SOURCES
783 list(APPEND VNET_MULTIARCH_SOURCES
790 list(APPEND VNET_HEADERS
798 list(APPEND VNET_API_FILES mpls/mpls.api)
800 ##############################################################################
801 # Tunnel protocol: vxlan-gbp
802 ##############################################################################
803 list(APPEND VNET_SOURCES
806 vxlan-gbp/vxlan_gbp_api.c
807 vxlan-gbp/vxlan_gbp.c
808 vxlan-gbp/vxlan_gbp_packet.c
811 list (APPEND VNET_MULTIARCH_SOURCES
816 list(APPEND VNET_HEADERS
817 vxlan-gbp/vxlan_gbp.h
818 vxlan-gbp/vxlan_gbp_packet.h
819 vxlan-gbp/vxlan_gbp_error.def
822 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
824 ##############################################################################
825 # Tunnel protocol: vxlan-gpe
826 ##############################################################################
828 list(APPEND VNET_SOURCES
829 vxlan-gpe/vxlan_gpe.c
832 vxlan-gpe/vxlan_gpe_api.c
835 list (APPEND VNET_MULTIARCH_SOURCES
839 list(APPEND VNET_HEADERS
840 vxlan-gpe/vxlan_gpe.h
841 vxlan-gpe/vxlan_gpe_packet.h
842 vxlan-gpe/vxlan_gpe_error.def
845 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
847 ##############################################################################
848 # Tunnel protocol: ipsec+gre
849 ##############################################################################
850 list(APPEND VNET_SOURCES
851 ipsec-gre/ipsec_gre.c
853 ipsec-gre/interface.c
854 ipsec-gre/ipsec_gre_api.c
857 list(APPEND VNET_MULTIARCH_SOURCES
859 ipsec-gre/ipsec_gre.c
862 list(APPEND VNET_HEADERS
863 ipsec-gre/ipsec_gre.h
867 list(APPEND VNET_API_FILES ipsec-gre/ipsec_gre.api)
869 ##############################################################################
870 # LISP control plane: lisp-cp
871 ##############################################################################
873 list(APPEND VNET_SOURCES
875 lisp-cp/lisp_cp_dpo.c
877 lisp-cp/gid_dictionary.c
878 lisp-cp/lisp_msg_serdes.c
886 list(APPEND VNET_HEADERS
889 lisp-cp/gid_dictionary.h
890 lisp-cp/lisp_cp_messages.h
891 lisp-cp/lisp_msg_serdes.h
895 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
896 list(APPEND VNET_API_FILES lisp-cp/one.api)
898 ##############################################################################
899 # Tunnel protocol: lisp-gpe
900 ##############################################################################
902 list(APPEND VNET_SOURCES
904 lisp-gpe/lisp_gpe_sub_interface.c
905 lisp-gpe/lisp_gpe_adjacency.c
906 lisp-gpe/lisp_gpe_tunnel.c
907 lisp-gpe/lisp_gpe_fwd_entry.c
908 lisp-gpe/lisp_gpe_tenant.c
911 lisp-gpe/lisp_gpe_api.c
914 list(APPEND VNET_HEADERS
916 lisp-gpe/lisp_gpe_fwd_entry.h
917 lisp-gpe/lisp_gpe_tenant.h
918 lisp-gpe/lisp_gpe_packet.h
919 lisp-gpe/lisp_gpe_error.def
922 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
924 ##############################################################################
926 ##############################################################################
927 list(APPEND VNET_SOURCES
929 dhcp/dhcp_client_detect.c
930 dhcp/dhcp6_client_common_dp.c
931 dhcp/dhcp6_pd_client_dp.c
932 dhcp/dhcp6_pd_client_cp.c
933 dhcp/dhcp6_ia_na_client_dp.c
934 dhcp/dhcp6_ia_na_client_cp.c
938 list(APPEND VNET_MULTIARCH_SOURCES
939 dhcp/dhcp_client_detect.c
942 list(APPEND VNET_HEADERS
944 dhcp/dhcp6_client_common_dp.h
945 dhcp/dhcp6_pd_client_dp.h
946 dhcp/dhcp6_ia_na_client_dp.h
949 list(APPEND VNET_API_FILES
951 dhcp/dhcp6_pd_client_cp.api
952 dhcp/dhcp6_ia_na_client_cp.api
955 ##############################################################################
957 ##############################################################################
958 list(APPEND VNET_SOURCES
959 dhcp/dhcp6_proxy_node.c
960 dhcp/dhcp4_proxy_node.c
964 list(APPEND VNET_HEADERS
968 dhcp/dhcp6_proxy_error.def
969 dhcp/dhcp4_proxy_error.def
972 ##############################################################################
973 # ipv6 segment routing
974 ##############################################################################
976 list(APPEND VNET_SOURCES
979 srv6/sr_policy_rewrite.c
984 list(APPEND VNET_HEADERS
989 list(APPEND VNET_API_FILES srv6/sr.api)
991 ##############################################################################
992 # mpls segment routing
993 ##############################################################################
995 list(APPEND VNET_SOURCES
996 srmpls/sr_mpls_policy.c
997 srmpls/sr_mpls_steering.c
1001 list(APPEND VNET_HEADERS
1005 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
1007 ##############################################################################
1008 # IPFIX / netflow v10
1009 ##############################################################################
1010 list(APPEND VNET_SOURCES
1011 ipfix-export/flow_report.c
1012 ipfix-export/flow_api.c
1015 list(APPEND VNET_HEADERS
1016 ipfix-export/flow_report.h
1017 ipfix-export/ipfix_info_elements.h
1018 ipfix-export/ipfix_packet.h
1021 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
1023 ##############################################################################
1024 # IPFIX classify code
1025 ##############################################################################
1027 list(APPEND VNET_SOURCES
1028 ipfix-export/flow_report_classify.c
1031 list(APPEND VNET_HEADERS
1032 ipfix-export/flow_report_classify.h
1035 ##############################################################################
1037 ##############################################################################
1039 list(APPEND VNET_SOURCES
1040 lawful-intercept/lawful_intercept.c
1041 lawful-intercept/node.c
1044 list(APPEND VNET_MULTIARCH_SOURCES
1045 lawful-intercept/node.c
1048 list(APPEND VNET_HEADERS
1049 lawful-intercept/lawful_intercept.h
1052 ##############################################################################
1053 # SPAN (port mirroring)
1054 ##############################################################################
1056 list(APPEND VNET_SOURCES
1062 list(APPEND VNET_MULTIARCH_SOURCES
1066 list(APPEND VNET_HEADERS
1070 list(APPEND VNET_API_FILES span/span.api)
1072 ##############################################################################
1074 ##############################################################################
1075 list(APPEND VNET_SOURCES
1081 dns/resolver_process.c
1084 list(APPEND VNET_HEADERS
1088 list(APPEND VNET_API_FILES dns/dns.api)
1090 ##############################################################################
1092 ##############################################################################
1094 list(APPEND VNET_SOURCES
1104 list(APPEND VNET_HEADERS
1109 list(APPEND VNET_API_FILES pg/pg.api)
1111 ##############################################################################
1113 ##############################################################################
1115 list(APPEND VNET_SOURCES
1116 devices/virtio/device.c
1117 devices/virtio/node.c
1118 devices/virtio/vhost_user.c
1119 devices/virtio/vhost_user_input.c
1120 devices/virtio/vhost_user_output.c
1121 devices/virtio/vhost_user_api.c
1122 devices/virtio/virtio.c
1123 devices/virtio/virtio_api.c
1124 devices/virtio/cli.c
1125 devices/virtio/pci.c
1128 list(APPEND VNET_HEADERS
1129 devices/virtio/pci.h
1130 devices/virtio/virtio.h
1131 devices/virtio/vhost_user.h
1134 list(APPEND VNET_MULTIARCH_SOURCES
1135 devices/virtio/vhost_user_input.c
1136 devices/virtio/vhost_user_output.c
1137 devices/netmap/node.c
1138 devices/virtio/node.c
1139 devices/af_packet/node.c
1140 devices/virtio/device.c
1143 list(APPEND VNET_API_FILES
1144 devices/virtio/vhost_user.api
1145 devices/virtio/virtio.api
1148 ##############################################################################
1149 # tap interface (with virtio backend)
1150 ##############################################################################
1152 list(APPEND VNET_SOURCES
1155 devices/tap/tapv2_api.c
1158 list(APPEND VNET_HEADERS
1162 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1164 ##############################################################################
1165 # tap interface (with virtio backend)
1166 ##############################################################################
1168 list(APPEND VNET_SOURCES
1169 devices/pipe/pipe_api.c
1173 list(APPEND VNET_HEADERS
1177 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1179 ##############################################################################
1180 # session managmeent
1181 ##############################################################################
1183 list(APPEND VNET_SOURCES
1185 session/session_table.c
1186 session/session_rules_table.c
1187 session/session_lookup.c
1188 session/session_node.c
1190 session/application.c
1191 session/application_worker.c
1192 session/session_cli.c
1193 session/application_interface.c
1194 session/application_local.c
1195 session/application_namespace.c
1196 session/segment_manager.c
1197 session/session_api.c
1200 list(APPEND VNET_HEADERS
1202 session/session_table.h
1203 session/session_rules_table.h
1204 session/session_types.h
1205 session/session_lookup.h
1206 session/application.h
1208 session/transport_types.h
1209 session/application_interface.h
1210 session/application_local.h
1211 session/application_namespace.h
1212 session/session_debug.h
1213 session/segment_manager.h
1214 session/mma_template.h
1215 session/mma_template.c
1220 list(APPEND VNET_API_FILES session/session.api)
1222 ##############################################################################
1223 # session layer applications
1224 ##############################################################################
1226 list(APPEND VNET_SOURCES
1227 session-apps/echo_client.c
1228 session-apps/echo_server.c
1229 session-apps/http_server.c
1230 session-apps/proxy.c
1233 list(APPEND VNET_HEADERS
1234 session-apps/echo_client.h
1235 session-apps/proxy.h
1238 ##############################################################################
1240 ##############################################################################
1242 list(APPEND VNET_SOURCES
1246 list(APPEND VNET_HEADERS
1251 ##############################################################################
1252 # Linux packet interface
1253 ##############################################################################
1255 list(APPEND VNET_SOURCES
1256 devices/af_packet/af_packet.c
1257 devices/af_packet/device.c
1258 devices/af_packet/node.c
1259 devices/af_packet/cli.c
1260 devices/af_packet/af_packet_api.c
1263 list(APPEND VNET_MULTIARCH_SOURCES
1264 devices/netmap/device.c
1265 devices/af_packet/device.c
1268 list(APPEND VNET_HEADERS
1269 devices/af_packet/af_packet.h
1272 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1274 ##############################################################################
1276 ##############################################################################
1278 list(APPEND VNET_SOURCES
1279 devices/netmap/netmap.c
1280 devices/netmap/device.c
1281 devices/netmap/node.c
1282 devices/netmap/cli.c
1283 devices/netmap/netmap_api.c
1286 list(APPEND VNET_HEADERS
1287 devices/netmap/netmap.h
1290 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1292 ##############################################################################
1293 # Driver feature graph arc support
1294 ##############################################################################
1296 list(APPEND VNET_SOURCES
1298 feature/feature_api.c
1299 feature/registration.c
1302 list(APPEND VNET_HEADERS
1306 list(APPEND VNET_API_FILES feature/feature.api)
1308 ##############################################################################
1309 # Unix kernel related
1310 ##############################################################################
1312 # FIXME: unix/hgshm.c
1314 list(APPEND VNET_SOURCES
1319 list(APPEND VNET_HEADERS
1323 ##############################################################################
1325 ##############################################################################
1327 list(APPEND VNET_SOURCES
1339 fib/fib_entry_src_rr.c
1340 fib/fib_entry_src_interface.c
1341 fib/fib_entry_src_interpose.c
1342 fib/fib_entry_src_default_route.c
1343 fib/fib_entry_src_special.c
1344 fib/fib_entry_src_api.c
1345 fib/fib_entry_src_adj.c
1346 fib/fib_entry_src_mpls.c
1347 fib/fib_entry_src_lisp.c
1348 fib/fib_entry_cover.c
1349 fib/fib_entry_delegate.c
1354 fib/fib_attached_export.c
1359 list(APPEND VNET_HEADERS
1369 fib/fib_entry_delegate.h
1372 ##############################################################################
1374 ##############################################################################
1376 list(APPEND VNET_SOURCES
1380 adj/adj_midchain_delegate.c
1390 list(APPEND VNET_MULTIARCH_SOURCES
1395 list(APPEND VNET_HEADERS
1404 ##############################################################################
1405 # Data-Plane Objects
1406 ##############################################################################
1408 list(APPEND VNET_SOURCES
1416 dpo/load_balance_map.c
1420 dpo/interface_rx_dpo.c
1421 dpo/interface_tx_dpo.c
1422 dpo/mpls_disposition.c
1423 dpo/mpls_label_dpo.c
1428 list(APPEND VNET_MULTIARCH_SOURCES
1430 dpo/mpls_disposition.c
1432 dpo/mpls_label_dpo.c
1433 dpo/interface_rx_dpo.c
1436 list(APPEND VNET_HEADERS
1448 ##############################################################################
1450 ##############################################################################
1452 list(APPEND VNET_SOURCES
1461 mfib/mfib_entry_cover.c
1462 mfib/mfib_entry_delegate.c
1463 mfib/mfib_entry_src.c
1464 mfib/mfib_entry_src_rr.c
1468 list(APPEND VNET_MULTIARCH_SOURCES
1472 list(APPEND VNET_HEADERS
1478 ##############################################################################
1480 ##############################################################################
1482 list(APPEND VNET_SOURCES
1489 list(APPEND VNET_HEADERS
1493 ##############################################################################
1495 ##############################################################################
1497 list(APPEND VNET_SOURCES
1500 qos/qos_egress_map.c
1502 qos/qos_record_node.c
1507 list(APPEND VNET_MULTIARCH_SOURCES
1508 qos/qos_record_node.c
1512 list(APPEND VNET_API_FILES qos/qos.api)
1514 ##############################################################################
1516 ##############################################################################
1518 list(APPEND VNET_SOURCES
1519 bier/bier_bit_string.c
1522 bier/bier_fmask_db.c
1531 bier/bier_imp_node.c
1533 bier/bier_disp_entry.c
1534 bier/bier_disp_lookup_node.c
1535 bier/bier_disp_dispatch_node.c
1536 bier/bier_disp_table.c
1537 bier/bier_bift_table.c
1540 list(APPEND VNET_MULTIARCH_SOURCES
1541 bier/bier_disp_dispatch_node.c
1542 bier/bier_disp_lookup_node.c
1543 bier/bier_imp_node.c
1546 list(APPEND VNET_HEADERS
1553 list(APPEND VNET_API_FILES bier/bier.api)
1555 ##############################################################################
1557 ##############################################################################
1559 list (APPEND VNET_SOURCES
1565 list(APPEND VNET_HEADERS
1570 list(APPEND VNET_API_FILES syslog/syslog.api)
1572 ##############################################################################
1574 ##############################################################################
1576 add_vpp_library(vnet
1577 SOURCES ${VNET_SOURCES}
1578 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1579 INSTALL_HEADERS ${VNET_HEADERS}
1580 API_FILES ${VNET_API_FILES}
1581 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1585 ##############################################################################
1587 ##############################################################################
1589 option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON)
1590 if(VPP_BUILD_SESSION_ECHO_APPS)
1591 add_vpp_executable(tcp_echo
1592 SOURCES ../tests/vnet/session/tcp_echo.c
1593 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1597 add_vpp_executable(quic_echo
1598 SOURCES ../tests/vnet/session/quic_echo.c
1599 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1603 add_vpp_executable(udp_echo
1604 SOURCES ../tests/vnet/session/udp_echo.c
1605 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1609 endif(VPP_BUILD_SESSION_ECHO_APPS)
1611 ##############################################################################