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
165 l2/l2_input_classify.c
166 l2/l2_output_classify.c
176 l2/l2_in_out_feat_arc.c
184 list(APPEND VNET_MULTIARCH_SOURCES
190 l2/l2_in_out_feat_arc.c
191 l2/l2_input_classify.c
193 l2/l2_output_classify.c
203 list(APPEND VNET_HEADERS
220 list(APPEND VNET_API_FILES l2/l2.api)
222 ##############################################################################
223 # Layer 2 protocol: SRP
224 ##############################################################################
225 list(APPEND VNET_SOURCES
232 list(APPEND VNET_HEADERS
237 ##############################################################################
238 # Layer 2 protocol: PPP
239 ##############################################################################
240 list(APPEND VNET_SOURCES
246 list(APPEND VNET_HEADERS
252 ##############################################################################
253 # Layer 2 protocol: HDLC
254 ##############################################################################
255 list(APPEND VNET_SOURCES
261 list(APPEND VNET_HEADERS
267 ##############################################################################
268 # Layer 2 protocol: LLC
269 ##############################################################################
270 list(APPEND VNET_SOURCES
276 list(APPEND VNET_HEADERS
280 ##############################################################################
281 # Layer 2 protocol: SNAP
282 ##############################################################################
283 list(APPEND VNET_SOURCES
289 list(APPEND VNET_HEADERS
293 ##############################################################################
295 ##############################################################################
296 list(APPEND VNET_SOURCES
303 list(APPEND VNET_MULTIARCH_SOURCES
307 list(APPEND VNET_HEADERS
310 vxlan/vxlan_error.def
313 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
315 list(APPEND VNET_API_FILES vxlan/vxlan.api)
317 ##############################################################################
319 ##############################################################################
320 list(APPEND VNET_SOURCES
327 list(APPEND VNET_MULTIARCH_SOURCES
332 list(APPEND VNET_HEADERS
334 geneve/geneve_packet.h
335 geneve/geneve_error.def
338 list(APPEND VNET_API_FILES geneve/geneve.api)
340 ##############################################################################
342 ##############################################################################
343 list(APPEND VNET_SOURCES
350 list(APPEND VNET_HEADERS
354 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
355 list(APPEND VNET_API_FILES bonding/bond.api)
357 ##############################################################################
359 ##############################################################################
360 list(APPEND VNET_SOURCES
368 list(APPEND VNET_HEADERS
373 list(APPEND VNET_API_FILES lldp/lldp.api)
375 ##############################################################################
376 # Layer 2/3 "classify"
377 ##############################################################################
378 list(APPEND VNET_SOURCES
379 classify/vnet_classify.c
380 classify/ip_classify.c
381 classify/in_out_acl.c
382 classify/policer_classify.c
383 classify/flow_classify.c
384 classify/flow_classify_node.c
385 classify/vnet_classify.h
386 classify/classify_api.c
389 list(APPEND VNET_MULTIARCH_SOURCES
390 classify/ip_classify.c
391 classify/flow_classify_node.c
394 list(APPEND VNET_HEADERS
395 classify/vnet_classify.h
396 classify/in_out_acl.h
397 classify/policer_classify.h
398 classify/flow_classify.h
401 list(APPEND VNET_API_FILES classify/classify.api)
403 ##############################################################################
404 # Layer 3 protocols go here
405 ##############################################################################
407 ##############################################################################
408 # Layer 3 protocol: IP v4/v6
409 ##############################################################################
410 list(APPEND VNET_SOURCES
423 ip/ip4_source_and_port_range_check.c
424 ip/ip4_source_check.c
450 list(APPEND VNET_MULTIARCH_SOURCES
451 ip/ip4_source_check.c
462 list(APPEND VNET_HEADERS
475 ip/ip6_hop_by_hop_packet.h
480 ip/ip_source_and_port_range_check.h
489 list(APPEND VNET_API_FILES
495 list(APPEND VNET_MULTIARCH_SOURCES
501 ##############################################################################
503 ##############################################################################
504 list(APPEND VNET_SOURCES
508 list(APPEND VNET_HEADERS
509 ethernet/arp_packet.h
513 ##############################################################################
514 # Bidirectional Forwarding Detection
515 ##############################################################################
517 list(APPEND VNET_HEADERS
524 list(APPEND VNET_SOURCES
533 list(APPEND VNET_API_FILES bfd/bfd.api)
535 ##############################################################################
537 ##############################################################################
539 list(APPEND VNET_SOURCES
545 list(APPEND VNET_HEADERS
549 ##############################################################################
550 # Layer 3 protocol: IPSec
551 ##############################################################################
552 list(APPEND VNET_SOURCES
561 ipsec/ipsec_spd_policy.c
570 list(APPEND VNET_MULTIARCH_SOURCES
580 list(APPEND VNET_API_FILES ipsec/ipsec.api)
582 list(APPEND VNET_SOURCES
586 list(APPEND VNET_HEADERS
589 ipsec/ipsec_spd_policy.h
596 ##############################################################################
597 # Layer 3 protocol: osi
598 ##############################################################################
599 list(APPEND VNET_SOURCES
605 list(APPEND VNET_HEADERS
609 ##############################################################################
610 # Layer 4 protocol: tcp
611 ##############################################################################
612 list(APPEND VNET_SOURCES
616 tcp/tcp_syn_filter4.c
624 list(APPEND VNET_MULTIARCH_SOURCES
627 tcp/tcp_syn_filter4.c
630 list(APPEND VNET_HEADERS
638 list(APPEND VNET_API_FILES tcp/tcp.api)
640 ##############################################################################
641 # Layer 4 protocol: udp
642 ##############################################################################
643 list(APPEND VNET_SOURCES
654 list(APPEND VNET_MULTIARCH_SOURCES
659 list(APPEND VNET_HEADERS
665 list(APPEND VNET_API_FILES udp/udp.api)
667 ##############################################################################
668 # Layer 4 protocol: sctp
669 ##############################################################################
670 list(APPEND VNET_SOURCES
676 sctp/sctp_output_node.c
680 list(APPEND VNET_MULTIARCH_SOURCES
681 sctp/sctp_output_node.c
685 list(APPEND VNET_HEADERS
692 list(APPEND VNET_API_FILES sctp/sctp.api)
694 ##############################################################################
695 # Tunnel protocol: gre
696 ##############################################################################
697 list(APPEND VNET_SOURCES
705 list(APPEND VNET_MULTIARCH_SOURCES
710 list(APPEND VNET_HEADERS
716 list(APPEND VNET_API_FILES gre/gre.api)
718 ##############################################################################
719 # Tunnel protocol: ipip
720 ##############################################################################
721 list(APPEND VNET_SOURCES
729 list(APPEND VNET_MULTIARCH_SOURCES
733 list(APPEND VNET_HEADERS
737 list(APPEND VNET_API_FILES ipip/ipip.api)
739 ##############################################################################
740 # Tunnel protocol: l2tpv3
741 ##############################################################################
742 list(APPEND VNET_SOURCES
750 list(APPEND VNET_MULTIARCH_SOURCES
755 list(APPEND VNET_HEADERS
760 list(APPEND VNET_API_FILES l2tp/l2tp.api)
762 ##############################################################################
763 # Tunnel protocol: gre+mpls
764 ##############################################################################
765 list(APPEND VNET_SOURCES
777 list(APPEND VNET_MULTIARCH_SOURCES
784 list(APPEND VNET_HEADERS
792 list(APPEND VNET_API_FILES mpls/mpls.api)
794 ##############################################################################
795 # Tunnel protocol: vxlan-gbp
796 ##############################################################################
797 list(APPEND VNET_SOURCES
800 vxlan-gbp/vxlan_gbp_api.c
801 vxlan-gbp/vxlan_gbp.c
802 vxlan-gbp/vxlan_gbp_packet.c
805 list (APPEND VNET_MULTIARCH_SOURCES
810 list(APPEND VNET_HEADERS
811 vxlan-gbp/vxlan_gbp.h
812 vxlan-gbp/vxlan_gbp_packet.h
813 vxlan-gbp/vxlan_gbp_error.def
816 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
818 ##############################################################################
819 # Tunnel protocol: vxlan-gpe
820 ##############################################################################
822 list(APPEND VNET_SOURCES
823 vxlan-gpe/vxlan_gpe.c
826 vxlan-gpe/vxlan_gpe_api.c
829 list (APPEND VNET_MULTIARCH_SOURCES
833 list(APPEND VNET_HEADERS
834 vxlan-gpe/vxlan_gpe.h
835 vxlan-gpe/vxlan_gpe_packet.h
836 vxlan-gpe/vxlan_gpe_error.def
839 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
841 ##############################################################################
842 # Tunnel protocol: ipsec+gre
843 ##############################################################################
844 list(APPEND VNET_SOURCES
845 ipsec-gre/ipsec_gre.c
847 ipsec-gre/interface.c
848 ipsec-gre/ipsec_gre_api.c
851 list(APPEND VNET_MULTIARCH_SOURCES
853 ipsec-gre/ipsec_gre.c
856 list(APPEND VNET_HEADERS
857 ipsec-gre/ipsec_gre.h
861 list(APPEND VNET_API_FILES ipsec-gre/ipsec_gre.api)
863 ##############################################################################
864 # LISP control plane: lisp-cp
865 ##############################################################################
867 list(APPEND VNET_SOURCES
869 lisp-cp/lisp_cp_dpo.c
871 lisp-cp/gid_dictionary.c
872 lisp-cp/lisp_msg_serdes.c
880 list(APPEND VNET_HEADERS
883 lisp-cp/gid_dictionary.h
884 lisp-cp/lisp_cp_messages.h
885 lisp-cp/lisp_msg_serdes.h
889 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
890 list(APPEND VNET_API_FILES lisp-cp/one.api)
892 ##############################################################################
893 # Tunnel protocol: lisp-gpe
894 ##############################################################################
896 list(APPEND VNET_SOURCES
898 lisp-gpe/lisp_gpe_sub_interface.c
899 lisp-gpe/lisp_gpe_adjacency.c
900 lisp-gpe/lisp_gpe_tunnel.c
901 lisp-gpe/lisp_gpe_fwd_entry.c
902 lisp-gpe/lisp_gpe_tenant.c
905 lisp-gpe/lisp_gpe_api.c
908 list(APPEND VNET_HEADERS
910 lisp-gpe/lisp_gpe_fwd_entry.h
911 lisp-gpe/lisp_gpe_tenant.h
912 lisp-gpe/lisp_gpe_packet.h
913 lisp-gpe/lisp_gpe_error.def
916 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
918 ##############################################################################
920 ##############################################################################
921 list(APPEND VNET_SOURCES
923 dhcp/dhcp_client_detect.c
924 dhcp/dhcp6_client_common_dp.c
925 dhcp/dhcp6_pd_client_dp.c
926 dhcp/dhcp6_pd_client_cp.c
927 dhcp/dhcp6_ia_na_client_dp.c
928 dhcp/dhcp6_ia_na_client_cp.c
932 list(APPEND VNET_MULTIARCH_SOURCES
933 dhcp/dhcp_client_detect.c
936 list(APPEND VNET_HEADERS
938 dhcp/dhcp6_client_common_dp.h
939 dhcp/dhcp6_pd_client_dp.h
940 dhcp/dhcp6_ia_na_client_dp.h
943 list(APPEND VNET_API_FILES
945 dhcp/dhcp6_pd_client_cp.api
946 dhcp/dhcp6_ia_na_client_cp.api
949 ##############################################################################
951 ##############################################################################
952 list(APPEND VNET_SOURCES
953 dhcp/dhcp6_proxy_node.c
954 dhcp/dhcp4_proxy_node.c
958 list(APPEND VNET_HEADERS
962 dhcp/dhcp6_proxy_error.def
963 dhcp/dhcp4_proxy_error.def
966 ##############################################################################
967 # ipv6 segment routing
968 ##############################################################################
970 list(APPEND VNET_SOURCES
973 srv6/sr_policy_rewrite.c
978 list(APPEND VNET_HEADERS
983 list(APPEND VNET_API_FILES srv6/sr.api)
985 ##############################################################################
986 # mpls segment routing
987 ##############################################################################
989 list(APPEND VNET_SOURCES
990 srmpls/sr_mpls_policy.c
991 srmpls/sr_mpls_steering.c
995 list(APPEND VNET_HEADERS
999 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
1001 ##############################################################################
1002 # IPFIX / netflow v10
1003 ##############################################################################
1004 list(APPEND VNET_SOURCES
1005 ipfix-export/flow_report.c
1006 ipfix-export/flow_api.c
1009 list(APPEND VNET_HEADERS
1010 ipfix-export/flow_report.h
1011 ipfix-export/ipfix_info_elements.h
1012 ipfix-export/ipfix_packet.h
1015 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
1017 ##############################################################################
1018 # IPFIX classify code
1019 ##############################################################################
1021 list(APPEND VNET_SOURCES
1022 ipfix-export/flow_report_classify.c
1025 list(APPEND VNET_HEADERS
1026 ipfix-export/flow_report_classify.h
1029 ##############################################################################
1031 ##############################################################################
1033 list(APPEND VNET_SOURCES
1034 lawful-intercept/lawful_intercept.c
1035 lawful-intercept/node.c
1038 list(APPEND VNET_MULTIARCH_SOURCES
1039 lawful-intercept/node.c
1042 list(APPEND VNET_HEADERS
1043 lawful-intercept/lawful_intercept.h
1046 ##############################################################################
1047 # SPAN (port mirroring)
1048 ##############################################################################
1050 list(APPEND VNET_SOURCES
1056 list(APPEND VNET_MULTIARCH_SOURCES
1060 list(APPEND VNET_HEADERS
1064 list(APPEND VNET_API_FILES span/span.api)
1066 ##############################################################################
1068 ##############################################################################
1069 list(APPEND VNET_SOURCES
1075 dns/resolver_process.c
1078 list(APPEND VNET_HEADERS
1082 list(APPEND VNET_API_FILES dns/dns.api)
1084 ##############################################################################
1086 ##############################################################################
1088 list(APPEND VNET_SOURCES
1098 list(APPEND VNET_HEADERS
1103 list(APPEND VNET_API_FILES pg/pg.api)
1105 ##############################################################################
1107 ##############################################################################
1109 list(APPEND VNET_SOURCES
1110 devices/virtio/device.c
1111 devices/virtio/node.c
1112 devices/virtio/vhost_user.c
1113 devices/virtio/vhost_user_input.c
1114 devices/virtio/vhost_user_output.c
1115 devices/virtio/vhost_user_api.c
1116 devices/virtio/virtio.c
1117 devices/virtio/virtio_api.c
1118 devices/virtio/cli.c
1119 devices/virtio/pci.c
1122 list(APPEND VNET_HEADERS
1123 devices/virtio/pci.h
1124 devices/virtio/virtio.h
1125 devices/virtio/vhost_user.h
1128 list(APPEND VNET_MULTIARCH_SOURCES
1129 devices/virtio/vhost_user_input.c
1130 devices/virtio/vhost_user_output.c
1131 devices/netmap/node.c
1132 devices/virtio/node.c
1133 devices/af_packet/node.c
1134 devices/virtio/device.c
1137 list(APPEND VNET_API_FILES
1138 devices/virtio/vhost_user.api
1139 devices/virtio/virtio.api
1142 ##############################################################################
1143 # tap interface (with virtio backend)
1144 ##############################################################################
1146 list(APPEND VNET_SOURCES
1149 devices/tap/tapv2_api.c
1152 list(APPEND VNET_HEADERS
1156 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1158 ##############################################################################
1159 # tap interface (with virtio backend)
1160 ##############################################################################
1162 list(APPEND VNET_SOURCES
1163 devices/pipe/pipe_api.c
1167 list(APPEND VNET_HEADERS
1171 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1173 ##############################################################################
1174 # session managmeent
1175 ##############################################################################
1177 list(APPEND VNET_SOURCES
1179 session/session_table.c
1180 session/session_rules_table.c
1181 session/session_lookup.c
1182 session/session_node.c
1184 session/application.c
1185 session/application_worker.c
1186 session/session_cli.c
1187 session/application_interface.c
1188 session/application_local.c
1189 session/application_namespace.c
1190 session/segment_manager.c
1191 session/session_api.c
1194 list(APPEND VNET_HEADERS
1196 session/session_table.h
1197 session/session_rules_table.h
1198 session/session_types.h
1199 session/session_lookup.h
1200 session/application.h
1202 session/transport_types.h
1203 session/application_interface.h
1204 session/application_local.h
1205 session/application_namespace.h
1206 session/session_debug.h
1207 session/segment_manager.h
1208 session/mma_template.h
1209 session/mma_template.c
1214 list(APPEND VNET_API_FILES session/session.api)
1216 ##############################################################################
1217 # session layer applications
1218 ##############################################################################
1220 list(APPEND VNET_SOURCES
1221 session-apps/echo_client.c
1222 session-apps/echo_server.c
1223 session-apps/http_server.c
1224 session-apps/proxy.c
1227 list(APPEND VNET_HEADERS
1228 session-apps/echo_client.h
1229 session-apps/proxy.h
1232 ##############################################################################
1234 ##############################################################################
1236 list(APPEND VNET_SOURCES
1240 list(APPEND VNET_HEADERS
1245 ##############################################################################
1246 # Linux packet interface
1247 ##############################################################################
1249 list(APPEND VNET_SOURCES
1250 devices/af_packet/af_packet.c
1251 devices/af_packet/device.c
1252 devices/af_packet/node.c
1253 devices/af_packet/cli.c
1254 devices/af_packet/af_packet_api.c
1257 list(APPEND VNET_MULTIARCH_SOURCES
1258 devices/netmap/device.c
1259 devices/af_packet/device.c
1262 list(APPEND VNET_HEADERS
1263 devices/af_packet/af_packet.h
1266 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1268 ##############################################################################
1270 ##############################################################################
1272 list(APPEND VNET_SOURCES
1273 devices/netmap/netmap.c
1274 devices/netmap/device.c
1275 devices/netmap/node.c
1276 devices/netmap/cli.c
1277 devices/netmap/netmap_api.c
1280 list(APPEND VNET_HEADERS
1281 devices/netmap/netmap.h
1284 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1286 ##############################################################################
1287 # Driver feature graph arc support
1288 ##############################################################################
1290 list(APPEND VNET_SOURCES
1292 feature/feature_api.c
1293 feature/registration.c
1296 list(APPEND VNET_HEADERS
1300 list(APPEND VNET_API_FILES feature/feature.api)
1302 ##############################################################################
1303 # Unix kernel related
1304 ##############################################################################
1306 # FIXME: unix/hgshm.c
1308 list(APPEND VNET_SOURCES
1313 list(APPEND VNET_HEADERS
1317 ##############################################################################
1319 ##############################################################################
1321 list(APPEND VNET_SOURCES
1333 fib/fib_entry_src_rr.c
1334 fib/fib_entry_src_interface.c
1335 fib/fib_entry_src_interpose.c
1336 fib/fib_entry_src_default_route.c
1337 fib/fib_entry_src_special.c
1338 fib/fib_entry_src_api.c
1339 fib/fib_entry_src_adj.c
1340 fib/fib_entry_src_mpls.c
1341 fib/fib_entry_src_lisp.c
1342 fib/fib_entry_cover.c
1343 fib/fib_entry_delegate.c
1348 fib/fib_attached_export.c
1353 list(APPEND VNET_HEADERS
1363 fib/fib_entry_delegate.h
1366 ##############################################################################
1368 ##############################################################################
1370 list(APPEND VNET_SOURCES
1383 list(APPEND VNET_MULTIARCH_SOURCES
1388 list(APPEND VNET_HEADERS
1397 ##############################################################################
1398 # Data-Plane Objects
1399 ##############################################################################
1401 list(APPEND VNET_SOURCES
1409 dpo/load_balance_map.c
1413 dpo/interface_rx_dpo.c
1414 dpo/interface_tx_dpo.c
1415 dpo/mpls_disposition.c
1416 dpo/mpls_label_dpo.c
1421 list(APPEND VNET_MULTIARCH_SOURCES
1423 dpo/mpls_disposition.c
1425 dpo/mpls_label_dpo.c
1426 dpo/interface_rx_dpo.c
1429 list(APPEND VNET_HEADERS
1441 ##############################################################################
1443 ##############################################################################
1445 list(APPEND VNET_SOURCES
1454 mfib/mfib_entry_cover.c
1455 mfib/mfib_entry_delegate.c
1456 mfib/mfib_entry_src.c
1457 mfib/mfib_entry_src_rr.c
1461 list(APPEND VNET_MULTIARCH_SOURCES
1465 list(APPEND VNET_HEADERS
1471 ##############################################################################
1473 ##############################################################################
1475 list(APPEND VNET_SOURCES
1482 list(APPEND VNET_HEADERS
1486 ##############################################################################
1488 ##############################################################################
1490 list(APPEND VNET_SOURCES
1493 qos/qos_egress_map.c
1495 qos/qos_record_node.c
1500 list(APPEND VNET_MULTIARCH_SOURCES
1501 qos/qos_record_node.c
1505 list(APPEND VNET_API_FILES qos/qos.api)
1507 ##############################################################################
1509 ##############################################################################
1511 list(APPEND VNET_SOURCES
1512 bier/bier_bit_string.c
1515 bier/bier_fmask_db.c
1524 bier/bier_imp_node.c
1526 bier/bier_disp_entry.c
1527 bier/bier_disp_lookup_node.c
1528 bier/bier_disp_dispatch_node.c
1529 bier/bier_disp_table.c
1530 bier/bier_bift_table.c
1533 list(APPEND VNET_MULTIARCH_SOURCES
1534 bier/bier_disp_dispatch_node.c
1535 bier/bier_disp_lookup_node.c
1536 bier/bier_imp_node.c
1539 list(APPEND VNET_HEADERS
1546 list(APPEND VNET_API_FILES bier/bier.api)
1548 ##############################################################################
1550 ##############################################################################
1552 list (APPEND VNET_SOURCES
1558 list(APPEND VNET_HEADERS
1563 list(APPEND VNET_API_FILES syslog/syslog.api)
1565 ##############################################################################
1567 ##############################################################################
1569 add_vpp_library(vnet
1570 SOURCES ${VNET_SOURCES}
1571 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1572 INSTALL_HEADERS ${VNET_HEADERS}
1573 API_FILES ${VNET_API_FILES}
1574 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1578 ##############################################################################
1580 ##############################################################################
1582 option(VPP_BUILD_SESSION_ECHO_APPS "Build session echo apps." ON)
1583 if(VPP_BUILD_SESSION_ECHO_APPS)
1584 add_vpp_executable(tcp_echo
1585 SOURCES ../tests/vnet/session/tcp_echo.c
1586 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1590 add_vpp_executable(udp_echo
1591 SOURCES ../tests/vnet/session/udp_echo.c
1592 LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt
1596 endif(VPP_BUILD_SESSION_ECHO_APPS)
1598 ##############################################################################