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_std.h
1115 devices/virtio/virtio_pci_legacy.h
1116 devices/virtio/virtio_pci_modern.h
1117 devices/virtio/vhost_std.h
1118 devices/virtio/vhost_user.h
1119 devices/virtio/virtio_types_api.h
1122 list(APPEND VNET_MULTIARCH_SOURCES
1123 devices/virtio/vhost_user_input.c
1124 devices/virtio/vhost_user_output.c
1125 devices/virtio/node.c
1126 devices/af_packet/node.c
1127 devices/virtio/device.c
1130 list(APPEND VNET_API_FILES
1131 devices/virtio/vhost_user.api
1132 devices/virtio/virtio.api
1133 devices/virtio/virtio_types.api
1136 ##############################################################################
1137 # tap interface (with virtio backend)
1138 ##############################################################################
1140 list(APPEND VNET_SOURCES
1143 devices/tap/tapv2_api.c
1146 list(APPEND VNET_HEADERS
1150 list(APPEND VNET_API_FILES
1151 devices/tap/tapv2.api
1154 ##############################################################################
1155 # tap interface (with virtio backend)
1156 ##############################################################################
1158 list(APPEND VNET_SOURCES
1159 devices/pipe/pipe_api.c
1163 list(APPEND VNET_HEADERS
1167 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1169 ##############################################################################
1170 # session managmeent
1171 ##############################################################################
1173 list(APPEND VNET_SOURCES
1175 session/session_debug.c
1176 session/session_table.c
1177 session/session_rules_table.c
1178 session/session_lookup.c
1179 session/session_node.c
1181 session/application.c
1182 session/application_worker.c
1183 session/session_cli.c
1184 session/application_interface.c
1185 session/application_local.c
1186 session/application_namespace.c
1187 session/segment_manager.c
1188 session/session_api.c
1191 list(APPEND VNET_HEADERS
1193 session/session_table.h
1194 session/session_rules_table.h
1195 session/session_types.h
1196 session/session_lookup.h
1197 session/application.h
1199 session/transport_types.h
1200 session/application_interface.h
1201 session/application_local.h
1202 session/application_namespace.h
1203 session/session_debug.h
1204 session/segment_manager.h
1205 session/mma_template.h
1206 session/mma_template.c
1211 list(APPEND VNET_API_FILES session/session.api)
1213 ##############################################################################
1215 ##############################################################################
1217 list(APPEND VNET_SOURCES
1221 list(APPEND VNET_HEADERS
1226 ##############################################################################
1227 # Linux packet interface
1228 ##############################################################################
1230 list(APPEND VNET_SOURCES
1231 devices/af_packet/af_packet.c
1232 devices/af_packet/device.c
1233 devices/af_packet/node.c
1234 devices/af_packet/cli.c
1235 devices/af_packet/af_packet_api.c
1238 list(APPEND VNET_MULTIARCH_SOURCES
1239 devices/af_packet/device.c
1242 list(APPEND VNET_HEADERS
1243 devices/af_packet/af_packet.h
1246 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1248 ##############################################################################
1249 # Driver feature graph arc support
1250 ##############################################################################
1252 list(APPEND VNET_SOURCES
1254 feature/feature_api.c
1255 feature/registration.c
1258 list(APPEND VNET_HEADERS
1262 list(APPEND VNET_API_FILES feature/feature.api)
1264 ##############################################################################
1265 # Unix kernel related
1266 ##############################################################################
1268 # FIXME: unix/hgshm.c
1270 list(APPEND VNET_SOURCES
1275 list(APPEND VNET_HEADERS
1279 ##############################################################################
1281 ##############################################################################
1283 list(APPEND VNET_SOURCES
1295 fib/fib_entry_src_adj.c
1296 fib/fib_entry_src_api.c
1297 fib/fib_entry_src_drop.c
1298 fib/fib_entry_src_interface.c
1299 fib/fib_entry_src_interpose.c
1300 fib/fib_entry_src_lisp.c
1301 fib/fib_entry_src_mpls.c
1302 fib/fib_entry_src_simple.c
1303 fib/fib_entry_src_rr.c
1304 fib/fib_entry_cover.c
1305 fib/fib_entry_delegate.c
1306 fib/fib_entry_track.c
1312 fib/fib_attached_export.c
1317 list(APPEND VNET_HEADERS
1327 fib/fib_entry_delegate.h
1331 list(APPEND VNET_API_FILES fib/fib_types.api)
1333 ##############################################################################
1335 ##############################################################################
1337 list(APPEND VNET_SOURCES
1341 adj/adj_midchain_delegate.c
1351 list(APPEND VNET_MULTIARCH_SOURCES
1357 list(APPEND VNET_HEADERS
1367 ##############################################################################
1368 # Data-Plane Objects
1369 ##############################################################################
1371 list(APPEND VNET_SOURCES
1379 dpo/load_balance_map.c
1383 dpo/interface_rx_dpo.c
1384 dpo/interface_tx_dpo.c
1385 dpo/mpls_disposition.c
1386 dpo/mpls_label_dpo.c
1392 list(APPEND VNET_MULTIARCH_SOURCES
1394 dpo/mpls_disposition.c
1396 dpo/mpls_label_dpo.c
1397 dpo/interface_rx_dpo.c
1400 list(APPEND VNET_HEADERS
1412 ##############################################################################
1414 ##############################################################################
1416 list(APPEND VNET_SOURCES
1426 mfib/mfib_entry_cover.c
1427 mfib/mfib_entry_delegate.c
1428 mfib/mfib_entry_src.c
1429 mfib/mfib_entry_src_rr.c
1433 list(APPEND VNET_MULTIARCH_SOURCES
1437 list(APPEND VNET_HEADERS
1443 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1445 ##############################################################################
1447 ##############################################################################
1449 list(APPEND VNET_SOURCES
1456 list(APPEND VNET_HEADERS
1460 ##############################################################################
1462 ##############################################################################
1464 list(APPEND VNET_SOURCES
1467 qos/qos_egress_map.c
1469 qos/qos_record_node.c
1471 qos/qos_store_node.c
1476 list(APPEND VNET_MULTIARCH_SOURCES
1477 qos/qos_record_node.c
1481 list(APPEND VNET_API_FILES qos/qos.api)
1483 ##############################################################################
1485 ##############################################################################
1487 list(APPEND VNET_SOURCES
1488 bier/bier_bit_string.c
1491 bier/bier_fmask_db.c
1500 bier/bier_imp_node.c
1502 bier/bier_disp_entry.c
1503 bier/bier_disp_lookup_node.c
1504 bier/bier_disp_dispatch_node.c
1505 bier/bier_disp_table.c
1506 bier/bier_bift_table.c
1509 list(APPEND VNET_MULTIARCH_SOURCES
1510 bier/bier_disp_dispatch_node.c
1511 bier/bier_disp_lookup_node.c
1512 bier/bier_imp_node.c
1515 list(APPEND VNET_HEADERS
1522 list(APPEND VNET_API_FILES bier/bier.api)
1524 ##############################################################################
1526 ##############################################################################
1528 list (APPEND VNET_SOURCES
1534 list(APPEND VNET_HEADERS
1539 list(APPEND VNET_API_FILES syslog/syslog.api)
1541 ##############################################################################
1542 # Tunnel Endpoint Information Base
1543 ##############################################################################
1545 list (APPEND VNET_SOURCES
1551 list(APPEND VNET_HEADERS
1555 list(APPEND VNET_API_FILES teib/teib.api)
1557 ##############################################################################
1559 ##############################################################################
1561 list (APPEND VNET_SOURCES
1567 list(APPEND VNET_HEADERS
1571 list(APPEND VNET_API_FILES arp/arp.api)
1573 list (APPEND VNET_SOURCES
1577 ip6-nd/ip6_nd_proxy.c
1583 list(APPEND VNET_HEADERS
1587 list(APPEND VNET_API_FILES
1592 ##############################################################################
1594 ##############################################################################
1596 add_vpp_library(vnet
1597 SOURCES ${VNET_SOURCES}
1598 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1599 INSTALL_HEADERS ${VNET_HEADERS}
1600 API_FILES ${VNET_API_FILES}
1601 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1602 DEPENDS vpp_version_h api_headers
1605 ##############################################################################
1606 # vpp api test client library
1607 ##############################################################################
1609 add_vpp_library (vatclient
1610 SOURCES ip/ip_types_api.c
1614 ##############################################################################