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
71 list(APPEND VNET_API_FILES interface.api)
73 ##############################################################################
75 ##############################################################################
76 list(APPEND VNET_SOURCES
83 list(APPEND VNET_MULTIARCH_SOURCES
87 list(APPEND VNET_HEADERS
93 list(APPEND VNET_API_FILES policer/policer.api)
95 ##############################################################################
97 ##############################################################################
98 list(APPEND VNET_SOURCES
106 list(APPEND VNET_MULTIARCH_SOURCES
112 list(APPEND VNET_HEADERS
116 list(APPEND VNET_API_FILES cop/cop.api)
118 ##############################################################################
119 # Layer 2 protocols go here
120 ##############################################################################
122 ##############################################################################
123 # Layer 2 protocol: Ethernet
124 ##############################################################################
125 list(APPEND VNET_SOURCES
126 ethernet/ethernet_types_api.c
130 ethernet/mac_address.c
134 ethernet/p2p_ethernet.c
135 ethernet/p2p_ethernet_input.c
136 ethernet/p2p_ethernet_api.c
139 list(APPEND VNET_MULTIARCH_SOURCES
141 ethernet/p2p_ethernet_input.c
144 list(APPEND VNET_HEADERS
147 ethernet/mac_address.h
151 ethernet/p2p_ethernet.h
154 list(APPEND VNET_API_FILES ethernet/p2p_ethernet.api)
156 ##############################################################################
157 # Layer 2 protocol: Ethernet bridging
158 ##############################################################################
159 list(APPEND VNET_SOURCES
164 l2/l2_input_classify.c
165 l2/l2_output_classify.c
175 l2/l2_in_out_feat_arc.c
183 list(APPEND VNET_MULTIARCH_SOURCES
188 l2/l2_in_out_feat_arc.c
189 l2/l2_input_classify.c
191 l2/l2_output_classify.c
201 list(APPEND VNET_HEADERS
218 list(APPEND VNET_API_FILES l2/l2.api)
220 ##############################################################################
221 # Layer 2 protocol: SRP
222 ##############################################################################
223 list(APPEND VNET_SOURCES
230 list(APPEND VNET_HEADERS
235 ##############################################################################
236 # Layer 2 protocol: PPP
237 ##############################################################################
238 list(APPEND VNET_SOURCES
244 list(APPEND VNET_HEADERS
250 ##############################################################################
251 # Layer 2 protocol: HDLC
252 ##############################################################################
253 list(APPEND VNET_SOURCES
259 list(APPEND VNET_HEADERS
265 ##############################################################################
266 # Layer 2 protocol: LLC
267 ##############################################################################
268 list(APPEND VNET_SOURCES
274 list(APPEND VNET_HEADERS
278 ##############################################################################
279 # Layer 2 protocol: SNAP
280 ##############################################################################
281 list(APPEND VNET_SOURCES
287 list(APPEND VNET_HEADERS
291 ##############################################################################
293 ##############################################################################
294 list(APPEND VNET_SOURCES
301 list(APPEND VNET_MULTIARCH_SOURCES
305 list(APPEND VNET_HEADERS
308 vxlan/vxlan_error.def
311 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
313 list(APPEND VNET_API_FILES vxlan/vxlan.api)
315 ##############################################################################
317 ##############################################################################
318 list(APPEND VNET_SOURCES
325 list(APPEND VNET_MULTIARCH_SOURCES
330 list(APPEND VNET_HEADERS
332 geneve/geneve_packet.h
333 geneve/geneve_error.def
336 list(APPEND VNET_API_FILES geneve/geneve.api)
338 ##############################################################################
340 ##############################################################################
341 list(APPEND VNET_SOURCES
348 list(APPEND VNET_HEADERS
352 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
353 list(APPEND VNET_API_FILES bonding/bond.api)
355 ##############################################################################
357 ##############################################################################
358 list(APPEND VNET_SOURCES
366 list(APPEND VNET_HEADERS
371 list(APPEND VNET_API_FILES lldp/lldp.api)
373 ##############################################################################
374 # Layer 2/3 "classify"
375 ##############################################################################
376 list(APPEND VNET_SOURCES
377 classify/vnet_classify.c
378 classify/ip_classify.c
379 classify/in_out_acl.c
380 classify/policer_classify.c
381 classify/flow_classify.c
382 classify/flow_classify_node.c
383 classify/vnet_classify.h
384 classify/classify_api.c
387 list(APPEND VNET_MULTIARCH_SOURCES
388 classify/ip_classify.c
389 classify/flow_classify_node.c
392 list(APPEND VNET_HEADERS
393 classify/vnet_classify.h
394 classify/in_out_acl.h
395 classify/policer_classify.h
396 classify/flow_classify.h
399 list(APPEND VNET_API_FILES classify/classify.api)
401 ##############################################################################
402 # Layer 3 protocols go here
403 ##############################################################################
405 ##############################################################################
406 # Layer 3 protocol: IP v4/v6
407 ##############################################################################
408 list(APPEND VNET_SOURCES
421 ip/ip4_source_and_port_range_check.c
422 ip/ip4_source_check.c
448 list(APPEND VNET_MULTIARCH_SOURCES
449 ip/ip4_source_check.c
460 list(APPEND VNET_HEADERS
473 ip/ip6_hop_by_hop_packet.h
478 ip/ip_source_and_port_range_check.h
487 list(APPEND VNET_API_FILES
493 list(APPEND VNET_MULTIARCH_SOURCES
499 ##############################################################################
501 ##############################################################################
502 list(APPEND VNET_SOURCES
506 list(APPEND VNET_HEADERS
507 ethernet/arp_packet.h
511 ##############################################################################
512 # Bidirectional Forwarding Detection
513 ##############################################################################
515 list(APPEND VNET_HEADERS
522 list(APPEND VNET_SOURCES
531 list(APPEND VNET_API_FILES bfd/bfd.api)
533 ##############################################################################
535 ##############################################################################
537 list(APPEND VNET_SOURCES
543 list(APPEND VNET_HEADERS
547 ##############################################################################
548 # Layer 3 protocol: IPSec
549 ##############################################################################
550 list(APPEND VNET_SOURCES
559 ipsec/ipsec_spd_policy.c
568 list(APPEND VNET_MULTIARCH_SOURCES
578 list(APPEND VNET_API_FILES ipsec/ipsec.api)
580 list(APPEND VNET_SOURCES
584 list(APPEND VNET_HEADERS
587 ipsec/ipsec_spd_policy.h
594 ##############################################################################
595 # Layer 3 protocol: osi
596 ##############################################################################
597 list(APPEND VNET_SOURCES
603 list(APPEND VNET_HEADERS
607 ##############################################################################
608 # Layer 4 protocol: tcp
609 ##############################################################################
610 list(APPEND VNET_SOURCES
614 tcp/tcp_syn_filter4.c
622 list(APPEND VNET_MULTIARCH_SOURCES
625 tcp/tcp_syn_filter4.c
628 list(APPEND VNET_HEADERS
636 list(APPEND VNET_API_FILES tcp/tcp.api)
638 ##############################################################################
639 # Layer 4 protocol: udp
640 ##############################################################################
641 list(APPEND VNET_SOURCES
652 list(APPEND VNET_MULTIARCH_SOURCES
657 list(APPEND VNET_HEADERS
663 list(APPEND VNET_API_FILES udp/udp.api)
665 ##############################################################################
666 # Layer 4 protocol: sctp
667 ##############################################################################
668 list(APPEND VNET_SOURCES
674 sctp/sctp_output_node.c
678 list(APPEND VNET_MULTIARCH_SOURCES
679 sctp/sctp_output_node.c
683 list(APPEND VNET_HEADERS
690 list(APPEND VNET_API_FILES sctp/sctp.api)
692 ##############################################################################
693 # Tunnel protocol: gre
694 ##############################################################################
695 list(APPEND VNET_SOURCES
703 list(APPEND VNET_MULTIARCH_SOURCES
708 list(APPEND VNET_HEADERS
714 list(APPEND VNET_API_FILES gre/gre.api)
716 ##############################################################################
717 # Tunnel protocol: ipip
718 ##############################################################################
719 list(APPEND VNET_SOURCES
727 list(APPEND VNET_MULTIARCH_SOURCES
731 list(APPEND VNET_HEADERS
735 list(APPEND VNET_API_FILES ipip/ipip.api)
737 ##############################################################################
738 # Tunnel protocol: l2tpv3
739 ##############################################################################
740 list(APPEND VNET_SOURCES
748 list(APPEND VNET_MULTIARCH_SOURCES
753 list(APPEND VNET_HEADERS
758 list(APPEND VNET_API_FILES l2tp/l2tp.api)
760 ##############################################################################
761 # Tunnel protocol: gre+mpls
762 ##############################################################################
763 list(APPEND VNET_SOURCES
775 list(APPEND VNET_MULTIARCH_SOURCES
782 list(APPEND VNET_HEADERS
790 list(APPEND VNET_API_FILES mpls/mpls.api)
792 ##############################################################################
793 # Tunnel protocol: vxlan-gbp
794 ##############################################################################
795 list(APPEND VNET_SOURCES
798 vxlan-gbp/vxlan_gbp_api.c
799 vxlan-gbp/vxlan_gbp.c
800 vxlan-gbp/vxlan_gbp_packet.c
803 list (APPEND VNET_MULTIARCH_SOURCES
808 list(APPEND VNET_HEADERS
809 vxlan-gbp/vxlan_gbp.h
810 vxlan-gbp/vxlan_gbp_packet.h
811 vxlan-gbp/vxlan_gbp_error.def
814 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
816 ##############################################################################
817 # Tunnel protocol: vxlan-gpe
818 ##############################################################################
820 list(APPEND VNET_SOURCES
821 vxlan-gpe/vxlan_gpe.c
824 vxlan-gpe/vxlan_gpe_api.c
827 list (APPEND VNET_MULTIARCH_SOURCES
831 list(APPEND VNET_HEADERS
832 vxlan-gpe/vxlan_gpe.h
833 vxlan-gpe/vxlan_gpe_packet.h
834 vxlan-gpe/vxlan_gpe_error.def
837 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
839 ##############################################################################
840 # Tunnel protocol: ipsec+gre
841 ##############################################################################
842 list(APPEND VNET_SOURCES
843 ipsec-gre/ipsec_gre.c
845 ipsec-gre/interface.c
846 ipsec-gre/ipsec_gre_api.c
849 list(APPEND VNET_MULTIARCH_SOURCES
851 ipsec-gre/ipsec_gre.c
854 list(APPEND VNET_HEADERS
855 ipsec-gre/ipsec_gre.h
859 list(APPEND VNET_API_FILES ipsec-gre/ipsec_gre.api)
861 ##############################################################################
862 # LISP control plane: lisp-cp
863 ##############################################################################
865 list(APPEND VNET_SOURCES
867 lisp-cp/lisp_cp_dpo.c
869 lisp-cp/gid_dictionary.c
870 lisp-cp/lisp_msg_serdes.c
878 list(APPEND VNET_HEADERS
881 lisp-cp/gid_dictionary.h
882 lisp-cp/lisp_cp_messages.h
883 lisp-cp/lisp_msg_serdes.h
887 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
888 list(APPEND VNET_API_FILES lisp-cp/one.api)
890 ##############################################################################
891 # Tunnel protocol: lisp-gpe
892 ##############################################################################
894 list(APPEND VNET_SOURCES
896 lisp-gpe/lisp_gpe_sub_interface.c
897 lisp-gpe/lisp_gpe_adjacency.c
898 lisp-gpe/lisp_gpe_tunnel.c
899 lisp-gpe/lisp_gpe_fwd_entry.c
900 lisp-gpe/lisp_gpe_tenant.c
903 lisp-gpe/lisp_gpe_api.c
906 list(APPEND VNET_HEADERS
908 lisp-gpe/lisp_gpe_fwd_entry.h
909 lisp-gpe/lisp_gpe_tenant.h
910 lisp-gpe/lisp_gpe_packet.h
911 lisp-gpe/lisp_gpe_error.def
914 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
916 ##############################################################################
918 ##############################################################################
919 list(APPEND VNET_SOURCES
921 dhcp/dhcp_client_detect.c
922 dhcp/dhcp6_client_common_dp.c
923 dhcp/dhcp6_pd_client_dp.c
924 dhcp/dhcp6_pd_client_cp.c
925 dhcp/dhcp6_ia_na_client_dp.c
926 dhcp/dhcp6_ia_na_client_cp.c
930 list(APPEND VNET_MULTIARCH_SOURCES
931 dhcp/dhcp_client_detect.c
934 list(APPEND VNET_HEADERS
936 dhcp/dhcp6_client_common_dp.h
937 dhcp/dhcp6_pd_client_dp.h
938 dhcp/dhcp6_ia_na_client_dp.h
941 list(APPEND VNET_API_FILES
943 dhcp/dhcp6_pd_client_cp.api
944 dhcp/dhcp6_ia_na_client_cp.api
947 ##############################################################################
949 ##############################################################################
950 list(APPEND VNET_SOURCES
951 dhcp/dhcp6_proxy_node.c
952 dhcp/dhcp4_proxy_node.c
956 list(APPEND VNET_HEADERS
960 dhcp/dhcp6_proxy_error.def
961 dhcp/dhcp4_proxy_error.def
964 ##############################################################################
965 # ipv6 segment routing
966 ##############################################################################
968 list(APPEND VNET_SOURCES
971 srv6/sr_policy_rewrite.c
976 list(APPEND VNET_HEADERS
981 list(APPEND VNET_API_FILES srv6/sr.api)
983 ##############################################################################
984 # mpls segment routing
985 ##############################################################################
987 list(APPEND VNET_SOURCES
988 srmpls/sr_mpls_policy.c
989 srmpls/sr_mpls_steering.c
993 list(APPEND VNET_HEADERS
997 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
999 ##############################################################################
1000 # IPFIX / netflow v10
1001 ##############################################################################
1002 list(APPEND VNET_SOURCES
1003 ipfix-export/flow_report.c
1004 ipfix-export/flow_api.c
1007 list(APPEND VNET_HEADERS
1008 ipfix-export/flow_report.h
1009 ipfix-export/ipfix_info_elements.h
1010 ipfix-export/ipfix_packet.h
1013 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
1015 ##############################################################################
1016 # IPFIX classify code
1017 ##############################################################################
1019 list(APPEND VNET_SOURCES
1020 ipfix-export/flow_report_classify.c
1023 list(APPEND VNET_HEADERS
1024 ipfix-export/flow_report_classify.h
1027 ##############################################################################
1029 ##############################################################################
1031 list(APPEND VNET_SOURCES
1032 lawful-intercept/lawful_intercept.c
1033 lawful-intercept/node.c
1036 list(APPEND VNET_MULTIARCH_SOURCES
1037 lawful-intercept/node.c
1040 list(APPEND VNET_HEADERS
1041 lawful-intercept/lawful_intercept.h
1044 ##############################################################################
1045 # SPAN (port mirroring)
1046 ##############################################################################
1048 list(APPEND VNET_SOURCES
1054 list(APPEND VNET_MULTIARCH_SOURCES
1058 list(APPEND VNET_HEADERS
1062 list(APPEND VNET_API_FILES span/span.api)
1064 ##############################################################################
1066 ##############################################################################
1067 list(APPEND VNET_SOURCES
1073 dns/resolver_process.c
1076 list(APPEND VNET_HEADERS
1080 list(APPEND VNET_API_FILES dns/dns.api)
1082 ##############################################################################
1084 ##############################################################################
1086 list(APPEND VNET_SOURCES
1096 list(APPEND VNET_HEADERS
1101 list(APPEND VNET_API_FILES pg/pg.api)
1103 ##############################################################################
1105 ##############################################################################
1107 list(APPEND VNET_SOURCES
1108 devices/virtio/device.c
1109 devices/virtio/node.c
1110 devices/virtio/vhost_user.c
1111 devices/virtio/vhost_user_input.c
1112 devices/virtio/vhost_user_output.c
1113 devices/virtio/vhost_user_api.c
1114 devices/virtio/virtio.c
1115 devices/virtio/virtio_api.c
1116 devices/virtio/cli.c
1117 devices/virtio/pci.c
1120 list(APPEND VNET_HEADERS
1121 devices/virtio/pci.h
1122 devices/virtio/virtio.h
1123 devices/virtio/vhost_user.h
1126 list(APPEND VNET_MULTIARCH_SOURCES
1127 devices/virtio/vhost_user_input.c
1128 devices/virtio/vhost_user_output.c
1129 devices/netmap/node.c
1130 devices/virtio/node.c
1131 devices/af_packet/node.c
1132 devices/virtio/device.c
1135 list(APPEND VNET_API_FILES
1136 devices/virtio/vhost_user.api
1137 devices/virtio/virtio.api
1140 ##############################################################################
1141 # tap interface (with virtio backend)
1142 ##############################################################################
1144 list(APPEND VNET_SOURCES
1147 devices/tap/tapv2_api.c
1150 list(APPEND VNET_HEADERS
1154 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1156 ##############################################################################
1157 # tap interface (with virtio backend)
1158 ##############################################################################
1160 list(APPEND VNET_SOURCES
1161 devices/pipe/pipe_api.c
1165 list(APPEND VNET_HEADERS
1169 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1171 ##############################################################################
1172 # session managmeent
1173 ##############################################################################
1175 list(APPEND VNET_SOURCES
1177 session/session_table.c
1178 session/session_rules_table.c
1179 session/session_lookup.c
1180 session/session_node.c
1182 session/application.c
1183 session/application_worker.c
1184 session/session_cli.c
1185 session/application_interface.c
1186 session/application_local.c
1187 session/application_namespace.c
1188 session/segment_manager.c
1189 session/session_api.c
1192 list(APPEND VNET_HEADERS
1194 session/session_table.h
1195 session/session_rules_table.h
1196 session/session_types.h
1197 session/session_lookup.h
1198 session/application.h
1200 session/transport_types.h
1201 session/application_interface.h
1202 session/application_local.h
1203 session/application_namespace.h
1204 session/session_debug.h
1205 session/segment_manager.h
1206 session/mma_template.h
1207 session/mma_template.c
1212 list(APPEND VNET_API_FILES session/session.api)
1214 ##############################################################################
1215 # session layer applications
1216 ##############################################################################
1218 list(APPEND VNET_SOURCES
1219 session-apps/echo_client.c
1220 session-apps/echo_server.c
1221 session-apps/http_server.c
1222 session-apps/proxy.c
1225 list(APPEND VNET_HEADERS
1226 session-apps/echo_client.h
1227 session-apps/proxy.h
1230 ##############################################################################
1232 ##############################################################################
1234 list(APPEND VNET_SOURCES
1238 list(APPEND VNET_HEADERS
1243 ##############################################################################
1244 # Linux packet interface
1245 ##############################################################################
1247 list(APPEND VNET_SOURCES
1248 devices/af_packet/af_packet.c
1249 devices/af_packet/device.c
1250 devices/af_packet/node.c
1251 devices/af_packet/cli.c
1252 devices/af_packet/af_packet_api.c
1255 list(APPEND VNET_MULTIARCH_SOURCES
1256 devices/netmap/device.c
1257 devices/af_packet/device.c
1260 list(APPEND VNET_HEADERS
1261 devices/af_packet/af_packet.h
1264 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1266 ##############################################################################
1268 ##############################################################################
1270 list(APPEND VNET_SOURCES
1271 devices/netmap/netmap.c
1272 devices/netmap/device.c
1273 devices/netmap/node.c
1274 devices/netmap/cli.c
1275 devices/netmap/netmap_api.c
1278 list(APPEND VNET_HEADERS
1279 devices/netmap/netmap.h
1282 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1284 ##############################################################################
1285 # Driver feature graph arc support
1286 ##############################################################################
1288 list(APPEND VNET_SOURCES
1290 feature/feature_api.c
1291 feature/registration.c
1294 list(APPEND VNET_HEADERS
1298 list(APPEND VNET_API_FILES feature/feature.api)
1300 ##############################################################################
1301 # Unix kernel related
1302 ##############################################################################
1304 # FIXME: unix/hgshm.c
1306 list(APPEND VNET_SOURCES
1311 list(APPEND VNET_HEADERS
1315 ##############################################################################
1317 ##############################################################################
1319 list(APPEND VNET_SOURCES
1331 fib/fib_entry_src_rr.c
1332 fib/fib_entry_src_interface.c
1333 fib/fib_entry_src_interpose.c
1334 fib/fib_entry_src_default_route.c
1335 fib/fib_entry_src_special.c
1336 fib/fib_entry_src_api.c
1337 fib/fib_entry_src_adj.c
1338 fib/fib_entry_src_mpls.c
1339 fib/fib_entry_src_lisp.c
1340 fib/fib_entry_cover.c
1341 fib/fib_entry_delegate.c
1346 fib/fib_attached_export.c
1351 list(APPEND VNET_HEADERS
1361 fib/fib_entry_delegate.h
1364 ##############################################################################
1366 ##############################################################################
1368 list(APPEND VNET_SOURCES
1381 list(APPEND VNET_MULTIARCH_SOURCES
1386 list(APPEND VNET_HEADERS
1395 ##############################################################################
1396 # Data-Plane Objects
1397 ##############################################################################
1399 list(APPEND VNET_SOURCES
1407 dpo/load_balance_map.c
1411 dpo/interface_rx_dpo.c
1412 dpo/interface_tx_dpo.c
1413 dpo/mpls_disposition.c
1414 dpo/mpls_label_dpo.c
1419 list(APPEND VNET_MULTIARCH_SOURCES
1421 dpo/mpls_disposition.c
1423 dpo/mpls_label_dpo.c
1424 dpo/interface_rx_dpo.c
1427 list(APPEND VNET_HEADERS
1439 ##############################################################################
1441 ##############################################################################
1443 list(APPEND VNET_SOURCES
1452 mfib/mfib_entry_cover.c
1453 mfib/mfib_entry_delegate.c
1454 mfib/mfib_entry_src.c
1455 mfib/mfib_entry_src_rr.c
1459 list(APPEND VNET_MULTIARCH_SOURCES
1463 list(APPEND VNET_HEADERS
1469 ##############################################################################
1471 ##############################################################################
1473 list(APPEND VNET_SOURCES
1480 list(APPEND VNET_HEADERS
1484 ##############################################################################
1486 ##############################################################################
1488 list(APPEND VNET_SOURCES
1491 qos/qos_egress_map.c
1493 qos/qos_record_node.c
1498 list(APPEND VNET_MULTIARCH_SOURCES
1499 qos/qos_record_node.c
1503 list(APPEND VNET_API_FILES qos/qos.api)
1505 ##############################################################################
1507 ##############################################################################
1509 list(APPEND VNET_SOURCES
1510 bier/bier_bit_string.c
1513 bier/bier_fmask_db.c
1522 bier/bier_imp_node.c
1524 bier/bier_disp_entry.c
1525 bier/bier_disp_lookup_node.c
1526 bier/bier_disp_dispatch_node.c
1527 bier/bier_disp_table.c
1528 bier/bier_bift_table.c
1531 list(APPEND VNET_MULTIARCH_SOURCES
1532 bier/bier_disp_dispatch_node.c
1533 bier/bier_disp_lookup_node.c
1534 bier/bier_imp_node.c
1537 list(APPEND VNET_HEADERS
1544 list(APPEND VNET_API_FILES bier/bier.api)
1546 ##############################################################################
1548 ##############################################################################
1550 list (APPEND VNET_SOURCES
1556 list(APPEND VNET_HEADERS
1561 list(APPEND VNET_API_FILES syslog/syslog.api)
1563 ##############################################################################
1565 ##############################################################################
1567 add_vpp_library(vnet
1568 SOURCES ${VNET_SOURCES}
1569 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1570 INSTALL_HEADERS ${VNET_HEADERS}
1571 API_FILES ${VNET_API_FILES}
1572 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1576 ##############################################################################
1578 ##############################################################################
1580 option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON)
1581 if(VPP_BUILD_SESSION_ECHO_APPS)
1582 add_vpp_executable(tcp_echo
1583 SOURCES ../tests/vnet/session/tcp_echo.c
1584 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1588 add_vpp_executable(udp_echo
1589 SOURCES ../tests/vnet/session/udp_echo.c
1590 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1594 endif(VPP_BUILD_SESSION_ECHO_APPS)
1596 ##############################################################################