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 ##############################################################################
365 # Layer 2/3 "classify"
366 ##############################################################################
367 list(APPEND VNET_SOURCES
368 classify/vnet_classify.c
369 classify/trace_classify.h
370 classify/ip_classify.c
371 classify/in_out_acl.c
372 classify/policer_classify.c
373 classify/flow_classify.c
374 classify/flow_classify_node.c
375 classify/vnet_classify.h
376 classify/classify_api.c
379 list(APPEND VNET_MULTIARCH_SOURCES
380 classify/ip_classify.c
381 classify/flow_classify_node.c
384 list(APPEND VNET_HEADERS
385 classify/vnet_classify.h
386 classify/trace_classify.h
387 classify/in_out_acl.h
388 classify/policer_classify.h
389 classify/flow_classify.h
392 list(APPEND VNET_API_FILES classify/classify.api)
394 ##############################################################################
395 # Layer 3 protocols go here
396 ##############################################################################
398 ##############################################################################
399 # Layer 3 protocol: IP v4/v6
400 ##############################################################################
401 list(APPEND VNET_SOURCES
415 ip/ip4_source_and_port_range_check.c
416 ip/reass/ip4_full_reass.c
417 ip/reass/ip4_sv_reass.c
427 ip/reass/ip6_full_reass.c
428 ip/reass/ip6_sv_reass.c
445 list(APPEND VNET_MULTIARCH_SOURCES
447 ip/reass/ip4_full_reass.c
449 ip/reass/ip6_full_reass.c
450 ip/reass/ip4_sv_reass.c
452 ip/reass/ip6_full_reass.c
453 ip/reass/ip6_sv_reass.c
460 list(APPEND VNET_HEADERS
474 ip/ip6_hop_by_hop_packet.h
480 ip/ip_source_and_port_range_check.h
489 list(APPEND VNET_API_FILES
494 list(APPEND VNET_MULTIARCH_SOURCES
500 ##############################################################################
502 ##############################################################################
503 list(APPEND VNET_SOURCES
504 ip-neighbor/ip_neighbor.c
505 ip-neighbor/ip_neighbor_api.c
506 ip-neighbor/ip_neighbor_dp.c
507 ip-neighbor/ip_neighbor_types.c
508 ip-neighbor/ip_neighbor_watch.c
509 ip-neighbor/ip4_neighbor.c
510 ip-neighbor/ip6_neighbor.c
513 list(APPEND VNET_HEADERS
514 ip-neighbor/ip_neighbor.h
515 ip-neighbor/ip_neighbor_types.h
518 list(APPEND VNET_API_FILES
519 ip-neighbor/ip_neighbor.api
522 ##############################################################################
523 # Bidirectional Forwarding Detection
524 ##############################################################################
526 list(APPEND VNET_HEADERS
533 list(APPEND VNET_SOURCES
542 list(APPEND VNET_API_FILES bfd/bfd.api)
544 ##############################################################################
546 ##############################################################################
548 list(APPEND VNET_SOURCES
556 list(APPEND VNET_HEADERS
560 list(APPEND VNET_MULTIARCH_SOURCES crypto/node.c)
562 list(APPEND VNET_API_FILES crypto/crypto.api)
564 ##############################################################################
565 # Layer 3 protocol: IPSec
566 ##############################################################################
567 list(APPEND VNET_SOURCES
571 ipsec/ipsec_handoff.c
577 ipsec/ipsec_spd_policy.c
586 ipsec/ipsec_types_api.c
589 list(APPEND VNET_MULTIARCH_SOURCES
594 ipsec/ipsec_handoff.c
600 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
601 list(APPEND VNET_API_FILES ipsec/ipsec.api)
603 list(APPEND VNET_SOURCES
607 list(APPEND VNET_HEADERS
610 ipsec/ipsec_spd_policy.h
613 ipsec/ipsec_types_api.h
619 ##############################################################################
620 # Layer 3 protocol: osi
621 ##############################################################################
622 list(APPEND VNET_SOURCES
628 list(APPEND VNET_HEADERS
632 ##############################################################################
633 # Layer 4 protocol: tcp
634 ##############################################################################
635 list(APPEND VNET_SOURCES
639 tcp/tcp_syn_filter4.c
651 list(APPEND VNET_MULTIARCH_SOURCES
654 tcp/tcp_syn_filter4.c
657 list(APPEND VNET_HEADERS
670 list(APPEND VNET_API_FILES tcp/tcp.api)
672 ##############################################################################
673 # Layer 4 protocol: udp
674 ##############################################################################
675 list(APPEND VNET_SOURCES
687 list(APPEND VNET_MULTIARCH_SOURCES
692 list(APPEND VNET_HEADERS
698 list(APPEND VNET_API_FILES udp/udp.api)
700 ##############################################################################
701 # Tunnel protocol: gre
702 ##############################################################################
703 list(APPEND VNET_SOURCES
711 list(APPEND VNET_MULTIARCH_SOURCES
716 list(APPEND VNET_HEADERS
722 list(APPEND VNET_API_FILES gre/gre.api)
724 ##############################################################################
725 # Tunnel protocol: ipip
726 ##############################################################################
727 list(APPEND VNET_SOURCES
735 list(APPEND VNET_MULTIARCH_SOURCES
739 list(APPEND VNET_HEADERS
743 list(APPEND VNET_API_FILES
747 ##############################################################################
749 ##############################################################################
750 list(APPEND VNET_SOURCES
752 tunnel/tunnel_types_api.c
755 list(APPEND VNET_API_FILES
756 tunnel/tunnel_types.api
759 list(APPEND VNET_HEADERS
764 ##############################################################################
765 # Tunnel protocol: l2tpv3
766 ##############################################################################
767 list(APPEND VNET_SOURCES
775 list(APPEND VNET_MULTIARCH_SOURCES
780 list(APPEND VNET_HEADERS
785 list(APPEND VNET_API_FILES l2tp/l2tp.api)
787 ##############################################################################
788 # Tunnel protocol: gre+mpls
789 ##############################################################################
790 list(APPEND VNET_SOURCES
802 list(APPEND VNET_MULTIARCH_SOURCES
809 list(APPEND VNET_HEADERS
817 list(APPEND VNET_API_FILES mpls/mpls.api)
819 ##############################################################################
820 # Tunnel protocol: vxlan-gbp
821 ##############################################################################
822 list(APPEND VNET_SOURCES
825 vxlan-gbp/vxlan_gbp_api.c
826 vxlan-gbp/vxlan_gbp.c
827 vxlan-gbp/vxlan_gbp_packet.c
830 list (APPEND VNET_MULTIARCH_SOURCES
835 list(APPEND VNET_HEADERS
836 vxlan-gbp/vxlan_gbp.h
837 vxlan-gbp/vxlan_gbp_packet.h
838 vxlan-gbp/vxlan_gbp_error.def
841 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
843 ##############################################################################
844 # Tunnel protocol: vxlan-gpe
845 ##############################################################################
847 list(APPEND VNET_SOURCES
848 vxlan-gpe/vxlan_gpe.c
851 vxlan-gpe/vxlan_gpe_api.c
854 list (APPEND VNET_MULTIARCH_SOURCES
858 list(APPEND VNET_HEADERS
859 vxlan-gpe/vxlan_gpe.h
860 vxlan-gpe/vxlan_gpe_packet.h
861 vxlan-gpe/vxlan_gpe_error.def
864 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
866 ##############################################################################
867 # LISP control plane: lisp-cp
868 ##############################################################################
870 list(APPEND VNET_SOURCES
872 lisp-cp/lisp_cp_dpo.c
874 lisp-cp/gid_dictionary.c
875 lisp-cp/lisp_msg_serdes.c
881 lisp-cp/lisp_types_api.c
884 list(APPEND VNET_HEADERS
887 lisp-cp/gid_dictionary.h
888 lisp-cp/lisp_cp_messages.h
889 lisp-cp/lisp_msg_serdes.h
891 lisp-cp/lisp_types_api.h
894 list(APPEND VNET_API_FILES lisp-cp/lisp_types.api)
895 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
896 list(APPEND VNET_API_FILES lisp-cp/one.api)
898 ##############################################################################
899 # Tunnel protocol: lisp-gpe
900 ##############################################################################
902 list(APPEND VNET_SOURCES
904 lisp-gpe/lisp_gpe_sub_interface.c
905 lisp-gpe/lisp_gpe_adjacency.c
906 lisp-gpe/lisp_gpe_tunnel.c
907 lisp-gpe/lisp_gpe_fwd_entry.c
908 lisp-gpe/lisp_gpe_tenant.c
911 lisp-gpe/lisp_gpe_api.c
914 list(APPEND VNET_HEADERS
916 lisp-gpe/lisp_gpe_fwd_entry.h
917 lisp-gpe/lisp_gpe_tenant.h
918 lisp-gpe/lisp_gpe_packet.h
919 lisp-gpe/lisp_gpe_error.def
922 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
924 ##############################################################################
925 # ipv6 segment routing
926 ##############################################################################
928 list(APPEND VNET_SOURCES
931 srv6/sr_policy_rewrite.c
936 list(APPEND VNET_HEADERS
941 list(APPEND VNET_API_FILES
946 ##############################################################################
947 # mpls segment routing
948 ##############################################################################
950 list(APPEND VNET_SOURCES
951 srmpls/sr_mpls_policy.c
952 srmpls/sr_mpls_steering.c
956 list(APPEND VNET_HEADERS
960 list(APPEND VNET_API_FILES
965 ##############################################################################
966 # IPFIX / netflow v10
967 ##############################################################################
968 list(APPEND VNET_SOURCES
969 ipfix-export/flow_report.c
970 ipfix-export/flow_api.c
973 list(APPEND VNET_HEADERS
974 ipfix-export/flow_report.h
975 ipfix-export/ipfix_info_elements.h
976 ipfix-export/ipfix_packet.h
979 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
981 ##############################################################################
983 ##############################################################################
984 list(APPEND VNET_SOURCES
991 list(APPEND VNET_HEADERS
994 gso/hdr_offset_parser.h
998 list(APPEND VNET_API_FILES
1002 ##############################################################################
1003 # IPFIX classify code
1004 ##############################################################################
1006 list(APPEND VNET_SOURCES
1007 ipfix-export/flow_report_classify.c
1010 list(APPEND VNET_HEADERS
1011 ipfix-export/flow_report_classify.h
1014 ##############################################################################
1016 ##############################################################################
1018 list(APPEND VNET_SOURCES
1019 lawful-intercept/lawful_intercept.c
1020 lawful-intercept/node.c
1023 list(APPEND VNET_MULTIARCH_SOURCES
1024 lawful-intercept/node.c
1027 list(APPEND VNET_HEADERS
1028 lawful-intercept/lawful_intercept.h
1031 ##############################################################################
1032 # SPAN (port mirroring)
1033 ##############################################################################
1035 list(APPEND VNET_SOURCES
1041 list(APPEND VNET_MULTIARCH_SOURCES
1045 list(APPEND VNET_HEADERS
1049 list(APPEND VNET_API_FILES span/span.api)
1051 ##############################################################################
1053 ##############################################################################
1055 list(APPEND VNET_SOURCES
1065 list(APPEND VNET_HEADERS
1070 list(APPEND VNET_API_FILES pg/pg.api)
1072 ##############################################################################
1074 ##############################################################################
1076 list(APPEND VNET_SOURCES
1077 devices/virtio/cli.c
1078 devices/virtio/device.c
1079 devices/virtio/format.c
1080 devices/virtio/node.c
1081 devices/virtio/pci.c
1082 devices/virtio/vhost_user.c
1083 devices/virtio/vhost_user_input.c
1084 devices/virtio/vhost_user_output.c
1085 devices/virtio/vhost_user_api.c
1086 devices/virtio/virtio.c
1087 devices/virtio/virtio_api.c
1088 devices/virtio/virtio_pci_legacy.c
1089 devices/virtio/virtio_pci_modern.c
1090 devices/virtio/virtio_types_api.c
1093 list(APPEND VNET_HEADERS
1094 devices/virtio/pci.h
1095 devices/virtio/virtio.h
1096 devices/virtio/virtio_std.h
1097 devices/virtio/virtio_pci_legacy.h
1098 devices/virtio/virtio_pci_modern.h
1099 devices/virtio/vhost_std.h
1100 devices/virtio/vhost_user.h
1101 devices/virtio/virtio_types_api.h
1104 list(APPEND VNET_MULTIARCH_SOURCES
1105 devices/virtio/vhost_user_input.c
1106 devices/virtio/vhost_user_output.c
1107 devices/virtio/node.c
1108 devices/af_packet/node.c
1109 devices/virtio/device.c
1112 list(APPEND VNET_API_FILES
1113 devices/virtio/vhost_user.api
1114 devices/virtio/virtio.api
1115 devices/virtio/virtio_types.api
1118 ##############################################################################
1119 # tap interface (with virtio backend)
1120 ##############################################################################
1122 list(APPEND VNET_SOURCES
1125 devices/tap/tapv2_api.c
1128 list(APPEND VNET_HEADERS
1132 list(APPEND VNET_API_FILES
1133 devices/tap/tapv2.api
1136 ##############################################################################
1137 # tap interface (with virtio backend)
1138 ##############################################################################
1140 list(APPEND VNET_SOURCES
1141 devices/pipe/pipe_api.c
1145 list(APPEND VNET_HEADERS
1149 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1151 ##############################################################################
1152 # session managmeent
1153 ##############################################################################
1155 list(APPEND VNET_SOURCES
1157 session/session_debug.c
1158 session/session_table.c
1159 session/session_rules_table.c
1160 session/session_lookup.c
1161 session/session_node.c
1163 session/application.c
1164 session/application_worker.c
1165 session/session_cli.c
1166 session/application_interface.c
1167 session/application_local.c
1168 session/application_namespace.c
1169 session/segment_manager.c
1170 session/session_api.c
1173 list(APPEND VNET_HEADERS
1175 session/session_table.h
1176 session/session_rules_table.h
1177 session/session_types.h
1178 session/session_lookup.h
1179 session/application.h
1181 session/transport_types.h
1182 session/application_interface.h
1183 session/application_local.h
1184 session/application_namespace.h
1185 session/session_debug.h
1186 session/segment_manager.h
1187 session/mma_template.h
1188 session/mma_template.c
1193 list(APPEND VNET_API_FILES session/session.api)
1195 ##############################################################################
1197 ##############################################################################
1199 list(APPEND VNET_SOURCES
1203 list(APPEND VNET_HEADERS
1208 ##############################################################################
1209 # Linux packet interface
1210 ##############################################################################
1212 list(APPEND VNET_SOURCES
1213 devices/af_packet/af_packet.c
1214 devices/af_packet/device.c
1215 devices/af_packet/node.c
1216 devices/af_packet/cli.c
1217 devices/af_packet/af_packet_api.c
1220 list(APPEND VNET_MULTIARCH_SOURCES
1221 devices/af_packet/device.c
1224 list(APPEND VNET_HEADERS
1225 devices/af_packet/af_packet.h
1228 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1230 ##############################################################################
1231 # Driver feature graph arc support
1232 ##############################################################################
1234 list(APPEND VNET_SOURCES
1236 feature/feature_api.c
1237 feature/registration.c
1240 list(APPEND VNET_HEADERS
1244 list(APPEND VNET_API_FILES feature/feature.api)
1246 ##############################################################################
1247 # Unix kernel related
1248 ##############################################################################
1250 # FIXME: unix/hgshm.c
1252 list(APPEND VNET_SOURCES
1257 list(APPEND VNET_HEADERS
1261 ##############################################################################
1263 ##############################################################################
1265 list(APPEND VNET_SOURCES
1277 fib/fib_entry_src_adj.c
1278 fib/fib_entry_src_api.c
1279 fib/fib_entry_src_drop.c
1280 fib/fib_entry_src_interface.c
1281 fib/fib_entry_src_interpose.c
1282 fib/fib_entry_src_lisp.c
1283 fib/fib_entry_src_mpls.c
1284 fib/fib_entry_src_simple.c
1285 fib/fib_entry_src_rr.c
1286 fib/fib_entry_cover.c
1287 fib/fib_entry_delegate.c
1288 fib/fib_entry_track.c
1294 fib/fib_attached_export.c
1299 list(APPEND VNET_HEADERS
1309 fib/fib_entry_delegate.h
1313 list(APPEND VNET_API_FILES fib/fib_types.api)
1315 ##############################################################################
1317 ##############################################################################
1319 list(APPEND VNET_SOURCES
1323 adj/adj_midchain_delegate.c
1333 list(APPEND VNET_MULTIARCH_SOURCES
1339 list(APPEND VNET_HEADERS
1349 ##############################################################################
1350 # Data-Plane Objects
1351 ##############################################################################
1353 list(APPEND VNET_SOURCES
1361 dpo/load_balance_map.c
1365 dpo/interface_rx_dpo.c
1366 dpo/interface_tx_dpo.c
1367 dpo/mpls_disposition.c
1368 dpo/mpls_label_dpo.c
1374 list(APPEND VNET_MULTIARCH_SOURCES
1376 dpo/mpls_disposition.c
1378 dpo/mpls_label_dpo.c
1379 dpo/interface_rx_dpo.c
1382 list(APPEND VNET_HEADERS
1394 ##############################################################################
1396 ##############################################################################
1398 list(APPEND VNET_SOURCES
1408 mfib/mfib_entry_cover.c
1409 mfib/mfib_entry_delegate.c
1410 mfib/mfib_entry_src.c
1411 mfib/mfib_entry_src_rr.c
1415 list(APPEND VNET_MULTIARCH_SOURCES
1419 list(APPEND VNET_HEADERS
1425 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1427 ##############################################################################
1429 ##############################################################################
1431 list(APPEND VNET_SOURCES
1438 list(APPEND VNET_HEADERS
1442 ##############################################################################
1444 ##############################################################################
1446 list(APPEND VNET_SOURCES
1449 qos/qos_egress_map.c
1451 qos/qos_record_node.c
1453 qos/qos_store_node.c
1458 list(APPEND VNET_MULTIARCH_SOURCES
1459 qos/qos_record_node.c
1463 list(APPEND VNET_API_FILES qos/qos.api)
1465 ##############################################################################
1467 ##############################################################################
1469 list(APPEND VNET_SOURCES
1470 bier/bier_bit_string.c
1473 bier/bier_fmask_db.c
1482 bier/bier_imp_node.c
1484 bier/bier_disp_entry.c
1485 bier/bier_disp_lookup_node.c
1486 bier/bier_disp_dispatch_node.c
1487 bier/bier_disp_table.c
1488 bier/bier_bift_table.c
1491 list(APPEND VNET_MULTIARCH_SOURCES
1492 bier/bier_disp_dispatch_node.c
1493 bier/bier_disp_lookup_node.c
1494 bier/bier_imp_node.c
1497 list(APPEND VNET_HEADERS
1504 list(APPEND VNET_API_FILES bier/bier.api)
1506 ##############################################################################
1508 ##############################################################################
1510 list (APPEND VNET_SOURCES
1516 list(APPEND VNET_HEADERS
1521 list(APPEND VNET_API_FILES syslog/syslog.api)
1523 ##############################################################################
1524 # Tunnel Endpoint Information Base
1525 ##############################################################################
1527 list (APPEND VNET_SOURCES
1533 list(APPEND VNET_HEADERS
1537 list(APPEND VNET_API_FILES teib/teib.api)
1539 ##############################################################################
1541 ##############################################################################
1543 list (APPEND VNET_SOURCES
1549 list(APPEND VNET_HEADERS
1553 list(APPEND VNET_API_FILES arp/arp.api)
1555 list (APPEND VNET_SOURCES
1559 ip6-nd/ip6_nd_proxy.c
1565 list(APPEND VNET_HEADERS
1569 list(APPEND VNET_API_FILES
1574 ##############################################################################
1576 ##############################################################################
1578 add_vpp_library(vnet
1579 SOURCES ${VNET_SOURCES}
1580 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1581 INSTALL_HEADERS ${VNET_HEADERS}
1582 API_FILES ${VNET_API_FILES}
1583 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1584 DEPENDS vpp_version_h api_headers
1587 ##############################################################################
1588 # vpp api test client library
1589 ##############################################################################
1591 add_vpp_library (vatclient
1592 SOURCES ip/ip_types_api.c
1596 ##############################################################################