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
577 list(APPEND VNET_MULTIARCH_SOURCES
587 list(APPEND VNET_API_FILES ipsec/ipsec.api)
589 list(APPEND VNET_SOURCES
593 list(APPEND VNET_HEADERS
596 ipsec/ipsec_spd_policy.h
603 ##############################################################################
604 # Layer 3 protocol: osi
605 ##############################################################################
606 list(APPEND VNET_SOURCES
612 list(APPEND VNET_HEADERS
616 ##############################################################################
617 # Layer 4 protocol: tcp
618 ##############################################################################
619 list(APPEND VNET_SOURCES
623 tcp/tcp_syn_filter4.c
631 list(APPEND VNET_MULTIARCH_SOURCES
634 tcp/tcp_syn_filter4.c
637 list(APPEND VNET_HEADERS
645 list(APPEND VNET_API_FILES tcp/tcp.api)
647 ##############################################################################
648 # Layer 4 protocol: udp
649 ##############################################################################
650 list(APPEND VNET_SOURCES
661 list(APPEND VNET_MULTIARCH_SOURCES
666 list(APPEND VNET_HEADERS
672 list(APPEND VNET_API_FILES udp/udp.api)
674 ##############################################################################
675 # Layer 4 protocol: sctp
676 ##############################################################################
677 list(APPEND VNET_SOURCES
683 sctp/sctp_output_node.c
687 list(APPEND VNET_MULTIARCH_SOURCES
688 sctp/sctp_output_node.c
692 list(APPEND VNET_HEADERS
699 list(APPEND VNET_API_FILES sctp/sctp.api)
701 ##############################################################################
702 # Tunnel protocol: gre
703 ##############################################################################
704 list(APPEND VNET_SOURCES
712 list(APPEND VNET_MULTIARCH_SOURCES
717 list(APPEND VNET_HEADERS
723 list(APPEND VNET_API_FILES gre/gre.api)
725 ##############################################################################
726 # Tunnel protocol: ipip
727 ##############################################################################
728 list(APPEND VNET_SOURCES
736 list(APPEND VNET_MULTIARCH_SOURCES
740 list(APPEND VNET_HEADERS
744 list(APPEND VNET_API_FILES ipip/ipip.api)
746 ##############################################################################
747 # Tunnel protocol: l2tpv3
748 ##############################################################################
749 list(APPEND VNET_SOURCES
757 list(APPEND VNET_MULTIARCH_SOURCES
762 list(APPEND VNET_HEADERS
767 list(APPEND VNET_API_FILES l2tp/l2tp.api)
769 ##############################################################################
770 # Tunnel protocol: gre+mpls
771 ##############################################################################
772 list(APPEND VNET_SOURCES
784 list(APPEND VNET_MULTIARCH_SOURCES
791 list(APPEND VNET_HEADERS
799 list(APPEND VNET_API_FILES mpls/mpls.api)
801 ##############################################################################
802 # Tunnel protocol: vxlan-gbp
803 ##############################################################################
804 list(APPEND VNET_SOURCES
807 vxlan-gbp/vxlan_gbp_api.c
808 vxlan-gbp/vxlan_gbp.c
809 vxlan-gbp/vxlan_gbp_packet.c
812 list (APPEND VNET_MULTIARCH_SOURCES
817 list(APPEND VNET_HEADERS
818 vxlan-gbp/vxlan_gbp.h
819 vxlan-gbp/vxlan_gbp_packet.h
820 vxlan-gbp/vxlan_gbp_error.def
823 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
825 ##############################################################################
826 # Tunnel protocol: vxlan-gpe
827 ##############################################################################
829 list(APPEND VNET_SOURCES
830 vxlan-gpe/vxlan_gpe.c
833 vxlan-gpe/vxlan_gpe_api.c
836 list (APPEND VNET_MULTIARCH_SOURCES
840 list(APPEND VNET_HEADERS
841 vxlan-gpe/vxlan_gpe.h
842 vxlan-gpe/vxlan_gpe_packet.h
843 vxlan-gpe/vxlan_gpe_error.def
846 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
848 ##############################################################################
849 # Tunnel protocol: ipsec+gre
850 ##############################################################################
851 list(APPEND VNET_SOURCES
852 ipsec-gre/ipsec_gre.c
854 ipsec-gre/interface.c
855 ipsec-gre/ipsec_gre_api.c
858 list(APPEND VNET_MULTIARCH_SOURCES
860 ipsec-gre/ipsec_gre.c
863 list(APPEND VNET_HEADERS
864 ipsec-gre/ipsec_gre.h
868 list(APPEND VNET_API_FILES ipsec-gre/ipsec_gre.api)
870 ##############################################################################
871 # LISP control plane: lisp-cp
872 ##############################################################################
874 list(APPEND VNET_SOURCES
876 lisp-cp/lisp_cp_dpo.c
878 lisp-cp/gid_dictionary.c
879 lisp-cp/lisp_msg_serdes.c
887 list(APPEND VNET_HEADERS
890 lisp-cp/gid_dictionary.h
891 lisp-cp/lisp_cp_messages.h
892 lisp-cp/lisp_msg_serdes.h
896 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
897 list(APPEND VNET_API_FILES lisp-cp/one.api)
899 ##############################################################################
900 # Tunnel protocol: lisp-gpe
901 ##############################################################################
903 list(APPEND VNET_SOURCES
905 lisp-gpe/lisp_gpe_sub_interface.c
906 lisp-gpe/lisp_gpe_adjacency.c
907 lisp-gpe/lisp_gpe_tunnel.c
908 lisp-gpe/lisp_gpe_fwd_entry.c
909 lisp-gpe/lisp_gpe_tenant.c
912 lisp-gpe/lisp_gpe_api.c
915 list(APPEND VNET_HEADERS
917 lisp-gpe/lisp_gpe_fwd_entry.h
918 lisp-gpe/lisp_gpe_tenant.h
919 lisp-gpe/lisp_gpe_packet.h
920 lisp-gpe/lisp_gpe_error.def
923 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
925 ##############################################################################
927 ##############################################################################
928 list(APPEND VNET_SOURCES
930 dhcp/dhcp_client_detect.c
931 dhcp/dhcp6_client_common_dp.c
932 dhcp/dhcp6_pd_client_dp.c
933 dhcp/dhcp6_pd_client_cp.c
934 dhcp/dhcp6_ia_na_client_dp.c
935 dhcp/dhcp6_ia_na_client_cp.c
939 list(APPEND VNET_MULTIARCH_SOURCES
940 dhcp/dhcp_client_detect.c
943 list(APPEND VNET_HEADERS
945 dhcp/dhcp6_client_common_dp.h
946 dhcp/dhcp6_pd_client_dp.h
947 dhcp/dhcp6_ia_na_client_dp.h
950 list(APPEND VNET_API_FILES
952 dhcp/dhcp6_pd_client_cp.api
953 dhcp/dhcp6_ia_na_client_cp.api
956 ##############################################################################
958 ##############################################################################
959 list(APPEND VNET_SOURCES
960 dhcp/dhcp6_proxy_node.c
961 dhcp/dhcp4_proxy_node.c
965 list(APPEND VNET_HEADERS
969 dhcp/dhcp6_proxy_error.def
970 dhcp/dhcp4_proxy_error.def
973 ##############################################################################
974 # ipv6 segment routing
975 ##############################################################################
977 list(APPEND VNET_SOURCES
980 srv6/sr_policy_rewrite.c
985 list(APPEND VNET_HEADERS
990 list(APPEND VNET_API_FILES srv6/sr.api)
992 ##############################################################################
993 # mpls segment routing
994 ##############################################################################
996 list(APPEND VNET_SOURCES
997 srmpls/sr_mpls_policy.c
998 srmpls/sr_mpls_steering.c
1002 list(APPEND VNET_HEADERS
1006 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
1008 ##############################################################################
1009 # IPFIX / netflow v10
1010 ##############################################################################
1011 list(APPEND VNET_SOURCES
1012 ipfix-export/flow_report.c
1013 ipfix-export/flow_api.c
1016 list(APPEND VNET_HEADERS
1017 ipfix-export/flow_report.h
1018 ipfix-export/ipfix_info_elements.h
1019 ipfix-export/ipfix_packet.h
1022 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
1024 ##############################################################################
1025 # IPFIX classify code
1026 ##############################################################################
1028 list(APPEND VNET_SOURCES
1029 ipfix-export/flow_report_classify.c
1032 list(APPEND VNET_HEADERS
1033 ipfix-export/flow_report_classify.h
1036 ##############################################################################
1038 ##############################################################################
1040 list(APPEND VNET_SOURCES
1041 lawful-intercept/lawful_intercept.c
1042 lawful-intercept/node.c
1045 list(APPEND VNET_MULTIARCH_SOURCES
1046 lawful-intercept/node.c
1049 list(APPEND VNET_HEADERS
1050 lawful-intercept/lawful_intercept.h
1053 ##############################################################################
1054 # SPAN (port mirroring)
1055 ##############################################################################
1057 list(APPEND VNET_SOURCES
1063 list(APPEND VNET_MULTIARCH_SOURCES
1067 list(APPEND VNET_HEADERS
1071 list(APPEND VNET_API_FILES span/span.api)
1073 ##############################################################################
1075 ##############################################################################
1076 list(APPEND VNET_SOURCES
1082 dns/resolver_process.c
1085 list(APPEND VNET_HEADERS
1089 list(APPEND VNET_API_FILES dns/dns.api)
1091 ##############################################################################
1093 ##############################################################################
1095 list(APPEND VNET_SOURCES
1105 list(APPEND VNET_HEADERS
1110 list(APPEND VNET_API_FILES pg/pg.api)
1112 ##############################################################################
1114 ##############################################################################
1116 list(APPEND VNET_SOURCES
1117 devices/virtio/device.c
1118 devices/virtio/node.c
1119 devices/virtio/vhost_user.c
1120 devices/virtio/vhost_user_input.c
1121 devices/virtio/vhost_user_output.c
1122 devices/virtio/vhost_user_api.c
1123 devices/virtio/virtio.c
1124 devices/virtio/virtio_api.c
1125 devices/virtio/cli.c
1126 devices/virtio/pci.c
1129 list(APPEND VNET_HEADERS
1130 devices/virtio/pci.h
1131 devices/virtio/virtio.h
1132 devices/virtio/vhost_user.h
1135 list(APPEND VNET_MULTIARCH_SOURCES
1136 devices/virtio/vhost_user_input.c
1137 devices/virtio/vhost_user_output.c
1138 devices/netmap/node.c
1139 devices/virtio/node.c
1140 devices/af_packet/node.c
1141 devices/virtio/device.c
1144 list(APPEND VNET_API_FILES
1145 devices/virtio/vhost_user.api
1146 devices/virtio/virtio.api
1149 ##############################################################################
1150 # tap interface (with virtio backend)
1151 ##############################################################################
1153 list(APPEND VNET_SOURCES
1156 devices/tap/tapv2_api.c
1159 list(APPEND VNET_HEADERS
1163 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1165 ##############################################################################
1166 # tap interface (with virtio backend)
1167 ##############################################################################
1169 list(APPEND VNET_SOURCES
1170 devices/pipe/pipe_api.c
1174 list(APPEND VNET_HEADERS
1178 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1180 ##############################################################################
1181 # session managmeent
1182 ##############################################################################
1184 list(APPEND VNET_SOURCES
1186 session/session_table.c
1187 session/session_rules_table.c
1188 session/session_lookup.c
1189 session/session_node.c
1191 session/application.c
1192 session/application_worker.c
1193 session/session_cli.c
1194 session/application_interface.c
1195 session/application_local.c
1196 session/application_namespace.c
1197 session/segment_manager.c
1198 session/session_api.c
1201 list(APPEND VNET_HEADERS
1203 session/session_table.h
1204 session/session_rules_table.h
1205 session/session_types.h
1206 session/session_lookup.h
1207 session/application.h
1209 session/transport_types.h
1210 session/application_interface.h
1211 session/application_local.h
1212 session/application_namespace.h
1213 session/session_debug.h
1214 session/segment_manager.h
1215 session/mma_template.h
1216 session/mma_template.c
1221 list(APPEND VNET_API_FILES session/session.api)
1223 ##############################################################################
1224 # session layer applications
1225 ##############################################################################
1227 list(APPEND VNET_SOURCES
1228 session-apps/echo_client.c
1229 session-apps/echo_server.c
1230 session-apps/http_server.c
1231 session-apps/proxy.c
1234 list(APPEND VNET_HEADERS
1235 session-apps/echo_client.h
1236 session-apps/proxy.h
1239 ##############################################################################
1241 ##############################################################################
1243 list(APPEND VNET_SOURCES
1247 list(APPEND VNET_HEADERS
1252 ##############################################################################
1253 # Linux packet interface
1254 ##############################################################################
1256 list(APPEND VNET_SOURCES
1257 devices/af_packet/af_packet.c
1258 devices/af_packet/device.c
1259 devices/af_packet/node.c
1260 devices/af_packet/cli.c
1261 devices/af_packet/af_packet_api.c
1264 list(APPEND VNET_MULTIARCH_SOURCES
1265 devices/netmap/device.c
1266 devices/af_packet/device.c
1269 list(APPEND VNET_HEADERS
1270 devices/af_packet/af_packet.h
1273 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1275 ##############################################################################
1277 ##############################################################################
1279 list(APPEND VNET_SOURCES
1280 devices/netmap/netmap.c
1281 devices/netmap/device.c
1282 devices/netmap/node.c
1283 devices/netmap/cli.c
1284 devices/netmap/netmap_api.c
1287 list(APPEND VNET_HEADERS
1288 devices/netmap/netmap.h
1291 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1293 ##############################################################################
1294 # Driver feature graph arc support
1295 ##############################################################################
1297 list(APPEND VNET_SOURCES
1299 feature/feature_api.c
1300 feature/registration.c
1303 list(APPEND VNET_HEADERS
1307 list(APPEND VNET_API_FILES feature/feature.api)
1309 ##############################################################################
1310 # Unix kernel related
1311 ##############################################################################
1313 # FIXME: unix/hgshm.c
1315 list(APPEND VNET_SOURCES
1320 list(APPEND VNET_HEADERS
1324 ##############################################################################
1326 ##############################################################################
1328 list(APPEND VNET_SOURCES
1340 fib/fib_entry_src_rr.c
1341 fib/fib_entry_src_interface.c
1342 fib/fib_entry_src_interpose.c
1343 fib/fib_entry_src_default_route.c
1344 fib/fib_entry_src_special.c
1345 fib/fib_entry_src_api.c
1346 fib/fib_entry_src_adj.c
1347 fib/fib_entry_src_mpls.c
1348 fib/fib_entry_src_lisp.c
1349 fib/fib_entry_cover.c
1350 fib/fib_entry_delegate.c
1355 fib/fib_attached_export.c
1360 list(APPEND VNET_HEADERS
1370 fib/fib_entry_delegate.h
1373 ##############################################################################
1375 ##############################################################################
1377 list(APPEND VNET_SOURCES
1381 adj/adj_midchain_delegate.c
1391 list(APPEND VNET_MULTIARCH_SOURCES
1396 list(APPEND VNET_HEADERS
1405 ##############################################################################
1406 # Data-Plane Objects
1407 ##############################################################################
1409 list(APPEND VNET_SOURCES
1417 dpo/load_balance_map.c
1421 dpo/interface_rx_dpo.c
1422 dpo/interface_tx_dpo.c
1423 dpo/mpls_disposition.c
1424 dpo/mpls_label_dpo.c
1429 list(APPEND VNET_MULTIARCH_SOURCES
1431 dpo/mpls_disposition.c
1433 dpo/mpls_label_dpo.c
1434 dpo/interface_rx_dpo.c
1437 list(APPEND VNET_HEADERS
1449 ##############################################################################
1451 ##############################################################################
1453 list(APPEND VNET_SOURCES
1462 mfib/mfib_entry_cover.c
1463 mfib/mfib_entry_delegate.c
1464 mfib/mfib_entry_src.c
1465 mfib/mfib_entry_src_rr.c
1469 list(APPEND VNET_MULTIARCH_SOURCES
1473 list(APPEND VNET_HEADERS
1479 ##############################################################################
1481 ##############################################################################
1483 list(APPEND VNET_SOURCES
1490 list(APPEND VNET_HEADERS
1494 ##############################################################################
1496 ##############################################################################
1498 list(APPEND VNET_SOURCES
1501 qos/qos_egress_map.c
1503 qos/qos_record_node.c
1508 list(APPEND VNET_MULTIARCH_SOURCES
1509 qos/qos_record_node.c
1513 list(APPEND VNET_API_FILES qos/qos.api)
1515 ##############################################################################
1517 ##############################################################################
1519 list(APPEND VNET_SOURCES
1520 bier/bier_bit_string.c
1523 bier/bier_fmask_db.c
1532 bier/bier_imp_node.c
1534 bier/bier_disp_entry.c
1535 bier/bier_disp_lookup_node.c
1536 bier/bier_disp_dispatch_node.c
1537 bier/bier_disp_table.c
1538 bier/bier_bift_table.c
1541 list(APPEND VNET_MULTIARCH_SOURCES
1542 bier/bier_disp_dispatch_node.c
1543 bier/bier_disp_lookup_node.c
1544 bier/bier_imp_node.c
1547 list(APPEND VNET_HEADERS
1554 list(APPEND VNET_API_FILES bier/bier.api)
1556 ##############################################################################
1558 ##############################################################################
1560 list (APPEND VNET_SOURCES
1566 list(APPEND VNET_HEADERS
1571 list(APPEND VNET_API_FILES syslog/syslog.api)
1573 ##############################################################################
1575 ##############################################################################
1577 add_vpp_library(vnet
1578 SOURCES ${VNET_SOURCES}
1579 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1580 INSTALL_HEADERS ${VNET_HEADERS}
1581 API_FILES ${VNET_API_FILES}
1582 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1586 ##############################################################################
1588 ##############################################################################
1590 option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON)
1591 if(VPP_BUILD_SESSION_ECHO_APPS)
1592 add_vpp_executable(tcp_echo
1593 SOURCES ../tests/vnet/session/tcp_echo.c
1594 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1598 add_vpp_executable(quic_echo
1599 SOURCES ../tests/vnet/session/quic_echo.c
1600 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1604 add_vpp_executable(udp_echo
1605 SOURCES ../tests/vnet/session/udp_echo.c
1606 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1610 endif(VPP_BUILD_SESSION_ECHO_APPS)
1612 ##############################################################################