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
494 ip/ip_source_and_port_range_check.h
503 list(APPEND VNET_API_FILES
508 list(APPEND VNET_MULTIARCH_SOURCES
514 ##############################################################################
516 ##############################################################################
517 list(APPEND VNET_SOURCES
518 ip-neighbor/ip_neighbor.c
519 ip-neighbor/ip_neighbor_api.c
520 ip-neighbor/ip_neighbor_dp.c
521 ip-neighbor/ip_neighbor_types.c
522 ip-neighbor/ip_neighbor_watch.c
523 ip-neighbor/ip4_neighbor.c
524 ip-neighbor/ip6_neighbor.c
527 list(APPEND VNET_HEADERS
528 ip-neighbor/ip_neighbor.h
529 ip-neighbor/ip_neighbor_types.h
532 list(APPEND VNET_API_FILES
533 ip-neighbor/ip_neighbor.api
536 ##############################################################################
537 # Bidirectional Forwarding Detection
538 ##############################################################################
540 list(APPEND VNET_HEADERS
547 list(APPEND VNET_SOURCES
556 list(APPEND VNET_API_FILES bfd/bfd.api)
558 ##############################################################################
560 ##############################################################################
562 list(APPEND VNET_SOURCES
569 list(APPEND VNET_HEADERS
573 list(APPEND VNET_MULTIARCH_SOURCES crypto/node.c)
575 ##############################################################################
576 # Layer 3 protocol: IPSec
577 ##############################################################################
578 list(APPEND VNET_SOURCES
582 ipsec/ipsec_handoff.c
588 ipsec/ipsec_spd_policy.c
597 ipsec/ipsec_types_api.c
600 list(APPEND VNET_MULTIARCH_SOURCES
605 ipsec/ipsec_handoff.c
611 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
612 list(APPEND VNET_API_FILES ipsec/ipsec.api)
614 list(APPEND VNET_SOURCES
618 list(APPEND VNET_HEADERS
621 ipsec/ipsec_spd_policy.h
624 ipsec/ipsec_types_api.h
630 ##############################################################################
631 # Layer 3 protocol: osi
632 ##############################################################################
633 list(APPEND VNET_SOURCES
639 list(APPEND VNET_HEADERS
643 ##############################################################################
644 # Layer 4 protocol: tcp
645 ##############################################################################
646 list(APPEND VNET_SOURCES
650 tcp/tcp_syn_filter4.c
662 list(APPEND VNET_MULTIARCH_SOURCES
665 tcp/tcp_syn_filter4.c
668 list(APPEND VNET_HEADERS
681 list(APPEND VNET_API_FILES tcp/tcp.api)
683 ##############################################################################
684 # Layer 4 protocol: udp
685 ##############################################################################
686 list(APPEND VNET_SOURCES
698 list(APPEND VNET_MULTIARCH_SOURCES
703 list(APPEND VNET_HEADERS
709 list(APPEND VNET_API_FILES udp/udp.api)
711 ##############################################################################
712 # Tunnel protocol: gre
713 ##############################################################################
714 list(APPEND VNET_SOURCES
722 list(APPEND VNET_MULTIARCH_SOURCES
727 list(APPEND VNET_HEADERS
733 list(APPEND VNET_API_FILES gre/gre.api)
735 ##############################################################################
736 # Tunnel protocol: ipip
737 ##############################################################################
738 list(APPEND VNET_SOURCES
746 list(APPEND VNET_MULTIARCH_SOURCES
750 list(APPEND VNET_HEADERS
754 list(APPEND VNET_API_FILES
758 ##############################################################################
760 ##############################################################################
761 list(APPEND VNET_SOURCES
763 tunnel/tunnel_types_api.c
766 list(APPEND VNET_API_FILES
767 tunnel/tunnel_types.api
770 list(APPEND VNET_HEADERS
775 ##############################################################################
776 # Tunnel protocol: l2tpv3
777 ##############################################################################
778 list(APPEND VNET_SOURCES
786 list(APPEND VNET_MULTIARCH_SOURCES
791 list(APPEND VNET_HEADERS
796 list(APPEND VNET_API_FILES l2tp/l2tp.api)
798 ##############################################################################
799 # Tunnel protocol: gre+mpls
800 ##############################################################################
801 list(APPEND VNET_SOURCES
813 list(APPEND VNET_MULTIARCH_SOURCES
820 list(APPEND VNET_HEADERS
828 list(APPEND VNET_API_FILES mpls/mpls.api)
830 ##############################################################################
831 # Tunnel protocol: vxlan-gbp
832 ##############################################################################
833 list(APPEND VNET_SOURCES
836 vxlan-gbp/vxlan_gbp_api.c
837 vxlan-gbp/vxlan_gbp.c
838 vxlan-gbp/vxlan_gbp_packet.c
841 list (APPEND VNET_MULTIARCH_SOURCES
846 list(APPEND VNET_HEADERS
847 vxlan-gbp/vxlan_gbp.h
848 vxlan-gbp/vxlan_gbp_packet.h
849 vxlan-gbp/vxlan_gbp_error.def
852 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
854 ##############################################################################
855 # Tunnel protocol: vxlan-gpe
856 ##############################################################################
858 list(APPEND VNET_SOURCES
859 vxlan-gpe/vxlan_gpe.c
862 vxlan-gpe/vxlan_gpe_api.c
865 list (APPEND VNET_MULTIARCH_SOURCES
869 list(APPEND VNET_HEADERS
870 vxlan-gpe/vxlan_gpe.h
871 vxlan-gpe/vxlan_gpe_packet.h
872 vxlan-gpe/vxlan_gpe_error.def
875 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
877 ##############################################################################
878 # LISP control plane: lisp-cp
879 ##############################################################################
881 list(APPEND VNET_SOURCES
883 lisp-cp/lisp_cp_dpo.c
885 lisp-cp/gid_dictionary.c
886 lisp-cp/lisp_msg_serdes.c
892 lisp-cp/lisp_types_api.c
895 list(APPEND VNET_HEADERS
898 lisp-cp/gid_dictionary.h
899 lisp-cp/lisp_cp_messages.h
900 lisp-cp/lisp_msg_serdes.h
902 lisp-cp/lisp_types_api.h
905 list(APPEND VNET_API_FILES lisp-cp/lisp_types.api)
906 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
907 list(APPEND VNET_API_FILES lisp-cp/one.api)
909 ##############################################################################
910 # Tunnel protocol: lisp-gpe
911 ##############################################################################
913 list(APPEND VNET_SOURCES
915 lisp-gpe/lisp_gpe_sub_interface.c
916 lisp-gpe/lisp_gpe_adjacency.c
917 lisp-gpe/lisp_gpe_tunnel.c
918 lisp-gpe/lisp_gpe_fwd_entry.c
919 lisp-gpe/lisp_gpe_tenant.c
922 lisp-gpe/lisp_gpe_api.c
925 list(APPEND VNET_HEADERS
927 lisp-gpe/lisp_gpe_fwd_entry.h
928 lisp-gpe/lisp_gpe_tenant.h
929 lisp-gpe/lisp_gpe_packet.h
930 lisp-gpe/lisp_gpe_error.def
933 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
935 ##############################################################################
936 # ipv6 segment routing
937 ##############################################################################
939 list(APPEND VNET_SOURCES
942 srv6/sr_policy_rewrite.c
947 list(APPEND VNET_HEADERS
952 list(APPEND VNET_API_FILES
957 ##############################################################################
958 # mpls segment routing
959 ##############################################################################
961 list(APPEND VNET_SOURCES
962 srmpls/sr_mpls_policy.c
963 srmpls/sr_mpls_steering.c
967 list(APPEND VNET_HEADERS
971 list(APPEND VNET_API_FILES
976 ##############################################################################
977 # IPFIX / netflow v10
978 ##############################################################################
979 list(APPEND VNET_SOURCES
980 ipfix-export/flow_report.c
981 ipfix-export/flow_api.c
984 list(APPEND VNET_HEADERS
985 ipfix-export/flow_report.h
986 ipfix-export/ipfix_info_elements.h
987 ipfix-export/ipfix_packet.h
990 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
992 ##############################################################################
994 ##############################################################################
995 list(APPEND VNET_SOURCES
1002 list(APPEND VNET_HEADERS
1003 gso/hdr_offset_parser.h
1007 list(APPEND VNET_API_FILES
1011 ##############################################################################
1012 # IPFIX classify code
1013 ##############################################################################
1015 list(APPEND VNET_SOURCES
1016 ipfix-export/flow_report_classify.c
1019 list(APPEND VNET_HEADERS
1020 ipfix-export/flow_report_classify.h
1023 ##############################################################################
1025 ##############################################################################
1027 list(APPEND VNET_SOURCES
1028 lawful-intercept/lawful_intercept.c
1029 lawful-intercept/node.c
1032 list(APPEND VNET_MULTIARCH_SOURCES
1033 lawful-intercept/node.c
1036 list(APPEND VNET_HEADERS
1037 lawful-intercept/lawful_intercept.h
1040 ##############################################################################
1041 # SPAN (port mirroring)
1042 ##############################################################################
1044 list(APPEND VNET_SOURCES
1050 list(APPEND VNET_MULTIARCH_SOURCES
1054 list(APPEND VNET_HEADERS
1058 list(APPEND VNET_API_FILES span/span.api)
1060 ##############################################################################
1062 ##############################################################################
1064 list(APPEND VNET_SOURCES
1074 list(APPEND VNET_HEADERS
1079 list(APPEND VNET_API_FILES pg/pg.api)
1081 ##############################################################################
1083 ##############################################################################
1085 list(APPEND VNET_SOURCES
1086 devices/virtio/cli.c
1087 devices/virtio/device.c
1088 devices/virtio/format.c
1089 devices/virtio/node.c
1090 devices/virtio/pci.c
1091 devices/virtio/vhost_user.c
1092 devices/virtio/vhost_user_input.c
1093 devices/virtio/vhost_user_output.c
1094 devices/virtio/vhost_user_api.c
1095 devices/virtio/virtio.c
1096 devices/virtio/virtio_api.c
1097 devices/virtio/virtio_types_api.c
1100 list(APPEND VNET_HEADERS
1101 devices/virtio/pci.h
1102 devices/virtio/virtio.h
1103 devices/virtio/vhost_user.h
1104 devices/virtio/virtio_types_api.h
1107 list(APPEND VNET_MULTIARCH_SOURCES
1108 devices/virtio/vhost_user_input.c
1109 devices/virtio/vhost_user_output.c
1110 devices/virtio/node.c
1111 devices/af_packet/node.c
1112 devices/virtio/device.c
1115 list(APPEND VNET_API_FILES
1116 devices/virtio/vhost_user.api
1117 devices/virtio/virtio.api
1118 devices/virtio/virtio_types.api
1121 ##############################################################################
1122 # tap interface (with virtio backend)
1123 ##############################################################################
1125 list(APPEND VNET_SOURCES
1128 devices/tap/tapv2_api.c
1131 list(APPEND VNET_HEADERS
1135 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1137 ##############################################################################
1138 # tap interface (with virtio backend)
1139 ##############################################################################
1141 list(APPEND VNET_SOURCES
1142 devices/pipe/pipe_api.c
1146 list(APPEND VNET_HEADERS
1150 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1152 ##############################################################################
1153 # session managmeent
1154 ##############################################################################
1156 list(APPEND VNET_SOURCES
1158 session/session_debug.c
1159 session/session_table.c
1160 session/session_rules_table.c
1161 session/session_lookup.c
1162 session/session_node.c
1164 session/application.c
1165 session/application_worker.c
1166 session/session_cli.c
1167 session/application_interface.c
1168 session/application_local.c
1169 session/application_namespace.c
1170 session/segment_manager.c
1171 session/session_api.c
1174 list(APPEND VNET_HEADERS
1176 session/session_table.h
1177 session/session_rules_table.h
1178 session/session_types.h
1179 session/session_lookup.h
1180 session/application.h
1182 session/transport_types.h
1183 session/application_interface.h
1184 session/application_local.h
1185 session/application_namespace.h
1186 session/session_debug.h
1187 session/segment_manager.h
1188 session/mma_template.h
1189 session/mma_template.c
1194 list(APPEND VNET_API_FILES session/session.api)
1196 ##############################################################################
1198 ##############################################################################
1200 list(APPEND VNET_SOURCES
1204 list(APPEND VNET_HEADERS
1209 ##############################################################################
1210 # Linux packet interface
1211 ##############################################################################
1213 list(APPEND VNET_SOURCES
1214 devices/af_packet/af_packet.c
1215 devices/af_packet/device.c
1216 devices/af_packet/node.c
1217 devices/af_packet/cli.c
1218 devices/af_packet/af_packet_api.c
1221 list(APPEND VNET_MULTIARCH_SOURCES
1222 devices/af_packet/device.c
1225 list(APPEND VNET_HEADERS
1226 devices/af_packet/af_packet.h
1229 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1231 ##############################################################################
1232 # Driver feature graph arc support
1233 ##############################################################################
1235 list(APPEND VNET_SOURCES
1237 feature/feature_api.c
1238 feature/registration.c
1241 list(APPEND VNET_HEADERS
1245 list(APPEND VNET_API_FILES feature/feature.api)
1247 ##############################################################################
1248 # Unix kernel related
1249 ##############################################################################
1251 # FIXME: unix/hgshm.c
1253 list(APPEND VNET_SOURCES
1258 list(APPEND VNET_HEADERS
1262 ##############################################################################
1264 ##############################################################################
1266 list(APPEND VNET_SOURCES
1278 fib/fib_entry_src_adj.c
1279 fib/fib_entry_src_api.c
1280 fib/fib_entry_src_drop.c
1281 fib/fib_entry_src_interface.c
1282 fib/fib_entry_src_interpose.c
1283 fib/fib_entry_src_lisp.c
1284 fib/fib_entry_src_mpls.c
1285 fib/fib_entry_src_simple.c
1286 fib/fib_entry_src_rr.c
1287 fib/fib_entry_cover.c
1288 fib/fib_entry_delegate.c
1289 fib/fib_entry_track.c
1295 fib/fib_attached_export.c
1300 list(APPEND VNET_HEADERS
1310 fib/fib_entry_delegate.h
1314 list(APPEND VNET_API_FILES fib/fib_types.api)
1316 ##############################################################################
1318 ##############################################################################
1320 list(APPEND VNET_SOURCES
1324 adj/adj_midchain_delegate.c
1334 list(APPEND VNET_MULTIARCH_SOURCES
1340 list(APPEND VNET_HEADERS
1350 ##############################################################################
1351 # Data-Plane Objects
1352 ##############################################################################
1354 list(APPEND VNET_SOURCES
1362 dpo/load_balance_map.c
1366 dpo/interface_rx_dpo.c
1367 dpo/interface_tx_dpo.c
1368 dpo/mpls_disposition.c
1369 dpo/mpls_label_dpo.c
1375 list(APPEND VNET_MULTIARCH_SOURCES
1377 dpo/mpls_disposition.c
1379 dpo/mpls_label_dpo.c
1380 dpo/interface_rx_dpo.c
1383 list(APPEND VNET_HEADERS
1395 ##############################################################################
1397 ##############################################################################
1399 list(APPEND VNET_SOURCES
1409 mfib/mfib_entry_cover.c
1410 mfib/mfib_entry_delegate.c
1411 mfib/mfib_entry_src.c
1412 mfib/mfib_entry_src_rr.c
1416 list(APPEND VNET_MULTIARCH_SOURCES
1420 list(APPEND VNET_HEADERS
1426 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1428 ##############################################################################
1430 ##############################################################################
1432 list(APPEND VNET_SOURCES
1439 list(APPEND VNET_HEADERS
1443 ##############################################################################
1445 ##############################################################################
1447 list(APPEND VNET_SOURCES
1450 qos/qos_egress_map.c
1452 qos/qos_record_node.c
1454 qos/qos_store_node.c
1459 list(APPEND VNET_MULTIARCH_SOURCES
1460 qos/qos_record_node.c
1464 list(APPEND VNET_API_FILES qos/qos.api)
1466 ##############################################################################
1468 ##############################################################################
1470 list(APPEND VNET_SOURCES
1471 bier/bier_bit_string.c
1474 bier/bier_fmask_db.c
1483 bier/bier_imp_node.c
1485 bier/bier_disp_entry.c
1486 bier/bier_disp_lookup_node.c
1487 bier/bier_disp_dispatch_node.c
1488 bier/bier_disp_table.c
1489 bier/bier_bift_table.c
1492 list(APPEND VNET_MULTIARCH_SOURCES
1493 bier/bier_disp_dispatch_node.c
1494 bier/bier_disp_lookup_node.c
1495 bier/bier_imp_node.c
1498 list(APPEND VNET_HEADERS
1505 list(APPEND VNET_API_FILES bier/bier.api)
1507 ##############################################################################
1509 ##############################################################################
1511 list (APPEND VNET_SOURCES
1517 list(APPEND VNET_HEADERS
1522 list(APPEND VNET_API_FILES syslog/syslog.api)
1524 ##############################################################################
1525 # Tunnel Endpoint Information Base
1526 ##############################################################################
1528 list (APPEND VNET_SOURCES
1534 list(APPEND VNET_HEADERS
1538 list(APPEND VNET_API_FILES teib/teib.api)
1540 ##############################################################################
1542 ##############################################################################
1544 list (APPEND VNET_SOURCES
1550 list(APPEND VNET_HEADERS
1554 list(APPEND VNET_API_FILES arp/arp.api)
1556 list (APPEND VNET_SOURCES
1560 ip6-nd/ip6_nd_proxy.c
1566 list(APPEND VNET_HEADERS
1570 list(APPEND VNET_API_FILES
1575 ##############################################################################
1577 ##############################################################################
1579 add_vpp_library(vnet
1580 SOURCES ${VNET_SOURCES}
1581 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1582 INSTALL_HEADERS ${VNET_HEADERS}
1583 API_FILES ${VNET_API_FILES}
1584 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1585 DEPENDS vpp_version_h api_headers
1588 ##############################################################################
1589 # vpp api test client library
1590 ##############################################################################
1592 add_vpp_library (vatclient
1593 SOURCES ip/ip_types_api.c
1597 ##############################################################################