1 # Copyright (c) 2018-2020 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
73 ethernet/ethernet_format_fns.h
76 list(APPEND VNET_API_FILES
82 ##############################################################################
84 ##############################################################################
85 list(APPEND VNET_SOURCES
92 list(APPEND VNET_MULTIARCH_SOURCES
96 list(APPEND VNET_HEADERS
102 list(APPEND VNET_API_FILES
104 policer/policer_types.api
107 ##############################################################################
108 # Binary API compatibility until vpp 20.12, see the ADL plugin...
109 ##############################################################################
111 list(APPEND VNET_SOURCES
115 list(APPEND VNET_API_FILES cop/cop.api)
117 ##############################################################################
118 # Layer 2 protocols go here
119 ##############################################################################
121 ##############################################################################
122 # Layer 2 protocol: Ethernet
123 ##############################################################################
124 list(APPEND VNET_SOURCES
125 ethernet/arp_packet.c
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
152 ethernet/arp_packet.h
155 list(APPEND VNET_API_FILES
156 ethernet/p2p_ethernet.api
157 ethernet/ethernet_types.api)
159 ##############################################################################
160 # Layer 2 protocol: Ethernet bridging
161 ##############################################################################
162 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/trace_classify.h
385 classify/ip_classify.c
386 classify/in_out_acl.c
387 classify/policer_classify.c
388 classify/flow_classify.c
389 classify/flow_classify_node.c
390 classify/vnet_classify.h
391 classify/classify_api.c
394 list(APPEND VNET_MULTIARCH_SOURCES
395 classify/ip_classify.c
396 classify/flow_classify_node.c
399 list(APPEND VNET_HEADERS
400 classify/vnet_classify.h
401 classify/trace_classify.h
402 classify/in_out_acl.h
403 classify/policer_classify.h
404 classify/flow_classify.h
407 list(APPEND VNET_API_FILES classify/classify.api)
409 ##############################################################################
410 # Layer 3 protocols go here
411 ##############################################################################
413 ##############################################################################
414 # Layer 3 protocol: IP v4/v6
415 ##############################################################################
416 list(APPEND VNET_SOURCES
430 ip/ip4_source_and_port_range_check.c
431 ip/reass/ip4_full_reass.c
432 ip/reass/ip4_sv_reass.c
442 ip/reass/ip6_full_reass.c
443 ip/reass/ip6_sv_reass.c
460 list(APPEND VNET_MULTIARCH_SOURCES
462 ip/reass/ip4_full_reass.c
464 ip/reass/ip6_full_reass.c
465 ip/reass/ip4_sv_reass.c
467 ip/reass/ip6_full_reass.c
468 ip/reass/ip6_sv_reass.c
475 list(APPEND VNET_HEADERS
489 ip/ip6_hop_by_hop_packet.h
495 ip/ip_source_and_port_range_check.h
504 list(APPEND VNET_API_FILES
509 list(APPEND VNET_MULTIARCH_SOURCES
515 ##############################################################################
517 ##############################################################################
518 list(APPEND VNET_SOURCES
519 ip-neighbor/ip_neighbor.c
520 ip-neighbor/ip_neighbor_api.c
521 ip-neighbor/ip_neighbor_dp.c
522 ip-neighbor/ip_neighbor_types.c
523 ip-neighbor/ip_neighbor_watch.c
524 ip-neighbor/ip4_neighbor.c
525 ip-neighbor/ip6_neighbor.c
528 list(APPEND VNET_HEADERS
529 ip-neighbor/ip_neighbor.h
530 ip-neighbor/ip_neighbor_types.h
533 list(APPEND VNET_API_FILES
534 ip-neighbor/ip_neighbor.api
537 ##############################################################################
538 # Bidirectional Forwarding Detection
539 ##############################################################################
541 list(APPEND VNET_HEADERS
548 list(APPEND VNET_SOURCES
557 list(APPEND VNET_API_FILES bfd/bfd.api)
559 ##############################################################################
561 ##############################################################################
563 list(APPEND VNET_SOURCES
570 list(APPEND VNET_HEADERS
574 list(APPEND VNET_MULTIARCH_SOURCES crypto/node.c)
576 ##############################################################################
577 # Layer 3 protocol: IPSec
578 ##############################################################################
579 list(APPEND VNET_SOURCES
583 ipsec/ipsec_handoff.c
589 ipsec/ipsec_spd_policy.c
598 ipsec/ipsec_types_api.c
601 list(APPEND VNET_MULTIARCH_SOURCES
606 ipsec/ipsec_handoff.c
612 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
613 list(APPEND VNET_API_FILES ipsec/ipsec.api)
615 list(APPEND VNET_SOURCES
619 list(APPEND VNET_HEADERS
622 ipsec/ipsec_spd_policy.h
625 ipsec/ipsec_types_api.h
631 ##############################################################################
632 # Layer 3 protocol: osi
633 ##############################################################################
634 list(APPEND VNET_SOURCES
640 list(APPEND VNET_HEADERS
644 ##############################################################################
645 # Layer 4 protocol: tcp
646 ##############################################################################
647 list(APPEND VNET_SOURCES
651 tcp/tcp_syn_filter4.c
663 list(APPEND VNET_MULTIARCH_SOURCES
666 tcp/tcp_syn_filter4.c
669 list(APPEND VNET_HEADERS
682 list(APPEND VNET_API_FILES tcp/tcp.api)
684 ##############################################################################
685 # Layer 4 protocol: udp
686 ##############################################################################
687 list(APPEND VNET_SOURCES
699 list(APPEND VNET_MULTIARCH_SOURCES
704 list(APPEND VNET_HEADERS
710 list(APPEND VNET_API_FILES udp/udp.api)
712 ##############################################################################
713 # Tunnel protocol: gre
714 ##############################################################################
715 list(APPEND VNET_SOURCES
723 list(APPEND VNET_MULTIARCH_SOURCES
728 list(APPEND VNET_HEADERS
734 list(APPEND VNET_API_FILES gre/gre.api)
736 ##############################################################################
737 # Tunnel protocol: ipip
738 ##############################################################################
739 list(APPEND VNET_SOURCES
747 list(APPEND VNET_MULTIARCH_SOURCES
751 list(APPEND VNET_HEADERS
755 list(APPEND VNET_API_FILES
759 ##############################################################################
761 ##############################################################################
762 list(APPEND VNET_SOURCES
764 tunnel/tunnel_types_api.c
767 list(APPEND VNET_API_FILES
768 tunnel/tunnel_types.api
771 list(APPEND VNET_HEADERS
776 ##############################################################################
777 # Tunnel protocol: l2tpv3
778 ##############################################################################
779 list(APPEND VNET_SOURCES
787 list(APPEND VNET_MULTIARCH_SOURCES
792 list(APPEND VNET_HEADERS
797 list(APPEND VNET_API_FILES l2tp/l2tp.api)
799 ##############################################################################
800 # Tunnel protocol: gre+mpls
801 ##############################################################################
802 list(APPEND VNET_SOURCES
814 list(APPEND VNET_MULTIARCH_SOURCES
821 list(APPEND VNET_HEADERS
829 list(APPEND VNET_API_FILES mpls/mpls.api)
831 ##############################################################################
832 # Tunnel protocol: vxlan-gbp
833 ##############################################################################
834 list(APPEND VNET_SOURCES
837 vxlan-gbp/vxlan_gbp_api.c
838 vxlan-gbp/vxlan_gbp.c
839 vxlan-gbp/vxlan_gbp_packet.c
842 list (APPEND VNET_MULTIARCH_SOURCES
847 list(APPEND VNET_HEADERS
848 vxlan-gbp/vxlan_gbp.h
849 vxlan-gbp/vxlan_gbp_packet.h
850 vxlan-gbp/vxlan_gbp_error.def
853 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
855 ##############################################################################
856 # Tunnel protocol: vxlan-gpe
857 ##############################################################################
859 list(APPEND VNET_SOURCES
860 vxlan-gpe/vxlan_gpe.c
863 vxlan-gpe/vxlan_gpe_api.c
866 list (APPEND VNET_MULTIARCH_SOURCES
870 list(APPEND VNET_HEADERS
871 vxlan-gpe/vxlan_gpe.h
872 vxlan-gpe/vxlan_gpe_packet.h
873 vxlan-gpe/vxlan_gpe_error.def
876 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
878 ##############################################################################
879 # LISP control plane: lisp-cp
880 ##############################################################################
882 list(APPEND VNET_SOURCES
884 lisp-cp/lisp_cp_dpo.c
886 lisp-cp/gid_dictionary.c
887 lisp-cp/lisp_msg_serdes.c
893 lisp-cp/lisp_types_api.c
896 list(APPEND VNET_HEADERS
899 lisp-cp/gid_dictionary.h
900 lisp-cp/lisp_cp_messages.h
901 lisp-cp/lisp_msg_serdes.h
903 lisp-cp/lisp_types_api.h
906 list(APPEND VNET_API_FILES lisp-cp/lisp_types.api)
907 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
908 list(APPEND VNET_API_FILES lisp-cp/one.api)
910 ##############################################################################
911 # Tunnel protocol: lisp-gpe
912 ##############################################################################
914 list(APPEND VNET_SOURCES
916 lisp-gpe/lisp_gpe_sub_interface.c
917 lisp-gpe/lisp_gpe_adjacency.c
918 lisp-gpe/lisp_gpe_tunnel.c
919 lisp-gpe/lisp_gpe_fwd_entry.c
920 lisp-gpe/lisp_gpe_tenant.c
923 lisp-gpe/lisp_gpe_api.c
926 list(APPEND VNET_HEADERS
928 lisp-gpe/lisp_gpe_fwd_entry.h
929 lisp-gpe/lisp_gpe_tenant.h
930 lisp-gpe/lisp_gpe_packet.h
931 lisp-gpe/lisp_gpe_error.def
934 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
936 ##############################################################################
937 # ipv6 segment routing
938 ##############################################################################
940 list(APPEND VNET_SOURCES
943 srv6/sr_policy_rewrite.c
948 list(APPEND VNET_HEADERS
953 list(APPEND VNET_API_FILES
958 ##############################################################################
959 # mpls segment routing
960 ##############################################################################
962 list(APPEND VNET_SOURCES
963 srmpls/sr_mpls_policy.c
964 srmpls/sr_mpls_steering.c
968 list(APPEND VNET_HEADERS
972 list(APPEND VNET_API_FILES
977 ##############################################################################
978 # IPFIX / netflow v10
979 ##############################################################################
980 list(APPEND VNET_SOURCES
981 ipfix-export/flow_report.c
982 ipfix-export/flow_api.c
985 list(APPEND VNET_HEADERS
986 ipfix-export/flow_report.h
987 ipfix-export/ipfix_info_elements.h
988 ipfix-export/ipfix_packet.h
991 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
993 ##############################################################################
995 ##############################################################################
996 list(APPEND VNET_SOURCES
1003 list(APPEND VNET_HEADERS
1004 gso/hdr_offset_parser.h
1008 list(APPEND VNET_API_FILES
1012 ##############################################################################
1013 # IPFIX classify code
1014 ##############################################################################
1016 list(APPEND VNET_SOURCES
1017 ipfix-export/flow_report_classify.c
1020 list(APPEND VNET_HEADERS
1021 ipfix-export/flow_report_classify.h
1024 ##############################################################################
1026 ##############################################################################
1028 list(APPEND VNET_SOURCES
1029 lawful-intercept/lawful_intercept.c
1030 lawful-intercept/node.c
1033 list(APPEND VNET_MULTIARCH_SOURCES
1034 lawful-intercept/node.c
1037 list(APPEND VNET_HEADERS
1038 lawful-intercept/lawful_intercept.h
1041 ##############################################################################
1042 # SPAN (port mirroring)
1043 ##############################################################################
1045 list(APPEND VNET_SOURCES
1051 list(APPEND VNET_MULTIARCH_SOURCES
1055 list(APPEND VNET_HEADERS
1059 list(APPEND VNET_API_FILES span/span.api)
1061 ##############################################################################
1063 ##############################################################################
1065 list(APPEND VNET_SOURCES
1075 list(APPEND VNET_HEADERS
1080 list(APPEND VNET_API_FILES pg/pg.api)
1082 ##############################################################################
1084 ##############################################################################
1086 list(APPEND VNET_SOURCES
1087 devices/virtio/cli.c
1088 devices/virtio/device.c
1089 devices/virtio/format.c
1090 devices/virtio/node.c
1091 devices/virtio/pci.c
1092 devices/virtio/vhost_user.c
1093 devices/virtio/vhost_user_input.c
1094 devices/virtio/vhost_user_output.c
1095 devices/virtio/vhost_user_api.c
1096 devices/virtio/virtio.c
1097 devices/virtio/virtio_api.c
1098 devices/virtio/virtio_types_api.c
1101 list(APPEND VNET_HEADERS
1102 devices/virtio/pci.h
1103 devices/virtio/virtio.h
1104 devices/virtio/vhost_user.h
1105 devices/virtio/virtio_types_api.h
1108 list(APPEND VNET_MULTIARCH_SOURCES
1109 devices/virtio/vhost_user_input.c
1110 devices/virtio/vhost_user_output.c
1111 devices/virtio/node.c
1112 devices/af_packet/node.c
1113 devices/virtio/device.c
1116 list(APPEND VNET_API_FILES
1117 devices/virtio/vhost_user.api
1118 devices/virtio/virtio.api
1119 devices/virtio/virtio_types.api
1122 ##############################################################################
1123 # tap interface (with virtio backend)
1124 ##############################################################################
1126 list(APPEND VNET_SOURCES
1129 devices/tap/tapv2_api.c
1132 list(APPEND VNET_HEADERS
1136 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1138 ##############################################################################
1139 # tap interface (with virtio backend)
1140 ##############################################################################
1142 list(APPEND VNET_SOURCES
1143 devices/pipe/pipe_api.c
1147 list(APPEND VNET_HEADERS
1151 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1153 ##############################################################################
1154 # session managmeent
1155 ##############################################################################
1157 list(APPEND VNET_SOURCES
1159 session/session_debug.c
1160 session/session_table.c
1161 session/session_rules_table.c
1162 session/session_lookup.c
1163 session/session_node.c
1165 session/application.c
1166 session/application_worker.c
1167 session/session_cli.c
1168 session/application_interface.c
1169 session/application_local.c
1170 session/application_namespace.c
1171 session/segment_manager.c
1172 session/session_api.c
1175 list(APPEND VNET_HEADERS
1177 session/session_table.h
1178 session/session_rules_table.h
1179 session/session_types.h
1180 session/session_lookup.h
1181 session/application.h
1183 session/transport_types.h
1184 session/application_interface.h
1185 session/application_local.h
1186 session/application_namespace.h
1187 session/session_debug.h
1188 session/segment_manager.h
1189 session/mma_template.h
1190 session/mma_template.c
1195 list(APPEND VNET_API_FILES session/session.api)
1197 ##############################################################################
1199 ##############################################################################
1201 list(APPEND VNET_SOURCES
1205 list(APPEND VNET_HEADERS
1210 ##############################################################################
1211 # Linux packet interface
1212 ##############################################################################
1214 list(APPEND VNET_SOURCES
1215 devices/af_packet/af_packet.c
1216 devices/af_packet/device.c
1217 devices/af_packet/node.c
1218 devices/af_packet/cli.c
1219 devices/af_packet/af_packet_api.c
1222 list(APPEND VNET_MULTIARCH_SOURCES
1223 devices/af_packet/device.c
1226 list(APPEND VNET_HEADERS
1227 devices/af_packet/af_packet.h
1230 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1232 ##############################################################################
1233 # Driver feature graph arc support
1234 ##############################################################################
1236 list(APPEND VNET_SOURCES
1238 feature/feature_api.c
1239 feature/registration.c
1242 list(APPEND VNET_HEADERS
1246 list(APPEND VNET_API_FILES feature/feature.api)
1248 ##############################################################################
1249 # Unix kernel related
1250 ##############################################################################
1252 # FIXME: unix/hgshm.c
1254 list(APPEND VNET_SOURCES
1259 list(APPEND VNET_HEADERS
1263 ##############################################################################
1265 ##############################################################################
1267 list(APPEND VNET_SOURCES
1279 fib/fib_entry_src_adj.c
1280 fib/fib_entry_src_api.c
1281 fib/fib_entry_src_drop.c
1282 fib/fib_entry_src_interface.c
1283 fib/fib_entry_src_interpose.c
1284 fib/fib_entry_src_lisp.c
1285 fib/fib_entry_src_mpls.c
1286 fib/fib_entry_src_simple.c
1287 fib/fib_entry_src_rr.c
1288 fib/fib_entry_cover.c
1289 fib/fib_entry_delegate.c
1290 fib/fib_entry_track.c
1296 fib/fib_attached_export.c
1301 list(APPEND VNET_HEADERS
1311 fib/fib_entry_delegate.h
1315 list(APPEND VNET_API_FILES fib/fib_types.api)
1317 ##############################################################################
1319 ##############################################################################
1321 list(APPEND VNET_SOURCES
1325 adj/adj_midchain_delegate.c
1335 list(APPEND VNET_MULTIARCH_SOURCES
1341 list(APPEND VNET_HEADERS
1351 ##############################################################################
1352 # Data-Plane Objects
1353 ##############################################################################
1355 list(APPEND VNET_SOURCES
1363 dpo/load_balance_map.c
1367 dpo/interface_rx_dpo.c
1368 dpo/interface_tx_dpo.c
1369 dpo/mpls_disposition.c
1370 dpo/mpls_label_dpo.c
1376 list(APPEND VNET_MULTIARCH_SOURCES
1378 dpo/mpls_disposition.c
1380 dpo/mpls_label_dpo.c
1381 dpo/interface_rx_dpo.c
1384 list(APPEND VNET_HEADERS
1396 ##############################################################################
1398 ##############################################################################
1400 list(APPEND VNET_SOURCES
1410 mfib/mfib_entry_cover.c
1411 mfib/mfib_entry_delegate.c
1412 mfib/mfib_entry_src.c
1413 mfib/mfib_entry_src_rr.c
1417 list(APPEND VNET_MULTIARCH_SOURCES
1421 list(APPEND VNET_HEADERS
1427 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1429 ##############################################################################
1431 ##############################################################################
1433 list(APPEND VNET_SOURCES
1440 list(APPEND VNET_HEADERS
1444 ##############################################################################
1446 ##############################################################################
1448 list(APPEND VNET_SOURCES
1451 qos/qos_egress_map.c
1453 qos/qos_record_node.c
1455 qos/qos_store_node.c
1460 list(APPEND VNET_MULTIARCH_SOURCES
1461 qos/qos_record_node.c
1465 list(APPEND VNET_API_FILES qos/qos.api)
1467 ##############################################################################
1469 ##############################################################################
1471 list(APPEND VNET_SOURCES
1472 bier/bier_bit_string.c
1475 bier/bier_fmask_db.c
1484 bier/bier_imp_node.c
1486 bier/bier_disp_entry.c
1487 bier/bier_disp_lookup_node.c
1488 bier/bier_disp_dispatch_node.c
1489 bier/bier_disp_table.c
1490 bier/bier_bift_table.c
1493 list(APPEND VNET_MULTIARCH_SOURCES
1494 bier/bier_disp_dispatch_node.c
1495 bier/bier_disp_lookup_node.c
1496 bier/bier_imp_node.c
1499 list(APPEND VNET_HEADERS
1506 list(APPEND VNET_API_FILES bier/bier.api)
1508 ##############################################################################
1510 ##############################################################################
1512 list (APPEND VNET_SOURCES
1518 list(APPEND VNET_HEADERS
1523 list(APPEND VNET_API_FILES syslog/syslog.api)
1525 ##############################################################################
1526 # Tunnel Endpoint Information Base
1527 ##############################################################################
1529 list (APPEND VNET_SOURCES
1535 list(APPEND VNET_HEADERS
1539 list(APPEND VNET_API_FILES teib/teib.api)
1541 ##############################################################################
1543 ##############################################################################
1545 list (APPEND VNET_SOURCES
1551 list(APPEND VNET_HEADERS
1555 list(APPEND VNET_API_FILES arp/arp.api)
1557 list (APPEND VNET_SOURCES
1561 ip6-nd/ip6_nd_proxy.c
1567 list(APPEND VNET_HEADERS
1571 list(APPEND VNET_API_FILES
1576 ##############################################################################
1578 ##############################################################################
1580 add_vpp_library(vnet
1581 SOURCES ${VNET_SOURCES}
1582 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1583 INSTALL_HEADERS ${VNET_HEADERS}
1584 API_FILES ${VNET_API_FILES}
1585 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1586 DEPENDS vpp_version_h api_headers
1589 ##############################################################################
1590 # vpp api test client library
1591 ##############################################################################
1593 add_vpp_library (vatclient
1594 SOURCES ip/ip_types_api.c
1598 ##############################################################################