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 ethernet/ethernet_format_fns.h
75 list(APPEND VNET_API_FILES
81 ##############################################################################
83 ##############################################################################
84 list(APPEND VNET_SOURCES
91 list(APPEND VNET_MULTIARCH_SOURCES
95 list(APPEND VNET_HEADERS
101 list(APPEND VNET_API_FILES
103 policer/policer_types.api
106 ##############################################################################
108 ##############################################################################
109 list(APPEND VNET_SOURCES
117 list(APPEND VNET_MULTIARCH_SOURCES
123 list(APPEND VNET_HEADERS
127 list(APPEND VNET_API_FILES cop/cop.api)
129 ##############################################################################
130 # Layer 2 protocols go here
131 ##############################################################################
133 ##############################################################################
134 # Layer 2 protocol: Ethernet
135 ##############################################################################
136 list(APPEND VNET_SOURCES
137 ethernet/arp_packet.c
138 ethernet/ethernet_types_api.c
142 ethernet/mac_address.c
146 ethernet/p2p_ethernet.c
147 ethernet/p2p_ethernet_input.c
148 ethernet/p2p_ethernet_api.c
151 list(APPEND VNET_MULTIARCH_SOURCES
153 ethernet/p2p_ethernet_input.c
156 list(APPEND VNET_HEADERS
159 ethernet/mac_address.h
163 ethernet/p2p_ethernet.h
164 ethernet/arp_packet.h
167 list(APPEND VNET_API_FILES
168 ethernet/p2p_ethernet.api
169 ethernet/ethernet_types.api)
171 ##############################################################################
172 # Layer 2 protocol: Ethernet bridging
173 ##############################################################################
174 list(APPEND VNET_SOURCES
181 l2/l2_input_classify.c
182 l2/l2_output_classify.c
192 l2/l2_in_out_feat_arc.c
200 list(APPEND VNET_MULTIARCH_SOURCES
206 l2/l2_in_out_feat_arc.c
207 l2/l2_input_classify.c
209 l2/l2_output_classify.c
219 list(APPEND VNET_HEADERS
236 list(APPEND VNET_API_FILES l2/l2.api)
238 ##############################################################################
239 # Layer 2 protocol: SRP
240 ##############################################################################
241 list(APPEND VNET_SOURCES
248 list(APPEND VNET_HEADERS
253 ##############################################################################
254 # Layer 2 protocol: PPP
255 ##############################################################################
256 list(APPEND VNET_SOURCES
262 list(APPEND VNET_HEADERS
268 ##############################################################################
269 # Layer 2 protocol: HDLC
270 ##############################################################################
271 list(APPEND VNET_SOURCES
277 list(APPEND VNET_HEADERS
283 ##############################################################################
284 # Layer 2 protocol: LLC
285 ##############################################################################
286 list(APPEND VNET_SOURCES
292 list(APPEND VNET_HEADERS
296 ##############################################################################
297 # Layer 2 protocol: SNAP
298 ##############################################################################
299 list(APPEND VNET_SOURCES
305 list(APPEND VNET_HEADERS
309 ##############################################################################
311 ##############################################################################
312 list(APPEND VNET_SOURCES
319 list(APPEND VNET_MULTIARCH_SOURCES
323 list(APPEND VNET_HEADERS
326 vxlan/vxlan_error.def
329 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
331 list(APPEND VNET_API_FILES vxlan/vxlan.api)
333 ##############################################################################
335 ##############################################################################
336 list(APPEND VNET_SOURCES
343 list(APPEND VNET_MULTIARCH_SOURCES
348 list(APPEND VNET_HEADERS
350 geneve/geneve_packet.h
351 geneve/geneve_error.def
354 list(APPEND VNET_API_FILES geneve/geneve.api)
356 ##############################################################################
358 ##############################################################################
359 list(APPEND VNET_SOURCES
366 list(APPEND VNET_HEADERS
370 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
371 list(APPEND VNET_API_FILES bonding/bond.api)
373 ##############################################################################
375 ##############################################################################
376 list(APPEND VNET_SOURCES
384 list(APPEND VNET_HEADERS
389 list(APPEND VNET_API_FILES lldp/lldp.api)
391 ##############################################################################
392 # Layer 2/3 "classify"
393 ##############################################################################
394 list(APPEND VNET_SOURCES
395 classify/vnet_classify.c
396 classify/trace_classify.h
397 classify/ip_classify.c
398 classify/in_out_acl.c
399 classify/policer_classify.c
400 classify/flow_classify.c
401 classify/flow_classify_node.c
402 classify/vnet_classify.h
403 classify/classify_api.c
406 list(APPEND VNET_MULTIARCH_SOURCES
407 classify/ip_classify.c
408 classify/flow_classify_node.c
411 list(APPEND VNET_HEADERS
412 classify/vnet_classify.h
413 classify/trace_classify.h
414 classify/in_out_acl.h
415 classify/policer_classify.h
416 classify/flow_classify.h
419 list(APPEND VNET_API_FILES classify/classify.api)
421 ##############################################################################
422 # Layer 3 protocols go here
423 ##############################################################################
425 ##############################################################################
426 # Layer 3 protocol: IP v4/v6
427 ##############################################################################
428 list(APPEND VNET_SOURCES
442 ip/ip4_source_and_port_range_check.c
443 ip/ip4_source_check.c
444 ip/reass/ip4_full_reass.c
445 ip/reass/ip4_sv_reass.c
455 ip/reass/ip6_full_reass.c
456 ip/reass/ip6_sv_reass.c
472 list(APPEND VNET_MULTIARCH_SOURCES
473 ip/ip4_source_check.c
475 ip/reass/ip4_full_reass.c
477 ip/reass/ip6_full_reass.c
478 ip/reass/ip4_sv_reass.c
480 ip/reass/ip6_full_reass.c
481 ip/reass/ip6_sv_reass.c
488 list(APPEND VNET_HEADERS
502 ip/ip6_hop_by_hop_packet.h
506 ip/ip_source_and_port_range_check.h
515 list(APPEND VNET_API_FILES
520 list(APPEND VNET_MULTIARCH_SOURCES
526 ##############################################################################
528 ##############################################################################
529 list(APPEND VNET_SOURCES
530 ip-neighbor/ip_neighbor.c
531 ip-neighbor/ip_neighbor_api.c
532 ip-neighbor/ip_neighbor_dp.c
533 ip-neighbor/ip_neighbor_types.c
534 ip-neighbor/ip_neighbor_watch.c
535 ip-neighbor/ip4_neighbor.c
536 ip-neighbor/ip6_neighbor.c
539 list(APPEND VNET_HEADERS
540 ip-neighbor/ip_neighbor.h
541 ip-neighbor/ip_neighbor_types.h
544 list(APPEND VNET_API_FILES
545 ip-neighbor/ip_neighbor.api
548 ##############################################################################
549 # Bidirectional Forwarding Detection
550 ##############################################################################
552 list(APPEND VNET_HEADERS
559 list(APPEND VNET_SOURCES
568 list(APPEND VNET_API_FILES bfd/bfd.api)
570 ##############################################################################
572 ##############################################################################
574 list(APPEND VNET_SOURCES
580 list(APPEND VNET_HEADERS
584 ##############################################################################
585 # Layer 3 protocol: IPSec
586 ##############################################################################
587 list(APPEND VNET_SOURCES
591 ipsec/ipsec_handoff.c
596 ipsec/ipsec_spd_policy.c
605 ipsec/ipsec_types_api.c
608 list(APPEND VNET_MULTIARCH_SOURCES
613 ipsec/ipsec_handoff.c
619 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
620 list(APPEND VNET_API_FILES ipsec/ipsec.api)
622 list(APPEND VNET_SOURCES
626 list(APPEND VNET_HEADERS
629 ipsec/ipsec_spd_policy.h
632 ipsec/ipsec_types_api.h
638 ##############################################################################
639 # Layer 3 protocol: osi
640 ##############################################################################
641 list(APPEND VNET_SOURCES
647 list(APPEND VNET_HEADERS
651 ##############################################################################
652 # Layer 4 protocol: tcp
653 ##############################################################################
654 list(APPEND VNET_SOURCES
658 tcp/tcp_syn_filter4.c
670 list(APPEND VNET_MULTIARCH_SOURCES
673 tcp/tcp_syn_filter4.c
676 list(APPEND VNET_HEADERS
689 list(APPEND VNET_API_FILES tcp/tcp.api)
691 ##############################################################################
692 # Layer 4 protocol: udp
693 ##############################################################################
694 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
901 list(APPEND VNET_HEADERS
904 lisp-cp/gid_dictionary.h
905 lisp-cp/lisp_cp_messages.h
906 lisp-cp/lisp_msg_serdes.h
910 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
911 list(APPEND VNET_API_FILES lisp-cp/one.api)
913 ##############################################################################
914 # Tunnel protocol: lisp-gpe
915 ##############################################################################
917 list(APPEND VNET_SOURCES
919 lisp-gpe/lisp_gpe_sub_interface.c
920 lisp-gpe/lisp_gpe_adjacency.c
921 lisp-gpe/lisp_gpe_tunnel.c
922 lisp-gpe/lisp_gpe_fwd_entry.c
923 lisp-gpe/lisp_gpe_tenant.c
926 lisp-gpe/lisp_gpe_api.c
929 list(APPEND VNET_HEADERS
931 lisp-gpe/lisp_gpe_fwd_entry.h
932 lisp-gpe/lisp_gpe_tenant.h
933 lisp-gpe/lisp_gpe_packet.h
934 lisp-gpe/lisp_gpe_error.def
937 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
939 ##############################################################################
940 # ipv6 segment routing
941 ##############################################################################
943 list(APPEND VNET_SOURCES
946 srv6/sr_policy_rewrite.c
951 list(APPEND VNET_HEADERS
956 list(APPEND VNET_API_FILES
961 ##############################################################################
962 # mpls segment routing
963 ##############################################################################
965 list(APPEND VNET_SOURCES
966 srmpls/sr_mpls_policy.c
967 srmpls/sr_mpls_steering.c
971 list(APPEND VNET_HEADERS
975 list(APPEND VNET_API_FILES
980 ##############################################################################
981 # IPFIX / netflow v10
982 ##############################################################################
983 list(APPEND VNET_SOURCES
984 ipfix-export/flow_report.c
985 ipfix-export/flow_api.c
988 list(APPEND VNET_HEADERS
989 ipfix-export/flow_report.h
990 ipfix-export/ipfix_info_elements.h
991 ipfix-export/ipfix_packet.h
994 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
996 ##############################################################################
998 ##############################################################################
999 list(APPEND VNET_SOURCES
1006 list(APPEND VNET_HEADERS
1010 list(APPEND VNET_API_FILES
1014 ##############################################################################
1015 # IPFIX classify code
1016 ##############################################################################
1018 list(APPEND VNET_SOURCES
1019 ipfix-export/flow_report_classify.c
1022 list(APPEND VNET_HEADERS
1023 ipfix-export/flow_report_classify.h
1026 ##############################################################################
1028 ##############################################################################
1030 list(APPEND VNET_SOURCES
1031 lawful-intercept/lawful_intercept.c
1032 lawful-intercept/node.c
1035 list(APPEND VNET_MULTIARCH_SOURCES
1036 lawful-intercept/node.c
1039 list(APPEND VNET_HEADERS
1040 lawful-intercept/lawful_intercept.h
1043 ##############################################################################
1044 # SPAN (port mirroring)
1045 ##############################################################################
1047 list(APPEND VNET_SOURCES
1053 list(APPEND VNET_MULTIARCH_SOURCES
1057 list(APPEND VNET_HEADERS
1061 list(APPEND VNET_API_FILES span/span.api)
1063 ##############################################################################
1065 ##############################################################################
1067 list(APPEND VNET_SOURCES
1077 list(APPEND VNET_HEADERS
1082 list(APPEND VNET_API_FILES pg/pg.api)
1084 ##############################################################################
1086 ##############################################################################
1088 list(APPEND VNET_SOURCES
1089 devices/virtio/cli.c
1090 devices/virtio/device.c
1091 devices/virtio/format.c
1092 devices/virtio/node.c
1093 devices/virtio/pci.c
1094 devices/virtio/vhost_user.c
1095 devices/virtio/vhost_user_input.c
1096 devices/virtio/vhost_user_output.c
1097 devices/virtio/vhost_user_api.c
1098 devices/virtio/virtio.c
1099 devices/virtio/virtio_api.c
1100 devices/virtio/virtio_types_api.c
1103 list(APPEND VNET_HEADERS
1104 devices/virtio/pci.h
1105 devices/virtio/virtio.h
1106 devices/virtio/vhost_user.h
1107 devices/virtio/virtio_types_api.h
1110 list(APPEND VNET_MULTIARCH_SOURCES
1111 devices/virtio/vhost_user_input.c
1112 devices/virtio/vhost_user_output.c
1113 devices/virtio/node.c
1114 devices/af_packet/node.c
1115 devices/virtio/device.c
1118 list(APPEND VNET_API_FILES
1119 devices/virtio/vhost_user.api
1120 devices/virtio/virtio.api
1121 devices/virtio/virtio_types.api
1124 ##############################################################################
1125 # tap interface (with virtio backend)
1126 ##############################################################################
1128 list(APPEND VNET_SOURCES
1131 devices/tap/tapv2_api.c
1134 list(APPEND VNET_HEADERS
1138 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1140 ##############################################################################
1141 # tap interface (with virtio backend)
1142 ##############################################################################
1144 list(APPEND VNET_SOURCES
1145 devices/pipe/pipe_api.c
1149 list(APPEND VNET_HEADERS
1153 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1155 ##############################################################################
1156 # session managmeent
1157 ##############################################################################
1159 list(APPEND VNET_SOURCES
1161 session/session_table.c
1162 session/session_rules_table.c
1163 session/session_lookup.c
1164 session/session_node.c
1166 session/application.c
1167 session/application_worker.c
1168 session/session_cli.c
1169 session/application_interface.c
1170 session/application_local.c
1171 session/application_namespace.c
1172 session/segment_manager.c
1173 session/session_api.c
1176 list(APPEND VNET_HEADERS
1178 session/session_table.h
1179 session/session_rules_table.h
1180 session/session_types.h
1181 session/session_lookup.h
1182 session/application.h
1184 session/transport_types.h
1185 session/application_interface.h
1186 session/application_local.h
1187 session/application_namespace.h
1188 session/session_debug.h
1189 session/segment_manager.h
1190 session/mma_template.h
1191 session/mma_template.c
1196 list(APPEND VNET_API_FILES session/session.api)
1198 ##############################################################################
1200 ##############################################################################
1202 list(APPEND VNET_SOURCES
1206 list(APPEND VNET_HEADERS
1211 ##############################################################################
1212 # Linux packet interface
1213 ##############################################################################
1215 list(APPEND VNET_SOURCES
1216 devices/af_packet/af_packet.c
1217 devices/af_packet/device.c
1218 devices/af_packet/node.c
1219 devices/af_packet/cli.c
1220 devices/af_packet/af_packet_api.c
1223 list(APPEND VNET_MULTIARCH_SOURCES
1224 devices/af_packet/device.c
1227 list(APPEND VNET_HEADERS
1228 devices/af_packet/af_packet.h
1231 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1233 ##############################################################################
1234 # Driver feature graph arc support
1235 ##############################################################################
1237 list(APPEND VNET_SOURCES
1239 feature/feature_api.c
1240 feature/registration.c
1243 list(APPEND VNET_HEADERS
1247 list(APPEND VNET_API_FILES feature/feature.api)
1249 ##############################################################################
1250 # Unix kernel related
1251 ##############################################################################
1253 # FIXME: unix/hgshm.c
1255 list(APPEND VNET_SOURCES
1260 list(APPEND VNET_HEADERS
1264 ##############################################################################
1266 ##############################################################################
1268 list(APPEND VNET_SOURCES
1280 fib/fib_entry_src_adj.c
1281 fib/fib_entry_src_api.c
1282 fib/fib_entry_src_drop.c
1283 fib/fib_entry_src_interface.c
1284 fib/fib_entry_src_interpose.c
1285 fib/fib_entry_src_lisp.c
1286 fib/fib_entry_src_mpls.c
1287 fib/fib_entry_src_simple.c
1288 fib/fib_entry_src_rr.c
1289 fib/fib_entry_cover.c
1290 fib/fib_entry_delegate.c
1291 fib/fib_entry_track.c
1297 fib/fib_attached_export.c
1302 list(APPEND VNET_HEADERS
1312 fib/fib_entry_delegate.h
1316 list(APPEND VNET_API_FILES fib/fib_types.api)
1318 ##############################################################################
1320 ##############################################################################
1322 list(APPEND VNET_SOURCES
1326 adj/adj_midchain_delegate.c
1336 list(APPEND VNET_MULTIARCH_SOURCES
1341 list(APPEND VNET_HEADERS
1351 ##############################################################################
1352 # Data-Plane Objects
1353 ##############################################################################
1355 list(APPEND VNET_SOURCES
1363 dpo/load_balance_map.c
1367 dpo/interface_rx_dpo.c
1368 dpo/interface_tx_dpo.c
1369 dpo/mpls_disposition.c
1370 dpo/mpls_label_dpo.c
1376 list(APPEND VNET_MULTIARCH_SOURCES
1378 dpo/mpls_disposition.c
1380 dpo/mpls_label_dpo.c
1381 dpo/interface_rx_dpo.c
1384 list(APPEND VNET_HEADERS
1396 ##############################################################################
1398 ##############################################################################
1400 list(APPEND VNET_SOURCES
1410 mfib/mfib_entry_cover.c
1411 mfib/mfib_entry_delegate.c
1412 mfib/mfib_entry_src.c
1413 mfib/mfib_entry_src_rr.c
1417 list(APPEND VNET_MULTIARCH_SOURCES
1421 list(APPEND VNET_HEADERS
1427 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1429 ##############################################################################
1431 ##############################################################################
1433 list(APPEND VNET_SOURCES
1440 list(APPEND VNET_HEADERS
1444 ##############################################################################
1446 ##############################################################################
1448 list(APPEND VNET_SOURCES
1451 qos/qos_egress_map.c
1453 qos/qos_record_node.c
1455 qos/qos_store_node.c
1460 list(APPEND VNET_MULTIARCH_SOURCES
1461 qos/qos_record_node.c
1465 list(APPEND VNET_API_FILES qos/qos.api)
1467 ##############################################################################
1469 ##############################################################################
1471 list(APPEND VNET_SOURCES
1472 bier/bier_bit_string.c
1475 bier/bier_fmask_db.c
1484 bier/bier_imp_node.c
1486 bier/bier_disp_entry.c
1487 bier/bier_disp_lookup_node.c
1488 bier/bier_disp_dispatch_node.c
1489 bier/bier_disp_table.c
1490 bier/bier_bift_table.c
1493 list(APPEND VNET_MULTIARCH_SOURCES
1494 bier/bier_disp_dispatch_node.c
1495 bier/bier_disp_lookup_node.c
1496 bier/bier_imp_node.c
1499 list(APPEND VNET_HEADERS
1506 list(APPEND VNET_API_FILES bier/bier.api)
1508 ##############################################################################
1510 ##############################################################################
1512 list (APPEND VNET_SOURCES
1518 list(APPEND VNET_HEADERS
1523 list(APPEND VNET_API_FILES syslog/syslog.api)
1525 ##############################################################################
1526 # Tunnel Endpoint Information Base
1527 ##############################################################################
1529 list (APPEND VNET_SOURCES
1535 list(APPEND VNET_HEADERS
1539 list(APPEND VNET_API_FILES teib/teib.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 ##############################################################################