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
1006 gso/hdr_offset_parser.h
1010 list(APPEND VNET_API_FILES
1014 ##############################################################################
1015 # IPFIX classify code
1016 ##############################################################################
1018 list(APPEND VNET_SOURCES
1019 ipfix-export/flow_report_classify.c
1022 list(APPEND VNET_HEADERS
1023 ipfix-export/flow_report_classify.h
1026 ##############################################################################
1028 ##############################################################################
1030 list(APPEND VNET_SOURCES
1031 lawful-intercept/lawful_intercept.c
1032 lawful-intercept/node.c
1035 list(APPEND VNET_MULTIARCH_SOURCES
1036 lawful-intercept/node.c
1039 list(APPEND VNET_HEADERS
1040 lawful-intercept/lawful_intercept.h
1043 ##############################################################################
1044 # SPAN (port mirroring)
1045 ##############################################################################
1047 list(APPEND VNET_SOURCES
1053 list(APPEND VNET_MULTIARCH_SOURCES
1057 list(APPEND VNET_HEADERS
1061 list(APPEND VNET_API_FILES span/span.api)
1063 ##############################################################################
1065 ##############################################################################
1067 list(APPEND VNET_SOURCES
1077 list(APPEND VNET_HEADERS
1082 list(APPEND VNET_API_FILES pg/pg.api)
1084 ##############################################################################
1086 ##############################################################################
1088 list(APPEND VNET_SOURCES
1089 devices/virtio/cli.c
1090 devices/virtio/device.c
1091 devices/virtio/format.c
1092 devices/virtio/node.c
1093 devices/virtio/pci.c
1094 devices/virtio/vhost_user.c
1095 devices/virtio/vhost_user_input.c
1096 devices/virtio/vhost_user_output.c
1097 devices/virtio/vhost_user_api.c
1098 devices/virtio/virtio.c
1099 devices/virtio/virtio_api.c
1100 devices/virtio/virtio_pci_legacy.c
1101 devices/virtio/virtio_pci_modern.c
1102 devices/virtio/virtio_types_api.c
1105 list(APPEND VNET_HEADERS
1106 devices/virtio/pci.h
1107 devices/virtio/virtio.h
1108 devices/virtio/virtio_pci_legacy.h
1109 devices/virtio/virtio_pci_modern.h
1110 devices/virtio/vhost_user.h
1111 devices/virtio/virtio_types_api.h
1114 list(APPEND VNET_MULTIARCH_SOURCES
1115 devices/virtio/vhost_user_input.c
1116 devices/virtio/vhost_user_output.c
1117 devices/virtio/node.c
1118 devices/af_packet/node.c
1119 devices/virtio/device.c
1122 list(APPEND VNET_API_FILES
1123 devices/virtio/vhost_user.api
1124 devices/virtio/virtio.api
1125 devices/virtio/virtio_types.api
1128 ##############################################################################
1129 # tap interface (with virtio backend)
1130 ##############################################################################
1132 list(APPEND VNET_SOURCES
1135 devices/tap/tapv2_api.c
1138 list(APPEND VNET_HEADERS
1142 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1144 ##############################################################################
1145 # tap interface (with virtio backend)
1146 ##############################################################################
1148 list(APPEND VNET_SOURCES
1149 devices/pipe/pipe_api.c
1153 list(APPEND VNET_HEADERS
1157 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1159 ##############################################################################
1160 # session managmeent
1161 ##############################################################################
1163 list(APPEND VNET_SOURCES
1165 session/session_debug.c
1166 session/session_table.c
1167 session/session_rules_table.c
1168 session/session_lookup.c
1169 session/session_node.c
1171 session/application.c
1172 session/application_worker.c
1173 session/session_cli.c
1174 session/application_interface.c
1175 session/application_local.c
1176 session/application_namespace.c
1177 session/segment_manager.c
1178 session/session_api.c
1181 list(APPEND VNET_HEADERS
1183 session/session_table.h
1184 session/session_rules_table.h
1185 session/session_types.h
1186 session/session_lookup.h
1187 session/application.h
1189 session/transport_types.h
1190 session/application_interface.h
1191 session/application_local.h
1192 session/application_namespace.h
1193 session/session_debug.h
1194 session/segment_manager.h
1195 session/mma_template.h
1196 session/mma_template.c
1201 list(APPEND VNET_API_FILES session/session.api)
1203 ##############################################################################
1205 ##############################################################################
1207 list(APPEND VNET_SOURCES
1211 list(APPEND VNET_HEADERS
1216 ##############################################################################
1217 # Linux packet interface
1218 ##############################################################################
1220 list(APPEND VNET_SOURCES
1221 devices/af_packet/af_packet.c
1222 devices/af_packet/device.c
1223 devices/af_packet/node.c
1224 devices/af_packet/cli.c
1225 devices/af_packet/af_packet_api.c
1228 list(APPEND VNET_MULTIARCH_SOURCES
1229 devices/af_packet/device.c
1232 list(APPEND VNET_HEADERS
1233 devices/af_packet/af_packet.h
1236 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1238 ##############################################################################
1239 # Driver feature graph arc support
1240 ##############################################################################
1242 list(APPEND VNET_SOURCES
1244 feature/feature_api.c
1245 feature/registration.c
1248 list(APPEND VNET_HEADERS
1252 list(APPEND VNET_API_FILES feature/feature.api)
1254 ##############################################################################
1255 # Unix kernel related
1256 ##############################################################################
1258 # FIXME: unix/hgshm.c
1260 list(APPEND VNET_SOURCES
1265 list(APPEND VNET_HEADERS
1269 ##############################################################################
1271 ##############################################################################
1273 list(APPEND VNET_SOURCES
1285 fib/fib_entry_src_adj.c
1286 fib/fib_entry_src_api.c
1287 fib/fib_entry_src_drop.c
1288 fib/fib_entry_src_interface.c
1289 fib/fib_entry_src_interpose.c
1290 fib/fib_entry_src_lisp.c
1291 fib/fib_entry_src_mpls.c
1292 fib/fib_entry_src_simple.c
1293 fib/fib_entry_src_rr.c
1294 fib/fib_entry_cover.c
1295 fib/fib_entry_delegate.c
1296 fib/fib_entry_track.c
1302 fib/fib_attached_export.c
1307 list(APPEND VNET_HEADERS
1317 fib/fib_entry_delegate.h
1321 list(APPEND VNET_API_FILES fib/fib_types.api)
1323 ##############################################################################
1325 ##############################################################################
1327 list(APPEND VNET_SOURCES
1331 adj/adj_midchain_delegate.c
1341 list(APPEND VNET_MULTIARCH_SOURCES
1347 list(APPEND VNET_HEADERS
1357 ##############################################################################
1358 # Data-Plane Objects
1359 ##############################################################################
1361 list(APPEND VNET_SOURCES
1369 dpo/load_balance_map.c
1373 dpo/interface_rx_dpo.c
1374 dpo/interface_tx_dpo.c
1375 dpo/mpls_disposition.c
1376 dpo/mpls_label_dpo.c
1382 list(APPEND VNET_MULTIARCH_SOURCES
1384 dpo/mpls_disposition.c
1386 dpo/mpls_label_dpo.c
1387 dpo/interface_rx_dpo.c
1390 list(APPEND VNET_HEADERS
1402 ##############################################################################
1404 ##############################################################################
1406 list(APPEND VNET_SOURCES
1416 mfib/mfib_entry_cover.c
1417 mfib/mfib_entry_delegate.c
1418 mfib/mfib_entry_src.c
1419 mfib/mfib_entry_src_rr.c
1423 list(APPEND VNET_MULTIARCH_SOURCES
1427 list(APPEND VNET_HEADERS
1433 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1435 ##############################################################################
1437 ##############################################################################
1439 list(APPEND VNET_SOURCES
1446 list(APPEND VNET_HEADERS
1450 ##############################################################################
1452 ##############################################################################
1454 list(APPEND VNET_SOURCES
1457 qos/qos_egress_map.c
1459 qos/qos_record_node.c
1461 qos/qos_store_node.c
1466 list(APPEND VNET_MULTIARCH_SOURCES
1467 qos/qos_record_node.c
1471 list(APPEND VNET_API_FILES qos/qos.api)
1473 ##############################################################################
1475 ##############################################################################
1477 list(APPEND VNET_SOURCES
1478 bier/bier_bit_string.c
1481 bier/bier_fmask_db.c
1490 bier/bier_imp_node.c
1492 bier/bier_disp_entry.c
1493 bier/bier_disp_lookup_node.c
1494 bier/bier_disp_dispatch_node.c
1495 bier/bier_disp_table.c
1496 bier/bier_bift_table.c
1499 list(APPEND VNET_MULTIARCH_SOURCES
1500 bier/bier_disp_dispatch_node.c
1501 bier/bier_disp_lookup_node.c
1502 bier/bier_imp_node.c
1505 list(APPEND VNET_HEADERS
1512 list(APPEND VNET_API_FILES bier/bier.api)
1514 ##############################################################################
1516 ##############################################################################
1518 list (APPEND VNET_SOURCES
1524 list(APPEND VNET_HEADERS
1529 list(APPEND VNET_API_FILES syslog/syslog.api)
1531 ##############################################################################
1532 # Tunnel Endpoint Information Base
1533 ##############################################################################
1535 list (APPEND VNET_SOURCES
1541 list(APPEND VNET_HEADERS
1545 list(APPEND VNET_API_FILES teib/teib.api)
1547 ##############################################################################
1549 ##############################################################################
1551 list (APPEND VNET_SOURCES
1557 list(APPEND VNET_HEADERS
1561 list(APPEND VNET_API_FILES arp/arp.api)
1563 list (APPEND VNET_SOURCES
1567 ip6-nd/ip6_nd_proxy.c
1573 list(APPEND VNET_HEADERS
1577 list(APPEND VNET_API_FILES
1582 ##############################################################################
1584 ##############################################################################
1586 add_vpp_library(vnet
1587 SOURCES ${VNET_SOURCES}
1588 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1589 INSTALL_HEADERS ${VNET_HEADERS}
1590 API_FILES ${VNET_API_FILES}
1591 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1592 DEPENDS vpp_version_h api_headers
1595 ##############################################################################
1596 # vpp api test client library
1597 ##############################################################################
1599 add_vpp_library (vatclient
1600 SOURCES ip/ip_types_api.c
1604 ##############################################################################