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
454 list(APPEND VNET_MULTIARCH_SOURCES
455 ip/ip4_source_check.c
466 list(APPEND VNET_HEADERS
479 ip/ip6_hop_by_hop_packet.h
484 ip/ip_source_and_port_range_check.h
493 list(APPEND VNET_API_FILES
499 list(APPEND VNET_MULTIARCH_SOURCES
505 ##############################################################################
507 ##############################################################################
508 list(APPEND VNET_SOURCES
512 list(APPEND VNET_HEADERS
513 ethernet/arp_packet.h
517 ##############################################################################
518 # Bidirectional Forwarding Detection
519 ##############################################################################
521 list(APPEND VNET_HEADERS
528 list(APPEND VNET_SOURCES
537 list(APPEND VNET_API_FILES bfd/bfd.api)
539 ##############################################################################
541 ##############################################################################
543 list(APPEND VNET_SOURCES
549 list(APPEND VNET_HEADERS
553 ##############################################################################
554 # Layer 3 protocol: IPSec
555 ##############################################################################
556 list(APPEND VNET_SOURCES
566 ipsec/ipsec_spd_policy.c
575 list(APPEND VNET_MULTIARCH_SOURCES
585 list(APPEND VNET_API_FILES ipsec/ipsec.api)
587 list(APPEND VNET_SOURCES
591 list(APPEND VNET_HEADERS
594 ipsec/ipsec_spd_policy.h
601 ##############################################################################
602 # Layer 3 protocol: osi
603 ##############################################################################
604 list(APPEND VNET_SOURCES
610 list(APPEND VNET_HEADERS
614 ##############################################################################
615 # Layer 4 protocol: tcp
616 ##############################################################################
617 list(APPEND VNET_SOURCES
621 tcp/tcp_syn_filter4.c
629 list(APPEND VNET_MULTIARCH_SOURCES
632 tcp/tcp_syn_filter4.c
635 list(APPEND VNET_HEADERS
643 list(APPEND VNET_API_FILES tcp/tcp.api)
645 ##############################################################################
646 # Layer 4 protocol: udp
647 ##############################################################################
648 list(APPEND VNET_SOURCES
659 list(APPEND VNET_MULTIARCH_SOURCES
664 list(APPEND VNET_HEADERS
670 list(APPEND VNET_API_FILES udp/udp.api)
672 ##############################################################################
673 # Layer 4 protocol: sctp
674 ##############################################################################
675 list(APPEND VNET_SOURCES
681 sctp/sctp_output_node.c
685 list(APPEND VNET_MULTIARCH_SOURCES
686 sctp/sctp_output_node.c
690 list(APPEND VNET_HEADERS
697 list(APPEND VNET_API_FILES sctp/sctp.api)
699 ##############################################################################
700 # Tunnel protocol: gre
701 ##############################################################################
702 list(APPEND VNET_SOURCES
710 list(APPEND VNET_MULTIARCH_SOURCES
715 list(APPEND VNET_HEADERS
721 list(APPEND VNET_API_FILES gre/gre.api)
723 ##############################################################################
724 # Tunnel protocol: ipip
725 ##############################################################################
726 list(APPEND VNET_SOURCES
734 list(APPEND VNET_MULTIARCH_SOURCES
738 list(APPEND VNET_HEADERS
742 list(APPEND VNET_API_FILES ipip/ipip.api)
744 ##############################################################################
745 # Tunnel protocol: l2tpv3
746 ##############################################################################
747 list(APPEND VNET_SOURCES
755 list(APPEND VNET_MULTIARCH_SOURCES
760 list(APPEND VNET_HEADERS
765 list(APPEND VNET_API_FILES l2tp/l2tp.api)
767 ##############################################################################
768 # Tunnel protocol: gre+mpls
769 ##############################################################################
770 list(APPEND VNET_SOURCES
782 list(APPEND VNET_MULTIARCH_SOURCES
789 list(APPEND VNET_HEADERS
797 list(APPEND VNET_API_FILES mpls/mpls.api)
799 ##############################################################################
800 # Tunnel protocol: vxlan-gbp
801 ##############################################################################
802 list(APPEND VNET_SOURCES
805 vxlan-gbp/vxlan_gbp_api.c
806 vxlan-gbp/vxlan_gbp.c
807 vxlan-gbp/vxlan_gbp_packet.c
810 list (APPEND VNET_MULTIARCH_SOURCES
815 list(APPEND VNET_HEADERS
816 vxlan-gbp/vxlan_gbp.h
817 vxlan-gbp/vxlan_gbp_packet.h
818 vxlan-gbp/vxlan_gbp_error.def
821 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
823 ##############################################################################
824 # Tunnel protocol: vxlan-gpe
825 ##############################################################################
827 list(APPEND VNET_SOURCES
828 vxlan-gpe/vxlan_gpe.c
831 vxlan-gpe/vxlan_gpe_api.c
834 list (APPEND VNET_MULTIARCH_SOURCES
838 list(APPEND VNET_HEADERS
839 vxlan-gpe/vxlan_gpe.h
840 vxlan-gpe/vxlan_gpe_packet.h
841 vxlan-gpe/vxlan_gpe_error.def
844 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
846 ##############################################################################
847 # Tunnel protocol: ipsec+gre
848 ##############################################################################
849 list(APPEND VNET_SOURCES
850 ipsec-gre/ipsec_gre.c
852 ipsec-gre/interface.c
853 ipsec-gre/ipsec_gre_api.c
856 list(APPEND VNET_MULTIARCH_SOURCES
858 ipsec-gre/ipsec_gre.c
861 list(APPEND VNET_HEADERS
862 ipsec-gre/ipsec_gre.h
866 list(APPEND VNET_API_FILES ipsec-gre/ipsec_gre.api)
868 ##############################################################################
869 # LISP control plane: lisp-cp
870 ##############################################################################
872 list(APPEND VNET_SOURCES
874 lisp-cp/lisp_cp_dpo.c
876 lisp-cp/gid_dictionary.c
877 lisp-cp/lisp_msg_serdes.c
885 list(APPEND VNET_HEADERS
888 lisp-cp/gid_dictionary.h
889 lisp-cp/lisp_cp_messages.h
890 lisp-cp/lisp_msg_serdes.h
894 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
895 list(APPEND VNET_API_FILES lisp-cp/one.api)
897 ##############################################################################
898 # Tunnel protocol: lisp-gpe
899 ##############################################################################
901 list(APPEND VNET_SOURCES
903 lisp-gpe/lisp_gpe_sub_interface.c
904 lisp-gpe/lisp_gpe_adjacency.c
905 lisp-gpe/lisp_gpe_tunnel.c
906 lisp-gpe/lisp_gpe_fwd_entry.c
907 lisp-gpe/lisp_gpe_tenant.c
910 lisp-gpe/lisp_gpe_api.c
913 list(APPEND VNET_HEADERS
915 lisp-gpe/lisp_gpe_fwd_entry.h
916 lisp-gpe/lisp_gpe_tenant.h
917 lisp-gpe/lisp_gpe_packet.h
918 lisp-gpe/lisp_gpe_error.def
921 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
923 ##############################################################################
925 ##############################################################################
926 list(APPEND VNET_SOURCES
928 dhcp/dhcp_client_detect.c
929 dhcp/dhcp6_client_common_dp.c
930 dhcp/dhcp6_pd_client_dp.c
931 dhcp/dhcp6_pd_client_cp.c
932 dhcp/dhcp6_ia_na_client_dp.c
933 dhcp/dhcp6_ia_na_client_cp.c
937 list(APPEND VNET_MULTIARCH_SOURCES
938 dhcp/dhcp_client_detect.c
941 list(APPEND VNET_HEADERS
943 dhcp/dhcp6_client_common_dp.h
944 dhcp/dhcp6_pd_client_dp.h
945 dhcp/dhcp6_ia_na_client_dp.h
948 list(APPEND VNET_API_FILES
950 dhcp/dhcp6_pd_client_cp.api
951 dhcp/dhcp6_ia_na_client_cp.api
954 ##############################################################################
956 ##############################################################################
957 list(APPEND VNET_SOURCES
958 dhcp/dhcp6_proxy_node.c
959 dhcp/dhcp4_proxy_node.c
963 list(APPEND VNET_HEADERS
967 dhcp/dhcp6_proxy_error.def
968 dhcp/dhcp4_proxy_error.def
971 ##############################################################################
972 # ipv6 segment routing
973 ##############################################################################
975 list(APPEND VNET_SOURCES
978 srv6/sr_policy_rewrite.c
983 list(APPEND VNET_HEADERS
988 list(APPEND VNET_API_FILES srv6/sr.api)
990 ##############################################################################
991 # mpls segment routing
992 ##############################################################################
994 list(APPEND VNET_SOURCES
995 srmpls/sr_mpls_policy.c
996 srmpls/sr_mpls_steering.c
1000 list(APPEND VNET_HEADERS
1004 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
1006 ##############################################################################
1007 # IPFIX / netflow v10
1008 ##############################################################################
1009 list(APPEND VNET_SOURCES
1010 ipfix-export/flow_report.c
1011 ipfix-export/flow_api.c
1014 list(APPEND VNET_HEADERS
1015 ipfix-export/flow_report.h
1016 ipfix-export/ipfix_info_elements.h
1017 ipfix-export/ipfix_packet.h
1020 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
1022 ##############################################################################
1023 # IPFIX classify code
1024 ##############################################################################
1026 list(APPEND VNET_SOURCES
1027 ipfix-export/flow_report_classify.c
1030 list(APPEND VNET_HEADERS
1031 ipfix-export/flow_report_classify.h
1034 ##############################################################################
1036 ##############################################################################
1038 list(APPEND VNET_SOURCES
1039 lawful-intercept/lawful_intercept.c
1040 lawful-intercept/node.c
1043 list(APPEND VNET_MULTIARCH_SOURCES
1044 lawful-intercept/node.c
1047 list(APPEND VNET_HEADERS
1048 lawful-intercept/lawful_intercept.h
1051 ##############################################################################
1052 # SPAN (port mirroring)
1053 ##############################################################################
1055 list(APPEND VNET_SOURCES
1061 list(APPEND VNET_MULTIARCH_SOURCES
1065 list(APPEND VNET_HEADERS
1069 list(APPEND VNET_API_FILES span/span.api)
1071 ##############################################################################
1073 ##############################################################################
1074 list(APPEND VNET_SOURCES
1080 dns/resolver_process.c
1083 list(APPEND VNET_HEADERS
1087 list(APPEND VNET_API_FILES dns/dns.api)
1089 ##############################################################################
1091 ##############################################################################
1093 list(APPEND VNET_SOURCES
1103 list(APPEND VNET_HEADERS
1108 list(APPEND VNET_API_FILES pg/pg.api)
1110 ##############################################################################
1112 ##############################################################################
1114 list(APPEND VNET_SOURCES
1115 devices/virtio/device.c
1116 devices/virtio/node.c
1117 devices/virtio/vhost_user.c
1118 devices/virtio/vhost_user_input.c
1119 devices/virtio/vhost_user_output.c
1120 devices/virtio/vhost_user_api.c
1121 devices/virtio/virtio.c
1122 devices/virtio/virtio_api.c
1123 devices/virtio/cli.c
1124 devices/virtio/pci.c
1127 list(APPEND VNET_HEADERS
1128 devices/virtio/pci.h
1129 devices/virtio/virtio.h
1130 devices/virtio/vhost_user.h
1133 list(APPEND VNET_MULTIARCH_SOURCES
1134 devices/virtio/vhost_user_input.c
1135 devices/virtio/vhost_user_output.c
1136 devices/netmap/node.c
1137 devices/virtio/node.c
1138 devices/af_packet/node.c
1139 devices/virtio/device.c
1142 list(APPEND VNET_API_FILES
1143 devices/virtio/vhost_user.api
1144 devices/virtio/virtio.api
1147 ##############################################################################
1148 # tap interface (with virtio backend)
1149 ##############################################################################
1151 list(APPEND VNET_SOURCES
1154 devices/tap/tapv2_api.c
1157 list(APPEND VNET_HEADERS
1161 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1163 ##############################################################################
1164 # tap interface (with virtio backend)
1165 ##############################################################################
1167 list(APPEND VNET_SOURCES
1168 devices/pipe/pipe_api.c
1172 list(APPEND VNET_HEADERS
1176 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1178 ##############################################################################
1179 # session managmeent
1180 ##############################################################################
1182 list(APPEND VNET_SOURCES
1184 session/session_table.c
1185 session/session_rules_table.c
1186 session/session_lookup.c
1187 session/session_node.c
1189 session/application.c
1190 session/application_worker.c
1191 session/session_cli.c
1192 session/application_interface.c
1193 session/application_local.c
1194 session/application_namespace.c
1195 session/segment_manager.c
1196 session/session_api.c
1199 list(APPEND VNET_HEADERS
1201 session/session_table.h
1202 session/session_rules_table.h
1203 session/session_types.h
1204 session/session_lookup.h
1205 session/application.h
1207 session/transport_types.h
1208 session/application_interface.h
1209 session/application_local.h
1210 session/application_namespace.h
1211 session/session_debug.h
1212 session/segment_manager.h
1213 session/mma_template.h
1214 session/mma_template.c
1219 list(APPEND VNET_API_FILES session/session.api)
1221 ##############################################################################
1222 # session layer applications
1223 ##############################################################################
1225 list(APPEND VNET_SOURCES
1226 session-apps/echo_client.c
1227 session-apps/echo_server.c
1228 session-apps/http_server.c
1229 session-apps/proxy.c
1232 list(APPEND VNET_HEADERS
1233 session-apps/echo_client.h
1234 session-apps/proxy.h
1237 ##############################################################################
1239 ##############################################################################
1241 list(APPEND VNET_SOURCES
1245 list(APPEND VNET_HEADERS
1250 ##############################################################################
1251 # Linux packet interface
1252 ##############################################################################
1254 list(APPEND VNET_SOURCES
1255 devices/af_packet/af_packet.c
1256 devices/af_packet/device.c
1257 devices/af_packet/node.c
1258 devices/af_packet/cli.c
1259 devices/af_packet/af_packet_api.c
1262 list(APPEND VNET_MULTIARCH_SOURCES
1263 devices/netmap/device.c
1264 devices/af_packet/device.c
1267 list(APPEND VNET_HEADERS
1268 devices/af_packet/af_packet.h
1271 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1273 ##############################################################################
1275 ##############################################################################
1277 list(APPEND VNET_SOURCES
1278 devices/netmap/netmap.c
1279 devices/netmap/device.c
1280 devices/netmap/node.c
1281 devices/netmap/cli.c
1282 devices/netmap/netmap_api.c
1285 list(APPEND VNET_HEADERS
1286 devices/netmap/netmap.h
1289 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1291 ##############################################################################
1292 # Driver feature graph arc support
1293 ##############################################################################
1295 list(APPEND VNET_SOURCES
1297 feature/feature_api.c
1298 feature/registration.c
1301 list(APPEND VNET_HEADERS
1305 list(APPEND VNET_API_FILES feature/feature.api)
1307 ##############################################################################
1308 # Unix kernel related
1309 ##############################################################################
1311 # FIXME: unix/hgshm.c
1313 list(APPEND VNET_SOURCES
1318 list(APPEND VNET_HEADERS
1322 ##############################################################################
1324 ##############################################################################
1326 list(APPEND VNET_SOURCES
1338 fib/fib_entry_src_rr.c
1339 fib/fib_entry_src_interface.c
1340 fib/fib_entry_src_interpose.c
1341 fib/fib_entry_src_default_route.c
1342 fib/fib_entry_src_special.c
1343 fib/fib_entry_src_api.c
1344 fib/fib_entry_src_adj.c
1345 fib/fib_entry_src_mpls.c
1346 fib/fib_entry_src_lisp.c
1347 fib/fib_entry_cover.c
1348 fib/fib_entry_delegate.c
1353 fib/fib_attached_export.c
1358 list(APPEND VNET_HEADERS
1368 fib/fib_entry_delegate.h
1371 ##############################################################################
1373 ##############################################################################
1375 list(APPEND VNET_SOURCES
1379 adj/adj_midchain_delegate.c
1389 list(APPEND VNET_MULTIARCH_SOURCES
1394 list(APPEND VNET_HEADERS
1403 ##############################################################################
1404 # Data-Plane Objects
1405 ##############################################################################
1407 list(APPEND VNET_SOURCES
1415 dpo/load_balance_map.c
1419 dpo/interface_rx_dpo.c
1420 dpo/interface_tx_dpo.c
1421 dpo/mpls_disposition.c
1422 dpo/mpls_label_dpo.c
1427 list(APPEND VNET_MULTIARCH_SOURCES
1429 dpo/mpls_disposition.c
1431 dpo/mpls_label_dpo.c
1432 dpo/interface_rx_dpo.c
1435 list(APPEND VNET_HEADERS
1447 ##############################################################################
1449 ##############################################################################
1451 list(APPEND VNET_SOURCES
1460 mfib/mfib_entry_cover.c
1461 mfib/mfib_entry_delegate.c
1462 mfib/mfib_entry_src.c
1463 mfib/mfib_entry_src_rr.c
1467 list(APPEND VNET_MULTIARCH_SOURCES
1471 list(APPEND VNET_HEADERS
1477 ##############################################################################
1479 ##############################################################################
1481 list(APPEND VNET_SOURCES
1488 list(APPEND VNET_HEADERS
1492 ##############################################################################
1494 ##############################################################################
1496 list(APPEND VNET_SOURCES
1499 qos/qos_egress_map.c
1501 qos/qos_record_node.c
1506 list(APPEND VNET_MULTIARCH_SOURCES
1507 qos/qos_record_node.c
1511 list(APPEND VNET_API_FILES qos/qos.api)
1513 ##############################################################################
1515 ##############################################################################
1517 list(APPEND VNET_SOURCES
1518 bier/bier_bit_string.c
1521 bier/bier_fmask_db.c
1530 bier/bier_imp_node.c
1532 bier/bier_disp_entry.c
1533 bier/bier_disp_lookup_node.c
1534 bier/bier_disp_dispatch_node.c
1535 bier/bier_disp_table.c
1536 bier/bier_bift_table.c
1539 list(APPEND VNET_MULTIARCH_SOURCES
1540 bier/bier_disp_dispatch_node.c
1541 bier/bier_disp_lookup_node.c
1542 bier/bier_imp_node.c
1545 list(APPEND VNET_HEADERS
1552 list(APPEND VNET_API_FILES bier/bier.api)
1554 ##############################################################################
1556 ##############################################################################
1558 list (APPEND VNET_SOURCES
1564 list(APPEND VNET_HEADERS
1569 list(APPEND VNET_API_FILES syslog/syslog.api)
1571 ##############################################################################
1573 ##############################################################################
1575 add_vpp_library(vnet
1576 SOURCES ${VNET_SOURCES}
1577 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1578 INSTALL_HEADERS ${VNET_HEADERS}
1579 API_FILES ${VNET_API_FILES}
1580 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1584 ##############################################################################
1586 ##############################################################################
1588 option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON)
1589 if(VPP_BUILD_SESSION_ECHO_APPS)
1590 add_vpp_executable(tcp_echo
1591 SOURCES ../tests/vnet/session/tcp_echo.c
1592 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1596 add_vpp_executable(quic_echo
1597 SOURCES ../tests/vnet/session/quic_echo.c
1598 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1602 add_vpp_executable(udp_echo
1603 SOURCES ../tests/vnet/session/udp_echo.c
1604 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1608 endif(VPP_BUILD_SESSION_ECHO_APPS)
1610 ##############################################################################