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
574 list(APPEND VNET_HEADERS
578 list(APPEND VNET_MULTIARCH_SOURCES crypto/node.c)
580 list(APPEND VNET_API_FILES crypto/crypto.api)
582 ##############################################################################
583 # Layer 3 protocol: IPSec
584 ##############################################################################
585 list(APPEND VNET_SOURCES
589 ipsec/ipsec_handoff.c
595 ipsec/ipsec_spd_policy.c
604 ipsec/ipsec_types_api.c
607 list(APPEND VNET_MULTIARCH_SOURCES
612 ipsec/ipsec_handoff.c
618 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
619 list(APPEND VNET_API_FILES ipsec/ipsec.api)
621 list(APPEND VNET_SOURCES
625 list(APPEND VNET_HEADERS
628 ipsec/ipsec_spd_policy.h
631 ipsec/ipsec_types_api.h
637 ##############################################################################
638 # Layer 3 protocol: osi
639 ##############################################################################
640 list(APPEND VNET_SOURCES
646 list(APPEND VNET_HEADERS
650 ##############################################################################
651 # Layer 4 protocol: tcp
652 ##############################################################################
653 list(APPEND VNET_SOURCES
657 tcp/tcp_syn_filter4.c
669 list(APPEND VNET_MULTIARCH_SOURCES
672 tcp/tcp_syn_filter4.c
675 list(APPEND VNET_HEADERS
688 list(APPEND VNET_API_FILES tcp/tcp.api)
690 ##############################################################################
691 # Layer 4 protocol: udp
692 ##############################################################################
693 list(APPEND VNET_SOURCES
705 list(APPEND VNET_MULTIARCH_SOURCES
710 list(APPEND VNET_HEADERS
716 list(APPEND VNET_API_FILES udp/udp.api)
718 ##############################################################################
719 # Tunnel protocol: gre
720 ##############################################################################
721 list(APPEND VNET_SOURCES
729 list(APPEND VNET_MULTIARCH_SOURCES
734 list(APPEND VNET_HEADERS
740 list(APPEND VNET_API_FILES gre/gre.api)
742 ##############################################################################
743 # Tunnel protocol: ipip
744 ##############################################################################
745 list(APPEND VNET_SOURCES
753 list(APPEND VNET_MULTIARCH_SOURCES
757 list(APPEND VNET_HEADERS
761 list(APPEND VNET_API_FILES
765 ##############################################################################
767 ##############################################################################
768 list(APPEND VNET_SOURCES
770 tunnel/tunnel_types_api.c
773 list(APPEND VNET_API_FILES
774 tunnel/tunnel_types.api
777 list(APPEND VNET_HEADERS
782 ##############################################################################
783 # Tunnel protocol: l2tpv3
784 ##############################################################################
785 list(APPEND VNET_SOURCES
793 list(APPEND VNET_MULTIARCH_SOURCES
798 list(APPEND VNET_HEADERS
803 list(APPEND VNET_API_FILES l2tp/l2tp.api)
805 ##############################################################################
806 # Tunnel protocol: gre+mpls
807 ##############################################################################
808 list(APPEND VNET_SOURCES
820 list(APPEND VNET_MULTIARCH_SOURCES
827 list(APPEND VNET_HEADERS
835 list(APPEND VNET_API_FILES mpls/mpls.api)
837 ##############################################################################
838 # Tunnel protocol: vxlan-gbp
839 ##############################################################################
840 list(APPEND VNET_SOURCES
843 vxlan-gbp/vxlan_gbp_api.c
844 vxlan-gbp/vxlan_gbp.c
845 vxlan-gbp/vxlan_gbp_packet.c
848 list (APPEND VNET_MULTIARCH_SOURCES
853 list(APPEND VNET_HEADERS
854 vxlan-gbp/vxlan_gbp.h
855 vxlan-gbp/vxlan_gbp_packet.h
856 vxlan-gbp/vxlan_gbp_error.def
859 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
861 ##############################################################################
862 # Tunnel protocol: vxlan-gpe
863 ##############################################################################
865 list(APPEND VNET_SOURCES
866 vxlan-gpe/vxlan_gpe.c
869 vxlan-gpe/vxlan_gpe_api.c
872 list (APPEND VNET_MULTIARCH_SOURCES
876 list(APPEND VNET_HEADERS
877 vxlan-gpe/vxlan_gpe.h
878 vxlan-gpe/vxlan_gpe_packet.h
879 vxlan-gpe/vxlan_gpe_error.def
882 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
884 ##############################################################################
885 # LISP control plane: lisp-cp
886 ##############################################################################
888 list(APPEND VNET_SOURCES
890 lisp-cp/lisp_cp_dpo.c
892 lisp-cp/gid_dictionary.c
893 lisp-cp/lisp_msg_serdes.c
899 lisp-cp/lisp_types_api.c
902 list(APPEND VNET_HEADERS
905 lisp-cp/gid_dictionary.h
906 lisp-cp/lisp_cp_messages.h
907 lisp-cp/lisp_msg_serdes.h
909 lisp-cp/lisp_types_api.h
912 list(APPEND VNET_API_FILES lisp-cp/lisp_types.api)
913 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
914 list(APPEND VNET_API_FILES lisp-cp/one.api)
916 ##############################################################################
917 # Tunnel protocol: lisp-gpe
918 ##############################################################################
920 list(APPEND VNET_SOURCES
922 lisp-gpe/lisp_gpe_sub_interface.c
923 lisp-gpe/lisp_gpe_adjacency.c
924 lisp-gpe/lisp_gpe_tunnel.c
925 lisp-gpe/lisp_gpe_fwd_entry.c
926 lisp-gpe/lisp_gpe_tenant.c
929 lisp-gpe/lisp_gpe_api.c
932 list(APPEND VNET_HEADERS
934 lisp-gpe/lisp_gpe_fwd_entry.h
935 lisp-gpe/lisp_gpe_tenant.h
936 lisp-gpe/lisp_gpe_packet.h
937 lisp-gpe/lisp_gpe_error.def
940 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
942 ##############################################################################
943 # ipv6 segment routing
944 ##############################################################################
946 list(APPEND VNET_SOURCES
949 srv6/sr_policy_rewrite.c
954 list(APPEND VNET_HEADERS
959 list(APPEND VNET_API_FILES
964 ##############################################################################
965 # mpls segment routing
966 ##############################################################################
968 list(APPEND VNET_SOURCES
969 srmpls/sr_mpls_policy.c
970 srmpls/sr_mpls_steering.c
974 list(APPEND VNET_HEADERS
978 list(APPEND VNET_API_FILES
983 ##############################################################################
984 # IPFIX / netflow v10
985 ##############################################################################
986 list(APPEND VNET_SOURCES
987 ipfix-export/flow_report.c
988 ipfix-export/flow_api.c
991 list(APPEND VNET_HEADERS
992 ipfix-export/flow_report.h
993 ipfix-export/ipfix_info_elements.h
994 ipfix-export/ipfix_packet.h
997 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
999 ##############################################################################
1001 ##############################################################################
1002 list(APPEND VNET_SOURCES
1009 list(APPEND VNET_HEADERS
1012 gso/hdr_offset_parser.h
1016 list(APPEND VNET_API_FILES
1020 ##############################################################################
1021 # IPFIX classify code
1022 ##############################################################################
1024 list(APPEND VNET_SOURCES
1025 ipfix-export/flow_report_classify.c
1028 list(APPEND VNET_HEADERS
1029 ipfix-export/flow_report_classify.h
1032 ##############################################################################
1034 ##############################################################################
1036 list(APPEND VNET_SOURCES
1037 lawful-intercept/lawful_intercept.c
1038 lawful-intercept/node.c
1041 list(APPEND VNET_MULTIARCH_SOURCES
1042 lawful-intercept/node.c
1045 list(APPEND VNET_HEADERS
1046 lawful-intercept/lawful_intercept.h
1049 ##############################################################################
1050 # SPAN (port mirroring)
1051 ##############################################################################
1053 list(APPEND VNET_SOURCES
1059 list(APPEND VNET_MULTIARCH_SOURCES
1063 list(APPEND VNET_HEADERS
1067 list(APPEND VNET_API_FILES span/span.api)
1069 ##############################################################################
1071 ##############################################################################
1073 list(APPEND VNET_SOURCES
1083 list(APPEND VNET_HEADERS
1088 list(APPEND VNET_API_FILES pg/pg.api)
1090 ##############################################################################
1092 ##############################################################################
1094 list(APPEND VNET_SOURCES
1095 devices/virtio/cli.c
1096 devices/virtio/device.c
1097 devices/virtio/format.c
1098 devices/virtio/node.c
1099 devices/virtio/pci.c
1100 devices/virtio/vhost_user.c
1101 devices/virtio/vhost_user_input.c
1102 devices/virtio/vhost_user_output.c
1103 devices/virtio/vhost_user_api.c
1104 devices/virtio/virtio.c
1105 devices/virtio/virtio_api.c
1106 devices/virtio/virtio_pci_legacy.c
1107 devices/virtio/virtio_pci_modern.c
1108 devices/virtio/virtio_types_api.c
1111 list(APPEND VNET_HEADERS
1112 devices/virtio/pci.h
1113 devices/virtio/virtio.h
1114 devices/virtio/virtio_pci_legacy.h
1115 devices/virtio/virtio_pci_modern.h
1116 devices/virtio/vhost_user.h
1117 devices/virtio/virtio_types_api.h
1120 list(APPEND VNET_MULTIARCH_SOURCES
1121 devices/virtio/vhost_user_input.c
1122 devices/virtio/vhost_user_output.c
1123 devices/virtio/node.c
1124 devices/af_packet/node.c
1125 devices/virtio/device.c
1128 list(APPEND VNET_API_FILES
1129 devices/virtio/vhost_user.api
1130 devices/virtio/virtio.api
1131 devices/virtio/virtio_types.api
1134 ##############################################################################
1135 # tap interface (with virtio backend)
1136 ##############################################################################
1138 list(APPEND VNET_SOURCES
1141 devices/tap/tapv2_api.c
1144 list(APPEND VNET_HEADERS
1148 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1150 ##############################################################################
1151 # tap interface (with virtio backend)
1152 ##############################################################################
1154 list(APPEND VNET_SOURCES
1155 devices/pipe/pipe_api.c
1159 list(APPEND VNET_HEADERS
1163 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1165 ##############################################################################
1166 # session managmeent
1167 ##############################################################################
1169 list(APPEND VNET_SOURCES
1171 session/session_debug.c
1172 session/session_table.c
1173 session/session_rules_table.c
1174 session/session_lookup.c
1175 session/session_node.c
1177 session/application.c
1178 session/application_worker.c
1179 session/session_cli.c
1180 session/application_interface.c
1181 session/application_local.c
1182 session/application_namespace.c
1183 session/segment_manager.c
1184 session/session_api.c
1187 list(APPEND VNET_HEADERS
1189 session/session_table.h
1190 session/session_rules_table.h
1191 session/session_types.h
1192 session/session_lookup.h
1193 session/application.h
1195 session/transport_types.h
1196 session/application_interface.h
1197 session/application_local.h
1198 session/application_namespace.h
1199 session/session_debug.h
1200 session/segment_manager.h
1201 session/mma_template.h
1202 session/mma_template.c
1207 list(APPEND VNET_API_FILES session/session.api)
1209 ##############################################################################
1211 ##############################################################################
1213 list(APPEND VNET_SOURCES
1217 list(APPEND VNET_HEADERS
1222 ##############################################################################
1223 # Linux packet interface
1224 ##############################################################################
1226 list(APPEND VNET_SOURCES
1227 devices/af_packet/af_packet.c
1228 devices/af_packet/device.c
1229 devices/af_packet/node.c
1230 devices/af_packet/cli.c
1231 devices/af_packet/af_packet_api.c
1234 list(APPEND VNET_MULTIARCH_SOURCES
1235 devices/af_packet/device.c
1238 list(APPEND VNET_HEADERS
1239 devices/af_packet/af_packet.h
1242 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1244 ##############################################################################
1245 # Driver feature graph arc support
1246 ##############################################################################
1248 list(APPEND VNET_SOURCES
1250 feature/feature_api.c
1251 feature/registration.c
1254 list(APPEND VNET_HEADERS
1258 list(APPEND VNET_API_FILES feature/feature.api)
1260 ##############################################################################
1261 # Unix kernel related
1262 ##############################################################################
1264 # FIXME: unix/hgshm.c
1266 list(APPEND VNET_SOURCES
1271 list(APPEND VNET_HEADERS
1275 ##############################################################################
1277 ##############################################################################
1279 list(APPEND VNET_SOURCES
1291 fib/fib_entry_src_adj.c
1292 fib/fib_entry_src_api.c
1293 fib/fib_entry_src_drop.c
1294 fib/fib_entry_src_interface.c
1295 fib/fib_entry_src_interpose.c
1296 fib/fib_entry_src_lisp.c
1297 fib/fib_entry_src_mpls.c
1298 fib/fib_entry_src_simple.c
1299 fib/fib_entry_src_rr.c
1300 fib/fib_entry_cover.c
1301 fib/fib_entry_delegate.c
1302 fib/fib_entry_track.c
1308 fib/fib_attached_export.c
1313 list(APPEND VNET_HEADERS
1323 fib/fib_entry_delegate.h
1327 list(APPEND VNET_API_FILES fib/fib_types.api)
1329 ##############################################################################
1331 ##############################################################################
1333 list(APPEND VNET_SOURCES
1337 adj/adj_midchain_delegate.c
1347 list(APPEND VNET_MULTIARCH_SOURCES
1353 list(APPEND VNET_HEADERS
1363 ##############################################################################
1364 # Data-Plane Objects
1365 ##############################################################################
1367 list(APPEND VNET_SOURCES
1375 dpo/load_balance_map.c
1379 dpo/interface_rx_dpo.c
1380 dpo/interface_tx_dpo.c
1381 dpo/mpls_disposition.c
1382 dpo/mpls_label_dpo.c
1388 list(APPEND VNET_MULTIARCH_SOURCES
1390 dpo/mpls_disposition.c
1392 dpo/mpls_label_dpo.c
1393 dpo/interface_rx_dpo.c
1396 list(APPEND VNET_HEADERS
1408 ##############################################################################
1410 ##############################################################################
1412 list(APPEND VNET_SOURCES
1422 mfib/mfib_entry_cover.c
1423 mfib/mfib_entry_delegate.c
1424 mfib/mfib_entry_src.c
1425 mfib/mfib_entry_src_rr.c
1429 list(APPEND VNET_MULTIARCH_SOURCES
1433 list(APPEND VNET_HEADERS
1439 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1441 ##############################################################################
1443 ##############################################################################
1445 list(APPEND VNET_SOURCES
1452 list(APPEND VNET_HEADERS
1456 ##############################################################################
1458 ##############################################################################
1460 list(APPEND VNET_SOURCES
1463 qos/qos_egress_map.c
1465 qos/qos_record_node.c
1467 qos/qos_store_node.c
1472 list(APPEND VNET_MULTIARCH_SOURCES
1473 qos/qos_record_node.c
1477 list(APPEND VNET_API_FILES qos/qos.api)
1479 ##############################################################################
1481 ##############################################################################
1483 list(APPEND VNET_SOURCES
1484 bier/bier_bit_string.c
1487 bier/bier_fmask_db.c
1496 bier/bier_imp_node.c
1498 bier/bier_disp_entry.c
1499 bier/bier_disp_lookup_node.c
1500 bier/bier_disp_dispatch_node.c
1501 bier/bier_disp_table.c
1502 bier/bier_bift_table.c
1505 list(APPEND VNET_MULTIARCH_SOURCES
1506 bier/bier_disp_dispatch_node.c
1507 bier/bier_disp_lookup_node.c
1508 bier/bier_imp_node.c
1511 list(APPEND VNET_HEADERS
1518 list(APPEND VNET_API_FILES bier/bier.api)
1520 ##############################################################################
1522 ##############################################################################
1524 list (APPEND VNET_SOURCES
1530 list(APPEND VNET_HEADERS
1535 list(APPEND VNET_API_FILES syslog/syslog.api)
1537 ##############################################################################
1538 # Tunnel Endpoint Information Base
1539 ##############################################################################
1541 list (APPEND VNET_SOURCES
1547 list(APPEND VNET_HEADERS
1551 list(APPEND VNET_API_FILES teib/teib.api)
1553 ##############################################################################
1555 ##############################################################################
1557 list (APPEND VNET_SOURCES
1563 list(APPEND VNET_HEADERS
1567 list(APPEND VNET_API_FILES arp/arp.api)
1569 list (APPEND VNET_SOURCES
1573 ip6-nd/ip6_nd_proxy.c
1579 list(APPEND VNET_HEADERS
1583 list(APPEND VNET_API_FILES
1588 ##############################################################################
1590 ##############################################################################
1592 add_vpp_library(vnet
1593 SOURCES ${VNET_SOURCES}
1594 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1595 INSTALL_HEADERS ${VNET_HEADERS}
1596 API_FILES ${VNET_API_FILES}
1597 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1598 DEPENDS vpp_version_h api_headers
1601 ##############################################################################
1602 # vpp api test client library
1603 ##############################################################################
1605 add_vpp_library (vatclient
1606 SOURCES ip/ip_types_api.c
1610 ##############################################################################