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
43 list(APPEND VNET_MULTIARCH_SOURCES
49 list(APPEND VNET_HEADERS
74 ethernet/ethernet_format_fns.h
77 list(APPEND VNET_API_FILES
85 ##############################################################################
87 ##############################################################################
88 list(APPEND VNET_SOURCES
95 list(APPEND VNET_MULTIARCH_SOURCES
99 list(APPEND VNET_HEADERS
105 list(APPEND VNET_API_FILES
107 policer/policer_types.api
110 ##############################################################################
111 # Binary API compatibility until vpp 20.12, see the ADL plugin...
112 ##############################################################################
114 list(APPEND VNET_SOURCES
118 list(APPEND VNET_API_FILES cop/cop.api)
120 ##############################################################################
121 # Layer 2 protocols go here
122 ##############################################################################
124 ##############################################################################
125 # Layer 2 protocol: Ethernet
126 ##############################################################################
127 list(APPEND VNET_SOURCES
128 ethernet/arp_packet.c
129 ethernet/ethernet_types_api.c
133 ethernet/mac_address.c
137 ethernet/p2p_ethernet.c
138 ethernet/p2p_ethernet_input.c
139 ethernet/p2p_ethernet_api.c
142 list(APPEND VNET_MULTIARCH_SOURCES
144 ethernet/p2p_ethernet_input.c
147 list(APPEND VNET_HEADERS
150 ethernet/mac_address.h
154 ethernet/p2p_ethernet.h
155 ethernet/arp_packet.h
158 list(APPEND VNET_API_FILES
159 ethernet/p2p_ethernet.api
160 ethernet/ethernet_types.api)
162 ##############################################################################
163 # Layer 2 protocol: Ethernet bridging
164 ##############################################################################
165 list(APPEND VNET_SOURCES
172 l2/l2_input_classify.c
173 l2/l2_output_classify.c
183 l2/l2_in_out_feat_arc.c
191 list(APPEND VNET_MULTIARCH_SOURCES
197 l2/l2_in_out_feat_arc.c
198 l2/l2_input_classify.c
200 l2/l2_output_classify.c
210 list(APPEND VNET_HEADERS
227 list(APPEND VNET_API_FILES l2/l2.api)
229 ##############################################################################
230 # Layer 2 protocol: SRP
231 ##############################################################################
232 list(APPEND VNET_SOURCES
239 list(APPEND VNET_HEADERS
244 ##############################################################################
245 # Layer 2 protocol: PPP
246 ##############################################################################
247 list(APPEND VNET_SOURCES
253 list(APPEND VNET_HEADERS
259 ##############################################################################
260 # Layer 2 protocol: HDLC
261 ##############################################################################
262 list(APPEND VNET_SOURCES
268 list(APPEND VNET_HEADERS
274 ##############################################################################
275 # Layer 2 protocol: LLC
276 ##############################################################################
277 list(APPEND VNET_SOURCES
283 list(APPEND VNET_HEADERS
287 ##############################################################################
288 # Layer 2 protocol: SNAP
289 ##############################################################################
290 list(APPEND VNET_SOURCES
296 list(APPEND VNET_HEADERS
300 ##############################################################################
302 ##############################################################################
303 list(APPEND VNET_SOURCES
310 list(APPEND VNET_MULTIARCH_SOURCES
314 list(APPEND VNET_HEADERS
317 vxlan/vxlan_error.def
320 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
322 list(APPEND VNET_API_FILES vxlan/vxlan.api)
324 ##############################################################################
326 ##############################################################################
327 list(APPEND VNET_SOURCES
334 list(APPEND VNET_MULTIARCH_SOURCES
339 list(APPEND VNET_HEADERS
341 geneve/geneve_packet.h
342 geneve/geneve_error.def
345 list(APPEND VNET_API_FILES geneve/geneve.api)
347 ##############################################################################
349 ##############################################################################
350 list(APPEND VNET_SOURCES
357 list(APPEND VNET_HEADERS
361 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
362 list(APPEND VNET_API_FILES bonding/bond.api)
364 ##############################################################################
366 ##############################################################################
367 list(APPEND VNET_SOURCES
375 list(APPEND VNET_HEADERS
380 list(APPEND VNET_API_FILES lldp/lldp.api)
382 ##############################################################################
383 # Layer 2/3 "classify"
384 ##############################################################################
385 list(APPEND VNET_SOURCES
386 classify/vnet_classify.c
387 classify/trace_classify.h
388 classify/ip_classify.c
389 classify/in_out_acl.c
390 classify/policer_classify.c
391 classify/flow_classify.c
392 classify/flow_classify_node.c
393 classify/vnet_classify.h
394 classify/classify_api.c
397 list(APPEND VNET_MULTIARCH_SOURCES
398 classify/ip_classify.c
399 classify/flow_classify_node.c
402 list(APPEND VNET_HEADERS
403 classify/vnet_classify.h
404 classify/trace_classify.h
405 classify/in_out_acl.h
406 classify/policer_classify.h
407 classify/flow_classify.h
410 list(APPEND VNET_API_FILES classify/classify.api)
412 ##############################################################################
413 # Layer 3 protocols go here
414 ##############################################################################
416 ##############################################################################
417 # Layer 3 protocol: IP v4/v6
418 ##############################################################################
419 list(APPEND VNET_SOURCES
433 ip/ip4_source_and_port_range_check.c
434 ip/reass/ip4_full_reass.c
435 ip/reass/ip4_sv_reass.c
445 ip/reass/ip6_full_reass.c
446 ip/reass/ip6_sv_reass.c
463 list(APPEND VNET_MULTIARCH_SOURCES
465 ip/reass/ip4_full_reass.c
467 ip/reass/ip6_full_reass.c
468 ip/reass/ip4_sv_reass.c
470 ip/reass/ip6_full_reass.c
471 ip/reass/ip6_sv_reass.c
478 list(APPEND VNET_HEADERS
492 ip/ip6_hop_by_hop_packet.h
498 ip/ip_source_and_port_range_check.h
507 list(APPEND VNET_API_FILES
512 list(APPEND VNET_MULTIARCH_SOURCES
518 ##############################################################################
520 ##############################################################################
521 list(APPEND VNET_SOURCES
522 ip-neighbor/ip_neighbor.c
523 ip-neighbor/ip_neighbor_api.c
524 ip-neighbor/ip_neighbor_dp.c
525 ip-neighbor/ip_neighbor_types.c
526 ip-neighbor/ip_neighbor_watch.c
527 ip-neighbor/ip4_neighbor.c
528 ip-neighbor/ip6_neighbor.c
531 list(APPEND VNET_HEADERS
532 ip-neighbor/ip_neighbor.h
533 ip-neighbor/ip_neighbor_types.h
536 list(APPEND VNET_API_FILES
537 ip-neighbor/ip_neighbor.api
540 ##############################################################################
541 # Bidirectional Forwarding Detection
542 ##############################################################################
544 list(APPEND VNET_HEADERS
551 list(APPEND VNET_SOURCES
560 list(APPEND VNET_API_FILES bfd/bfd.api)
562 ##############################################################################
564 ##############################################################################
566 list(APPEND VNET_SOURCES
573 list(APPEND VNET_HEADERS
577 list(APPEND VNET_MULTIARCH_SOURCES crypto/node.c)
579 ##############################################################################
580 # Layer 3 protocol: IPSec
581 ##############################################################################
582 list(APPEND VNET_SOURCES
586 ipsec/ipsec_handoff.c
592 ipsec/ipsec_spd_policy.c
601 ipsec/ipsec_types_api.c
604 list(APPEND VNET_MULTIARCH_SOURCES
609 ipsec/ipsec_handoff.c
615 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
616 list(APPEND VNET_API_FILES ipsec/ipsec.api)
618 list(APPEND VNET_SOURCES
622 list(APPEND VNET_HEADERS
625 ipsec/ipsec_spd_policy.h
628 ipsec/ipsec_types_api.h
634 ##############################################################################
635 # Layer 3 protocol: osi
636 ##############################################################################
637 list(APPEND VNET_SOURCES
643 list(APPEND VNET_HEADERS
647 ##############################################################################
648 # Layer 4 protocol: tcp
649 ##############################################################################
650 list(APPEND VNET_SOURCES
654 tcp/tcp_syn_filter4.c
666 list(APPEND VNET_MULTIARCH_SOURCES
669 tcp/tcp_syn_filter4.c
672 list(APPEND VNET_HEADERS
685 list(APPEND VNET_API_FILES tcp/tcp.api)
687 ##############################################################################
688 # Layer 4 protocol: udp
689 ##############################################################################
690 list(APPEND VNET_SOURCES
702 list(APPEND VNET_MULTIARCH_SOURCES
707 list(APPEND VNET_HEADERS
713 list(APPEND VNET_API_FILES udp/udp.api)
715 ##############################################################################
716 # Tunnel protocol: gre
717 ##############################################################################
718 list(APPEND VNET_SOURCES
726 list(APPEND VNET_MULTIARCH_SOURCES
731 list(APPEND VNET_HEADERS
737 list(APPEND VNET_API_FILES gre/gre.api)
739 ##############################################################################
740 # Tunnel protocol: ipip
741 ##############################################################################
742 list(APPEND VNET_SOURCES
750 list(APPEND VNET_MULTIARCH_SOURCES
754 list(APPEND VNET_HEADERS
758 list(APPEND VNET_API_FILES
762 ##############################################################################
764 ##############################################################################
765 list(APPEND VNET_SOURCES
767 tunnel/tunnel_types_api.c
770 list(APPEND VNET_API_FILES
771 tunnel/tunnel_types.api
774 list(APPEND VNET_HEADERS
779 ##############################################################################
780 # Tunnel protocol: l2tpv3
781 ##############################################################################
782 list(APPEND VNET_SOURCES
790 list(APPEND VNET_MULTIARCH_SOURCES
795 list(APPEND VNET_HEADERS
800 list(APPEND VNET_API_FILES l2tp/l2tp.api)
802 ##############################################################################
803 # Tunnel protocol: gre+mpls
804 ##############################################################################
805 list(APPEND VNET_SOURCES
817 list(APPEND VNET_MULTIARCH_SOURCES
824 list(APPEND VNET_HEADERS
832 list(APPEND VNET_API_FILES mpls/mpls.api)
834 ##############################################################################
835 # Tunnel protocol: vxlan-gbp
836 ##############################################################################
837 list(APPEND VNET_SOURCES
840 vxlan-gbp/vxlan_gbp_api.c
841 vxlan-gbp/vxlan_gbp.c
842 vxlan-gbp/vxlan_gbp_packet.c
845 list (APPEND VNET_MULTIARCH_SOURCES
850 list(APPEND VNET_HEADERS
851 vxlan-gbp/vxlan_gbp.h
852 vxlan-gbp/vxlan_gbp_packet.h
853 vxlan-gbp/vxlan_gbp_error.def
856 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
858 ##############################################################################
859 # Tunnel protocol: vxlan-gpe
860 ##############################################################################
862 list(APPEND VNET_SOURCES
863 vxlan-gpe/vxlan_gpe.c
866 vxlan-gpe/vxlan_gpe_api.c
869 list (APPEND VNET_MULTIARCH_SOURCES
873 list(APPEND VNET_HEADERS
874 vxlan-gpe/vxlan_gpe.h
875 vxlan-gpe/vxlan_gpe_packet.h
876 vxlan-gpe/vxlan_gpe_error.def
879 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
881 ##############################################################################
882 # LISP control plane: lisp-cp
883 ##############################################################################
885 list(APPEND VNET_SOURCES
887 lisp-cp/lisp_cp_dpo.c
889 lisp-cp/gid_dictionary.c
890 lisp-cp/lisp_msg_serdes.c
896 lisp-cp/lisp_types_api.c
899 list(APPEND VNET_HEADERS
902 lisp-cp/gid_dictionary.h
903 lisp-cp/lisp_cp_messages.h
904 lisp-cp/lisp_msg_serdes.h
906 lisp-cp/lisp_types_api.h
909 list(APPEND VNET_API_FILES lisp-cp/lisp_types.api)
910 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
911 list(APPEND VNET_API_FILES lisp-cp/one.api)
913 ##############################################################################
914 # Tunnel protocol: lisp-gpe
915 ##############################################################################
917 list(APPEND VNET_SOURCES
919 lisp-gpe/lisp_gpe_sub_interface.c
920 lisp-gpe/lisp_gpe_adjacency.c
921 lisp-gpe/lisp_gpe_tunnel.c
922 lisp-gpe/lisp_gpe_fwd_entry.c
923 lisp-gpe/lisp_gpe_tenant.c
926 lisp-gpe/lisp_gpe_api.c
929 list(APPEND VNET_HEADERS
931 lisp-gpe/lisp_gpe_fwd_entry.h
932 lisp-gpe/lisp_gpe_tenant.h
933 lisp-gpe/lisp_gpe_packet.h
934 lisp-gpe/lisp_gpe_error.def
937 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
939 ##############################################################################
940 # ipv6 segment routing
941 ##############################################################################
943 list(APPEND VNET_SOURCES
946 srv6/sr_policy_rewrite.c
951 list(APPEND VNET_HEADERS
956 list(APPEND VNET_API_FILES
961 ##############################################################################
962 # mpls segment routing
963 ##############################################################################
965 list(APPEND VNET_SOURCES
966 srmpls/sr_mpls_policy.c
967 srmpls/sr_mpls_steering.c
971 list(APPEND VNET_HEADERS
975 list(APPEND VNET_API_FILES
980 ##############################################################################
981 # IPFIX / netflow v10
982 ##############################################################################
983 list(APPEND VNET_SOURCES
984 ipfix-export/flow_report.c
985 ipfix-export/flow_api.c
988 list(APPEND VNET_HEADERS
989 ipfix-export/flow_report.h
990 ipfix-export/ipfix_info_elements.h
991 ipfix-export/ipfix_packet.h
994 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
996 ##############################################################################
998 ##############################################################################
999 list(APPEND VNET_SOURCES
1006 list(APPEND VNET_HEADERS
1009 gso/hdr_offset_parser.h
1013 list(APPEND VNET_API_FILES
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 ##############################################################################
1070 list(APPEND VNET_SOURCES
1080 list(APPEND VNET_HEADERS
1085 list(APPEND VNET_API_FILES pg/pg.api)
1087 ##############################################################################
1089 ##############################################################################
1091 list(APPEND VNET_SOURCES
1092 devices/virtio/cli.c
1093 devices/virtio/device.c
1094 devices/virtio/format.c
1095 devices/virtio/node.c
1096 devices/virtio/pci.c
1097 devices/virtio/vhost_user.c
1098 devices/virtio/vhost_user_input.c
1099 devices/virtio/vhost_user_output.c
1100 devices/virtio/vhost_user_api.c
1101 devices/virtio/virtio.c
1102 devices/virtio/virtio_api.c
1103 devices/virtio/virtio_pci_legacy.c
1104 devices/virtio/virtio_pci_modern.c
1105 devices/virtio/virtio_types_api.c
1108 list(APPEND VNET_HEADERS
1109 devices/virtio/pci.h
1110 devices/virtio/virtio.h
1111 devices/virtio/virtio_pci_legacy.h
1112 devices/virtio/virtio_pci_modern.h
1113 devices/virtio/vhost_user.h
1114 devices/virtio/virtio_types_api.h
1117 list(APPEND VNET_MULTIARCH_SOURCES
1118 devices/virtio/vhost_user_input.c
1119 devices/virtio/vhost_user_output.c
1120 devices/virtio/node.c
1121 devices/af_packet/node.c
1122 devices/virtio/device.c
1125 list(APPEND VNET_API_FILES
1126 devices/virtio/vhost_user.api
1127 devices/virtio/virtio.api
1128 devices/virtio/virtio_types.api
1131 ##############################################################################
1132 # tap interface (with virtio backend)
1133 ##############################################################################
1135 list(APPEND VNET_SOURCES
1138 devices/tap/tapv2_api.c
1141 list(APPEND VNET_HEADERS
1145 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1147 ##############################################################################
1148 # tap interface (with virtio backend)
1149 ##############################################################################
1151 list(APPEND VNET_SOURCES
1152 devices/pipe/pipe_api.c
1156 list(APPEND VNET_HEADERS
1160 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1162 ##############################################################################
1163 # session managmeent
1164 ##############################################################################
1166 list(APPEND VNET_SOURCES
1168 session/session_debug.c
1169 session/session_table.c
1170 session/session_rules_table.c
1171 session/session_lookup.c
1172 session/session_node.c
1174 session/application.c
1175 session/application_worker.c
1176 session/session_cli.c
1177 session/application_interface.c
1178 session/application_local.c
1179 session/application_namespace.c
1180 session/segment_manager.c
1181 session/session_api.c
1184 list(APPEND VNET_HEADERS
1186 session/session_table.h
1187 session/session_rules_table.h
1188 session/session_types.h
1189 session/session_lookup.h
1190 session/application.h
1192 session/transport_types.h
1193 session/application_interface.h
1194 session/application_local.h
1195 session/application_namespace.h
1196 session/session_debug.h
1197 session/segment_manager.h
1198 session/mma_template.h
1199 session/mma_template.c
1204 list(APPEND VNET_API_FILES session/session.api)
1206 ##############################################################################
1208 ##############################################################################
1210 list(APPEND VNET_SOURCES
1214 list(APPEND VNET_HEADERS
1219 ##############################################################################
1220 # Linux packet interface
1221 ##############################################################################
1223 list(APPEND VNET_SOURCES
1224 devices/af_packet/af_packet.c
1225 devices/af_packet/device.c
1226 devices/af_packet/node.c
1227 devices/af_packet/cli.c
1228 devices/af_packet/af_packet_api.c
1231 list(APPEND VNET_MULTIARCH_SOURCES
1232 devices/af_packet/device.c
1235 list(APPEND VNET_HEADERS
1236 devices/af_packet/af_packet.h
1239 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1241 ##############################################################################
1242 # Driver feature graph arc support
1243 ##############################################################################
1245 list(APPEND VNET_SOURCES
1247 feature/feature_api.c
1248 feature/registration.c
1251 list(APPEND VNET_HEADERS
1255 list(APPEND VNET_API_FILES feature/feature.api)
1257 ##############################################################################
1258 # Unix kernel related
1259 ##############################################################################
1261 # FIXME: unix/hgshm.c
1263 list(APPEND VNET_SOURCES
1268 list(APPEND VNET_HEADERS
1272 ##############################################################################
1274 ##############################################################################
1276 list(APPEND VNET_SOURCES
1288 fib/fib_entry_src_adj.c
1289 fib/fib_entry_src_api.c
1290 fib/fib_entry_src_drop.c
1291 fib/fib_entry_src_interface.c
1292 fib/fib_entry_src_interpose.c
1293 fib/fib_entry_src_lisp.c
1294 fib/fib_entry_src_mpls.c
1295 fib/fib_entry_src_simple.c
1296 fib/fib_entry_src_rr.c
1297 fib/fib_entry_cover.c
1298 fib/fib_entry_delegate.c
1299 fib/fib_entry_track.c
1305 fib/fib_attached_export.c
1310 list(APPEND VNET_HEADERS
1320 fib/fib_entry_delegate.h
1324 list(APPEND VNET_API_FILES fib/fib_types.api)
1326 ##############################################################################
1328 ##############################################################################
1330 list(APPEND VNET_SOURCES
1334 adj/adj_midchain_delegate.c
1344 list(APPEND VNET_MULTIARCH_SOURCES
1350 list(APPEND VNET_HEADERS
1360 ##############################################################################
1361 # Data-Plane Objects
1362 ##############################################################################
1364 list(APPEND VNET_SOURCES
1372 dpo/load_balance_map.c
1376 dpo/interface_rx_dpo.c
1377 dpo/interface_tx_dpo.c
1378 dpo/mpls_disposition.c
1379 dpo/mpls_label_dpo.c
1385 list(APPEND VNET_MULTIARCH_SOURCES
1387 dpo/mpls_disposition.c
1389 dpo/mpls_label_dpo.c
1390 dpo/interface_rx_dpo.c
1393 list(APPEND VNET_HEADERS
1405 ##############################################################################
1407 ##############################################################################
1409 list(APPEND VNET_SOURCES
1419 mfib/mfib_entry_cover.c
1420 mfib/mfib_entry_delegate.c
1421 mfib/mfib_entry_src.c
1422 mfib/mfib_entry_src_rr.c
1426 list(APPEND VNET_MULTIARCH_SOURCES
1430 list(APPEND VNET_HEADERS
1436 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1438 ##############################################################################
1440 ##############################################################################
1442 list(APPEND VNET_SOURCES
1449 list(APPEND VNET_HEADERS
1453 ##############################################################################
1455 ##############################################################################
1457 list(APPEND VNET_SOURCES
1460 qos/qos_egress_map.c
1462 qos/qos_record_node.c
1464 qos/qos_store_node.c
1469 list(APPEND VNET_MULTIARCH_SOURCES
1470 qos/qos_record_node.c
1474 list(APPEND VNET_API_FILES qos/qos.api)
1476 ##############################################################################
1478 ##############################################################################
1480 list(APPEND VNET_SOURCES
1481 bier/bier_bit_string.c
1484 bier/bier_fmask_db.c
1493 bier/bier_imp_node.c
1495 bier/bier_disp_entry.c
1496 bier/bier_disp_lookup_node.c
1497 bier/bier_disp_dispatch_node.c
1498 bier/bier_disp_table.c
1499 bier/bier_bift_table.c
1502 list(APPEND VNET_MULTIARCH_SOURCES
1503 bier/bier_disp_dispatch_node.c
1504 bier/bier_disp_lookup_node.c
1505 bier/bier_imp_node.c
1508 list(APPEND VNET_HEADERS
1515 list(APPEND VNET_API_FILES bier/bier.api)
1517 ##############################################################################
1519 ##############################################################################
1521 list (APPEND VNET_SOURCES
1527 list(APPEND VNET_HEADERS
1532 list(APPEND VNET_API_FILES syslog/syslog.api)
1534 ##############################################################################
1535 # Tunnel Endpoint Information Base
1536 ##############################################################################
1538 list (APPEND VNET_SOURCES
1544 list(APPEND VNET_HEADERS
1548 list(APPEND VNET_API_FILES teib/teib.api)
1550 ##############################################################################
1552 ##############################################################################
1554 list (APPEND VNET_SOURCES
1560 list(APPEND VNET_HEADERS
1564 list(APPEND VNET_API_FILES arp/arp.api)
1566 list (APPEND VNET_SOURCES
1570 ip6-nd/ip6_nd_proxy.c
1576 list(APPEND VNET_HEADERS
1580 list(APPEND VNET_API_FILES
1585 ##############################################################################
1587 ##############################################################################
1589 add_vpp_library(vnet
1590 SOURCES ${VNET_SOURCES}
1591 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1592 INSTALL_HEADERS ${VNET_HEADERS}
1593 API_FILES ${VNET_API_FILES}
1594 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1595 DEPENDS vpp_version_h api_headers
1598 ##############################################################################
1599 # vpp api test client library
1600 ##############################################################################
1602 add_vpp_library (vatclient
1603 SOURCES ip/ip_types_api.c
1607 ##############################################################################