1 # Copyright (c) 2018 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
72 list(APPEND VNET_API_FILES
78 ##############################################################################
80 ##############################################################################
81 list(APPEND VNET_SOURCES
88 list(APPEND VNET_MULTIARCH_SOURCES
92 list(APPEND VNET_HEADERS
98 list(APPEND VNET_API_FILES policer/policer.api)
100 ##############################################################################
102 ##############################################################################
103 list(APPEND VNET_SOURCES
111 list(APPEND VNET_MULTIARCH_SOURCES
117 list(APPEND VNET_HEADERS
121 list(APPEND VNET_API_FILES cop/cop.api)
123 ##############################################################################
124 # Layer 2 protocols go here
125 ##############################################################################
127 ##############################################################################
128 # Layer 2 protocol: Ethernet
129 ##############################################################################
130 list(APPEND VNET_SOURCES
131 ethernet/arp_packet.c
132 ethernet/ethernet_types_api.c
136 ethernet/mac_address.c
140 ethernet/p2p_ethernet.c
141 ethernet/p2p_ethernet_input.c
142 ethernet/p2p_ethernet_api.c
145 list(APPEND VNET_MULTIARCH_SOURCES
147 ethernet/p2p_ethernet_input.c
150 list(APPEND VNET_HEADERS
153 ethernet/mac_address.h
157 ethernet/p2p_ethernet.h
158 ethernet/arp_packet.h
161 list(APPEND VNET_API_FILES
162 ethernet/p2p_ethernet.api
163 ethernet/ethernet_types.api)
165 ##############################################################################
166 # Layer 2 protocol: Ethernet bridging
167 ##############################################################################
168 list(APPEND VNET_SOURCES
175 l2/l2_input_classify.c
176 l2/l2_output_classify.c
186 l2/l2_in_out_feat_arc.c
194 list(APPEND VNET_MULTIARCH_SOURCES
200 l2/l2_in_out_feat_arc.c
201 l2/l2_input_classify.c
203 l2/l2_output_classify.c
213 list(APPEND VNET_HEADERS
230 list(APPEND VNET_API_FILES l2/l2.api)
232 ##############################################################################
233 # Layer 2 protocol: SRP
234 ##############################################################################
235 list(APPEND VNET_SOURCES
242 list(APPEND VNET_HEADERS
247 ##############################################################################
248 # Layer 2 protocol: PPP
249 ##############################################################################
250 list(APPEND VNET_SOURCES
256 list(APPEND VNET_HEADERS
262 ##############################################################################
263 # Layer 2 protocol: HDLC
264 ##############################################################################
265 list(APPEND VNET_SOURCES
271 list(APPEND VNET_HEADERS
277 ##############################################################################
278 # Layer 2 protocol: LLC
279 ##############################################################################
280 list(APPEND VNET_SOURCES
286 list(APPEND VNET_HEADERS
290 ##############################################################################
291 # Layer 2 protocol: SNAP
292 ##############################################################################
293 list(APPEND VNET_SOURCES
299 list(APPEND VNET_HEADERS
303 ##############################################################################
305 ##############################################################################
306 list(APPEND VNET_SOURCES
313 list(APPEND VNET_MULTIARCH_SOURCES
317 list(APPEND VNET_HEADERS
320 vxlan/vxlan_error.def
323 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
325 list(APPEND VNET_API_FILES vxlan/vxlan.api)
327 ##############################################################################
329 ##############################################################################
330 list(APPEND VNET_SOURCES
337 list(APPEND VNET_MULTIARCH_SOURCES
342 list(APPEND VNET_HEADERS
344 geneve/geneve_packet.h
345 geneve/geneve_error.def
348 list(APPEND VNET_API_FILES geneve/geneve.api)
350 ##############################################################################
352 ##############################################################################
353 list(APPEND VNET_SOURCES
360 list(APPEND VNET_HEADERS
364 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
365 list(APPEND VNET_API_FILES bonding/bond.api)
367 ##############################################################################
369 ##############################################################################
370 list(APPEND VNET_SOURCES
378 list(APPEND VNET_HEADERS
383 list(APPEND VNET_API_FILES lldp/lldp.api)
385 ##############################################################################
386 # Layer 2/3 "classify"
387 ##############################################################################
388 list(APPEND VNET_SOURCES
389 classify/vnet_classify.c
390 classify/trace_classify.h
391 classify/ip_classify.c
392 classify/in_out_acl.c
393 classify/policer_classify.c
394 classify/flow_classify.c
395 classify/flow_classify_node.c
396 classify/vnet_classify.h
397 classify/classify_api.c
400 list(APPEND VNET_MULTIARCH_SOURCES
401 classify/ip_classify.c
402 classify/flow_classify_node.c
405 list(APPEND VNET_HEADERS
406 classify/vnet_classify.h
407 classify/trace_classify.h
408 classify/in_out_acl.h
409 classify/policer_classify.h
410 classify/flow_classify.h
413 list(APPEND VNET_API_FILES classify/classify.api)
415 ##############################################################################
416 # Layer 3 protocols go here
417 ##############################################################################
419 ##############################################################################
420 # Layer 3 protocol: IP v4/v6
421 ##############################################################################
422 list(APPEND VNET_SOURCES
436 ip/ip4_source_and_port_range_check.c
437 ip/ip4_source_check.c
438 ip/reass/ip4_full_reass.c
439 ip/reass/ip4_sv_reass.c
449 ip/reass/ip6_full_reass.c
450 ip/reass/ip6_sv_reass.c
465 list(APPEND VNET_MULTIARCH_SOURCES
466 ip/ip4_source_check.c
468 ip/reass/ip4_full_reass.c
470 ip/reass/ip6_full_reass.c
471 ip/reass/ip4_sv_reass.c
473 ip/reass/ip6_full_reass.c
474 ip/reass/ip6_sv_reass.c
481 list(APPEND VNET_HEADERS
495 ip/ip6_hop_by_hop_packet.h
499 ip/ip_source_and_port_range_check.h
508 list(APPEND VNET_API_FILES
513 list(APPEND VNET_MULTIARCH_SOURCES
519 ##############################################################################
521 ##############################################################################
522 list(APPEND VNET_SOURCES
523 ip-neighbor/ip_neighbor.c
524 ip-neighbor/ip_neighbor_api.c
525 ip-neighbor/ip_neighbor_dp.c
526 ip-neighbor/ip_neighbor_types.c
527 ip-neighbor/ip_neighbor_watch.c
528 ip-neighbor/ip4_neighbor.c
529 ip-neighbor/ip6_neighbor.c
532 list(APPEND VNET_HEADERS
533 ip-neighbor/ip_neighbor.h
534 ip-neighbor/ip_neighbor_types.h
537 list(APPEND VNET_API_FILES
538 ip-neighbor/ip_neighbor.api
541 ##############################################################################
542 # Bidirectional Forwarding Detection
543 ##############################################################################
545 list(APPEND VNET_HEADERS
552 list(APPEND VNET_SOURCES
561 list(APPEND VNET_API_FILES bfd/bfd.api)
563 ##############################################################################
565 ##############################################################################
567 list(APPEND VNET_SOURCES
573 list(APPEND VNET_HEADERS
577 ##############################################################################
578 # Layer 3 protocol: IPSec
579 ##############################################################################
580 list(APPEND VNET_SOURCES
584 ipsec/ipsec_handoff.c
589 ipsec/ipsec_spd_policy.c
598 ipsec/ipsec_types_api.c
601 list(APPEND VNET_MULTIARCH_SOURCES
606 ipsec/ipsec_handoff.c
612 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
613 list(APPEND VNET_API_FILES ipsec/ipsec.api)
615 list(APPEND VNET_SOURCES
619 list(APPEND VNET_HEADERS
622 ipsec/ipsec_spd_policy.h
625 ipsec/ipsec_types_api.h
631 ##############################################################################
632 # Layer 3 protocol: osi
633 ##############################################################################
634 list(APPEND VNET_SOURCES
640 list(APPEND VNET_HEADERS
644 ##############################################################################
645 # Layer 4 protocol: tcp
646 ##############################################################################
647 list(APPEND VNET_SOURCES
651 tcp/tcp_syn_filter4.c
661 list(APPEND VNET_MULTIARCH_SOURCES
664 tcp/tcp_syn_filter4.c
667 list(APPEND VNET_HEADERS
675 list(APPEND VNET_API_FILES tcp/tcp.api)
677 ##############################################################################
678 # Layer 4 protocol: udp
679 ##############################################################################
680 list(APPEND VNET_SOURCES
691 list(APPEND VNET_MULTIARCH_SOURCES
696 list(APPEND VNET_HEADERS
702 list(APPEND VNET_API_FILES udp/udp.api)
704 ##############################################################################
705 # Tunnel protocol: gre
706 ##############################################################################
707 list(APPEND VNET_SOURCES
715 list(APPEND VNET_MULTIARCH_SOURCES
720 list(APPEND VNET_HEADERS
726 list(APPEND VNET_API_FILES gre/gre.api)
728 ##############################################################################
729 # Tunnel protocol: ipip
730 ##############################################################################
731 list(APPEND VNET_SOURCES
737 ipip/ipip_types_api.c
740 list(APPEND VNET_MULTIARCH_SOURCES
744 list(APPEND VNET_HEADERS
746 ipip/ipip_types_api.h
749 list(APPEND VNET_API_FILES
754 ##############################################################################
755 # Tunnel protocol: l2tpv3
756 ##############################################################################
757 list(APPEND VNET_SOURCES
765 list(APPEND VNET_MULTIARCH_SOURCES
770 list(APPEND VNET_HEADERS
775 list(APPEND VNET_API_FILES l2tp/l2tp.api)
777 ##############################################################################
778 # Tunnel protocol: gre+mpls
779 ##############################################################################
780 list(APPEND VNET_SOURCES
792 list(APPEND VNET_MULTIARCH_SOURCES
799 list(APPEND VNET_HEADERS
807 list(APPEND VNET_API_FILES mpls/mpls.api)
809 ##############################################################################
810 # Tunnel protocol: vxlan-gbp
811 ##############################################################################
812 list(APPEND VNET_SOURCES
815 vxlan-gbp/vxlan_gbp_api.c
816 vxlan-gbp/vxlan_gbp.c
817 vxlan-gbp/vxlan_gbp_packet.c
820 list (APPEND VNET_MULTIARCH_SOURCES
825 list(APPEND VNET_HEADERS
826 vxlan-gbp/vxlan_gbp.h
827 vxlan-gbp/vxlan_gbp_packet.h
828 vxlan-gbp/vxlan_gbp_error.def
831 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
833 ##############################################################################
834 # Tunnel protocol: vxlan-gpe
835 ##############################################################################
837 list(APPEND VNET_SOURCES
838 vxlan-gpe/vxlan_gpe.c
841 vxlan-gpe/vxlan_gpe_api.c
844 list (APPEND VNET_MULTIARCH_SOURCES
848 list(APPEND VNET_HEADERS
849 vxlan-gpe/vxlan_gpe.h
850 vxlan-gpe/vxlan_gpe_packet.h
851 vxlan-gpe/vxlan_gpe_error.def
854 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
856 ##############################################################################
857 # LISP control plane: lisp-cp
858 ##############################################################################
860 list(APPEND VNET_SOURCES
862 lisp-cp/lisp_cp_dpo.c
864 lisp-cp/gid_dictionary.c
865 lisp-cp/lisp_msg_serdes.c
873 list(APPEND VNET_HEADERS
876 lisp-cp/gid_dictionary.h
877 lisp-cp/lisp_cp_messages.h
878 lisp-cp/lisp_msg_serdes.h
882 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
883 list(APPEND VNET_API_FILES lisp-cp/one.api)
885 ##############################################################################
886 # Tunnel protocol: lisp-gpe
887 ##############################################################################
889 list(APPEND VNET_SOURCES
891 lisp-gpe/lisp_gpe_sub_interface.c
892 lisp-gpe/lisp_gpe_adjacency.c
893 lisp-gpe/lisp_gpe_tunnel.c
894 lisp-gpe/lisp_gpe_fwd_entry.c
895 lisp-gpe/lisp_gpe_tenant.c
898 lisp-gpe/lisp_gpe_api.c
901 list(APPEND VNET_HEADERS
903 lisp-gpe/lisp_gpe_fwd_entry.h
904 lisp-gpe/lisp_gpe_tenant.h
905 lisp-gpe/lisp_gpe_packet.h
906 lisp-gpe/lisp_gpe_error.def
909 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
911 ##############################################################################
912 # ipv6 segment routing
913 ##############################################################################
915 list(APPEND VNET_SOURCES
918 srv6/sr_policy_rewrite.c
923 list(APPEND VNET_HEADERS
928 list(APPEND VNET_API_FILES srv6/sr.api)
930 ##############################################################################
931 # mpls segment routing
932 ##############################################################################
934 list(APPEND VNET_SOURCES
935 srmpls/sr_mpls_policy.c
936 srmpls/sr_mpls_steering.c
940 list(APPEND VNET_HEADERS
944 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
946 ##############################################################################
947 # IPFIX / netflow v10
948 ##############################################################################
949 list(APPEND VNET_SOURCES
950 ipfix-export/flow_report.c
951 ipfix-export/flow_api.c
954 list(APPEND VNET_HEADERS
955 ipfix-export/flow_report.h
956 ipfix-export/ipfix_info_elements.h
957 ipfix-export/ipfix_packet.h
960 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
962 ##############################################################################
964 ##############################################################################
965 list(APPEND VNET_SOURCES
972 list(APPEND VNET_HEADERS
976 list(APPEND VNET_API_FILES
980 ##############################################################################
981 # IPFIX classify code
982 ##############################################################################
984 list(APPEND VNET_SOURCES
985 ipfix-export/flow_report_classify.c
988 list(APPEND VNET_HEADERS
989 ipfix-export/flow_report_classify.h
992 ##############################################################################
994 ##############################################################################
996 list(APPEND VNET_SOURCES
997 lawful-intercept/lawful_intercept.c
998 lawful-intercept/node.c
1001 list(APPEND VNET_MULTIARCH_SOURCES
1002 lawful-intercept/node.c
1005 list(APPEND VNET_HEADERS
1006 lawful-intercept/lawful_intercept.h
1009 ##############################################################################
1010 # SPAN (port mirroring)
1011 ##############################################################################
1013 list(APPEND VNET_SOURCES
1019 list(APPEND VNET_MULTIARCH_SOURCES
1023 list(APPEND VNET_HEADERS
1027 list(APPEND VNET_API_FILES span/span.api)
1029 ##############################################################################
1031 ##############################################################################
1033 list(APPEND VNET_SOURCES
1043 list(APPEND VNET_HEADERS
1048 list(APPEND VNET_API_FILES pg/pg.api)
1050 ##############################################################################
1052 ##############################################################################
1054 list(APPEND VNET_SOURCES
1055 devices/virtio/cli.c
1056 devices/virtio/device.c
1057 devices/virtio/format.c
1058 devices/virtio/node.c
1059 devices/virtio/pci.c
1060 devices/virtio/vhost_user.c
1061 devices/virtio/vhost_user_input.c
1062 devices/virtio/vhost_user_output.c
1063 devices/virtio/vhost_user_api.c
1064 devices/virtio/virtio.c
1065 devices/virtio/virtio_api.c
1066 devices/virtio/virtio_types_api.c
1069 list(APPEND VNET_HEADERS
1070 devices/virtio/pci.h
1071 devices/virtio/virtio.h
1072 devices/virtio/vhost_user.h
1073 devices/virtio/virtio_types_api.h
1076 list(APPEND VNET_MULTIARCH_SOURCES
1077 devices/virtio/vhost_user_input.c
1078 devices/virtio/vhost_user_output.c
1079 devices/netmap/node.c
1080 devices/virtio/node.c
1081 devices/af_packet/node.c
1082 devices/virtio/device.c
1085 list(APPEND VNET_API_FILES
1086 devices/virtio/vhost_user.api
1087 devices/virtio/virtio.api
1088 devices/virtio/virtio_types.api
1091 ##############################################################################
1092 # tap interface (with virtio backend)
1093 ##############################################################################
1095 list(APPEND VNET_SOURCES
1098 devices/tap/tapv2_api.c
1101 list(APPEND VNET_HEADERS
1105 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1107 ##############################################################################
1108 # tap interface (with virtio backend)
1109 ##############################################################################
1111 list(APPEND VNET_SOURCES
1112 devices/pipe/pipe_api.c
1116 list(APPEND VNET_HEADERS
1120 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1122 ##############################################################################
1123 # session managmeent
1124 ##############################################################################
1126 list(APPEND VNET_SOURCES
1128 session/session_table.c
1129 session/session_rules_table.c
1130 session/session_lookup.c
1131 session/session_node.c
1133 session/application.c
1134 session/application_worker.c
1135 session/session_cli.c
1136 session/application_interface.c
1137 session/application_local.c
1138 session/application_namespace.c
1139 session/segment_manager.c
1140 session/session_api.c
1143 list(APPEND VNET_HEADERS
1145 session/session_table.h
1146 session/session_rules_table.h
1147 session/session_types.h
1148 session/session_lookup.h
1149 session/application.h
1151 session/transport_types.h
1152 session/application_interface.h
1153 session/application_local.h
1154 session/application_namespace.h
1155 session/session_debug.h
1156 session/segment_manager.h
1157 session/mma_template.h
1158 session/mma_template.c
1163 list(APPEND VNET_API_FILES session/session.api)
1165 ##############################################################################
1167 ##############################################################################
1169 list(APPEND VNET_SOURCES
1173 list(APPEND VNET_HEADERS
1178 ##############################################################################
1179 # Linux packet interface
1180 ##############################################################################
1182 list(APPEND VNET_SOURCES
1183 devices/af_packet/af_packet.c
1184 devices/af_packet/device.c
1185 devices/af_packet/node.c
1186 devices/af_packet/cli.c
1187 devices/af_packet/af_packet_api.c
1190 list(APPEND VNET_MULTIARCH_SOURCES
1191 devices/netmap/device.c
1192 devices/af_packet/device.c
1195 list(APPEND VNET_HEADERS
1196 devices/af_packet/af_packet.h
1199 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1201 ##############################################################################
1203 ##############################################################################
1205 list(APPEND VNET_SOURCES
1206 devices/netmap/netmap.c
1207 devices/netmap/device.c
1208 devices/netmap/node.c
1209 devices/netmap/cli.c
1210 devices/netmap/netmap_api.c
1213 list(APPEND VNET_HEADERS
1214 devices/netmap/netmap.h
1217 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1219 ##############################################################################
1220 # Driver feature graph arc support
1221 ##############################################################################
1223 list(APPEND VNET_SOURCES
1225 feature/feature_api.c
1226 feature/registration.c
1229 list(APPEND VNET_HEADERS
1233 list(APPEND VNET_API_FILES feature/feature.api)
1235 ##############################################################################
1236 # Unix kernel related
1237 ##############################################################################
1239 # FIXME: unix/hgshm.c
1241 list(APPEND VNET_SOURCES
1246 list(APPEND VNET_HEADERS
1250 ##############################################################################
1252 ##############################################################################
1254 list(APPEND VNET_SOURCES
1266 fib/fib_entry_src_adj.c
1267 fib/fib_entry_src_api.c
1268 fib/fib_entry_src_drop.c
1269 fib/fib_entry_src_interface.c
1270 fib/fib_entry_src_interpose.c
1271 fib/fib_entry_src_lisp.c
1272 fib/fib_entry_src_mpls.c
1273 fib/fib_entry_src_simple.c
1274 fib/fib_entry_src_rr.c
1275 fib/fib_entry_cover.c
1276 fib/fib_entry_delegate.c
1277 fib/fib_entry_track.c
1283 fib/fib_attached_export.c
1288 list(APPEND VNET_HEADERS
1298 fib/fib_entry_delegate.h
1302 list(APPEND VNET_API_FILES fib/fib_types.api)
1304 ##############################################################################
1306 ##############################################################################
1308 list(APPEND VNET_SOURCES
1312 adj/adj_midchain_delegate.c
1322 list(APPEND VNET_MULTIARCH_SOURCES
1327 list(APPEND VNET_HEADERS
1337 ##############################################################################
1338 # Data-Plane Objects
1339 ##############################################################################
1341 list(APPEND VNET_SOURCES
1349 dpo/load_balance_map.c
1353 dpo/interface_rx_dpo.c
1354 dpo/interface_tx_dpo.c
1355 dpo/mpls_disposition.c
1356 dpo/mpls_label_dpo.c
1362 list(APPEND VNET_MULTIARCH_SOURCES
1364 dpo/mpls_disposition.c
1366 dpo/mpls_label_dpo.c
1367 dpo/interface_rx_dpo.c
1370 list(APPEND VNET_HEADERS
1382 ##############################################################################
1384 ##############################################################################
1386 list(APPEND VNET_SOURCES
1396 mfib/mfib_entry_cover.c
1397 mfib/mfib_entry_delegate.c
1398 mfib/mfib_entry_src.c
1399 mfib/mfib_entry_src_rr.c
1403 list(APPEND VNET_MULTIARCH_SOURCES
1407 list(APPEND VNET_HEADERS
1413 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1415 ##############################################################################
1417 ##############################################################################
1419 list(APPEND VNET_SOURCES
1426 list(APPEND VNET_HEADERS
1430 ##############################################################################
1432 ##############################################################################
1434 list(APPEND VNET_SOURCES
1437 qos/qos_egress_map.c
1439 qos/qos_record_node.c
1441 qos/qos_store_node.c
1446 list(APPEND VNET_MULTIARCH_SOURCES
1447 qos/qos_record_node.c
1451 list(APPEND VNET_API_FILES qos/qos.api)
1453 ##############################################################################
1455 ##############################################################################
1457 list(APPEND VNET_SOURCES
1458 bier/bier_bit_string.c
1461 bier/bier_fmask_db.c
1470 bier/bier_imp_node.c
1472 bier/bier_disp_entry.c
1473 bier/bier_disp_lookup_node.c
1474 bier/bier_disp_dispatch_node.c
1475 bier/bier_disp_table.c
1476 bier/bier_bift_table.c
1479 list(APPEND VNET_MULTIARCH_SOURCES
1480 bier/bier_disp_dispatch_node.c
1481 bier/bier_disp_lookup_node.c
1482 bier/bier_imp_node.c
1485 list(APPEND VNET_HEADERS
1492 list(APPEND VNET_API_FILES bier/bier.api)
1494 ##############################################################################
1496 ##############################################################################
1498 list (APPEND VNET_SOURCES
1504 list(APPEND VNET_HEADERS
1509 list(APPEND VNET_API_FILES syslog/syslog.api)
1511 ##############################################################################
1513 ##############################################################################
1515 list (APPEND VNET_SOURCES
1519 list(APPEND VNET_HEADERS
1523 list(APPEND VNET_API_FILES pci/pci_types.api)
1525 ##############################################################################
1527 ##############################################################################
1529 list (APPEND VNET_SOURCES
1535 list(APPEND VNET_HEADERS
1539 list(APPEND VNET_API_FILES nhrp/nhrp.api)
1541 ##############################################################################
1543 ##############################################################################
1545 list (APPEND VNET_SOURCES
1551 list(APPEND VNET_HEADERS
1555 list(APPEND VNET_API_FILES arp/arp.api)
1557 list (APPEND VNET_SOURCES
1561 ip6-nd/ip6_nd_proxy.c
1567 list(APPEND VNET_HEADERS
1571 list(APPEND VNET_API_FILES
1576 ##############################################################################
1578 ##############################################################################
1580 add_vpp_library(vnet
1581 SOURCES ${VNET_SOURCES}
1582 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1583 INSTALL_HEADERS ${VNET_HEADERS}
1584 API_FILES ${VNET_API_FILES}
1585 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1586 DEPENDS vpp_version_h api_headers
1589 ##############################################################################
1590 # vpp api test client library
1591 ##############################################################################
1593 add_vpp_library (vatclient
1594 SOURCES ip/ip_types_api.c
1598 ##############################################################################