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
73 ethernet/ethernet_format_fns.h
76 list(APPEND VNET_API_FILES
82 ##############################################################################
84 ##############################################################################
85 list(APPEND VNET_SOURCES
92 list(APPEND VNET_MULTIARCH_SOURCES
96 list(APPEND VNET_HEADERS
102 list(APPEND VNET_API_FILES
104 policer/policer_types.api
107 ##############################################################################
109 ##############################################################################
110 list(APPEND VNET_SOURCES
118 list(APPEND VNET_MULTIARCH_SOURCES
124 list(APPEND VNET_HEADERS
128 list(APPEND VNET_API_FILES cop/cop.api)
130 ##############################################################################
131 # Layer 2 protocols go here
132 ##############################################################################
134 ##############################################################################
135 # Layer 2 protocol: Ethernet
136 ##############################################################################
137 list(APPEND VNET_SOURCES
138 ethernet/arp_packet.c
139 ethernet/ethernet_types_api.c
143 ethernet/mac_address.c
147 ethernet/p2p_ethernet.c
148 ethernet/p2p_ethernet_input.c
149 ethernet/p2p_ethernet_api.c
152 list(APPEND VNET_MULTIARCH_SOURCES
154 ethernet/p2p_ethernet_input.c
157 list(APPEND VNET_HEADERS
160 ethernet/mac_address.h
164 ethernet/p2p_ethernet.h
165 ethernet/arp_packet.h
168 list(APPEND VNET_API_FILES
169 ethernet/p2p_ethernet.api
170 ethernet/ethernet_types.api)
172 ##############################################################################
173 # Layer 2 protocol: Ethernet bridging
174 ##############################################################################
175 list(APPEND VNET_SOURCES
182 l2/l2_input_classify.c
183 l2/l2_output_classify.c
193 l2/l2_in_out_feat_arc.c
201 list(APPEND VNET_MULTIARCH_SOURCES
207 l2/l2_in_out_feat_arc.c
208 l2/l2_input_classify.c
210 l2/l2_output_classify.c
220 list(APPEND VNET_HEADERS
237 list(APPEND VNET_API_FILES l2/l2.api)
239 ##############################################################################
240 # Layer 2 protocol: SRP
241 ##############################################################################
242 list(APPEND VNET_SOURCES
249 list(APPEND VNET_HEADERS
254 ##############################################################################
255 # Layer 2 protocol: PPP
256 ##############################################################################
257 list(APPEND VNET_SOURCES
263 list(APPEND VNET_HEADERS
269 ##############################################################################
270 # Layer 2 protocol: HDLC
271 ##############################################################################
272 list(APPEND VNET_SOURCES
278 list(APPEND VNET_HEADERS
284 ##############################################################################
285 # Layer 2 protocol: LLC
286 ##############################################################################
287 list(APPEND VNET_SOURCES
293 list(APPEND VNET_HEADERS
297 ##############################################################################
298 # Layer 2 protocol: SNAP
299 ##############################################################################
300 list(APPEND VNET_SOURCES
306 list(APPEND VNET_HEADERS
310 ##############################################################################
312 ##############################################################################
313 list(APPEND VNET_SOURCES
320 list(APPEND VNET_MULTIARCH_SOURCES
324 list(APPEND VNET_HEADERS
327 vxlan/vxlan_error.def
330 list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c)
332 list(APPEND VNET_API_FILES vxlan/vxlan.api)
334 ##############################################################################
336 ##############################################################################
337 list(APPEND VNET_SOURCES
344 list(APPEND VNET_MULTIARCH_SOURCES
349 list(APPEND VNET_HEADERS
351 geneve/geneve_packet.h
352 geneve/geneve_error.def
355 list(APPEND VNET_API_FILES geneve/geneve.api)
357 ##############################################################################
359 ##############################################################################
360 list(APPEND VNET_SOURCES
367 list(APPEND VNET_HEADERS
371 list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c)
372 list(APPEND VNET_API_FILES bonding/bond.api)
374 ##############################################################################
376 ##############################################################################
377 list(APPEND VNET_SOURCES
385 list(APPEND VNET_HEADERS
390 list(APPEND VNET_API_FILES lldp/lldp.api)
392 ##############################################################################
393 # Layer 2/3 "classify"
394 ##############################################################################
395 list(APPEND VNET_SOURCES
396 classify/vnet_classify.c
397 classify/trace_classify.h
398 classify/ip_classify.c
399 classify/in_out_acl.c
400 classify/policer_classify.c
401 classify/flow_classify.c
402 classify/flow_classify_node.c
403 classify/vnet_classify.h
404 classify/classify_api.c
407 list(APPEND VNET_MULTIARCH_SOURCES
408 classify/ip_classify.c
409 classify/flow_classify_node.c
412 list(APPEND VNET_HEADERS
413 classify/vnet_classify.h
414 classify/trace_classify.h
415 classify/in_out_acl.h
416 classify/policer_classify.h
417 classify/flow_classify.h
420 list(APPEND VNET_API_FILES classify/classify.api)
422 ##############################################################################
423 # Layer 3 protocols go here
424 ##############################################################################
426 ##############################################################################
427 # Layer 3 protocol: IP v4/v6
428 ##############################################################################
429 list(APPEND VNET_SOURCES
443 ip/ip4_source_and_port_range_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
474 ip/reass/ip4_full_reass.c
476 ip/reass/ip6_full_reass.c
477 ip/reass/ip4_sv_reass.c
479 ip/reass/ip6_full_reass.c
480 ip/reass/ip6_sv_reass.c
487 list(APPEND VNET_HEADERS
501 ip/ip6_hop_by_hop_packet.h
505 ip/ip_source_and_port_range_check.h
514 list(APPEND VNET_API_FILES
519 list(APPEND VNET_MULTIARCH_SOURCES
525 ##############################################################################
527 ##############################################################################
528 list(APPEND VNET_SOURCES
529 ip-neighbor/ip_neighbor.c
530 ip-neighbor/ip_neighbor_api.c
531 ip-neighbor/ip_neighbor_dp.c
532 ip-neighbor/ip_neighbor_types.c
533 ip-neighbor/ip_neighbor_watch.c
534 ip-neighbor/ip4_neighbor.c
535 ip-neighbor/ip6_neighbor.c
538 list(APPEND VNET_HEADERS
539 ip-neighbor/ip_neighbor.h
540 ip-neighbor/ip_neighbor_types.h
543 list(APPEND VNET_API_FILES
544 ip-neighbor/ip_neighbor.api
547 ##############################################################################
548 # Bidirectional Forwarding Detection
549 ##############################################################################
551 list(APPEND VNET_HEADERS
558 list(APPEND VNET_SOURCES
567 list(APPEND VNET_API_FILES bfd/bfd.api)
569 ##############################################################################
571 ##############################################################################
573 list(APPEND VNET_SOURCES
579 list(APPEND VNET_HEADERS
583 ##############################################################################
584 # Layer 3 protocol: IPSec
585 ##############################################################################
586 list(APPEND VNET_SOURCES
590 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
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
1007 gso/hdr_offset_parser.h
1011 list(APPEND VNET_API_FILES
1015 ##############################################################################
1016 # IPFIX classify code
1017 ##############################################################################
1019 list(APPEND VNET_SOURCES
1020 ipfix-export/flow_report_classify.c
1023 list(APPEND VNET_HEADERS
1024 ipfix-export/flow_report_classify.h
1027 ##############################################################################
1029 ##############################################################################
1031 list(APPEND VNET_SOURCES
1032 lawful-intercept/lawful_intercept.c
1033 lawful-intercept/node.c
1036 list(APPEND VNET_MULTIARCH_SOURCES
1037 lawful-intercept/node.c
1040 list(APPEND VNET_HEADERS
1041 lawful-intercept/lawful_intercept.h
1044 ##############################################################################
1045 # SPAN (port mirroring)
1046 ##############################################################################
1048 list(APPEND VNET_SOURCES
1054 list(APPEND VNET_MULTIARCH_SOURCES
1058 list(APPEND VNET_HEADERS
1062 list(APPEND VNET_API_FILES span/span.api)
1064 ##############################################################################
1066 ##############################################################################
1068 list(APPEND VNET_SOURCES
1078 list(APPEND VNET_HEADERS
1083 list(APPEND VNET_API_FILES pg/pg.api)
1085 ##############################################################################
1087 ##############################################################################
1089 list(APPEND VNET_SOURCES
1090 devices/virtio/cli.c
1091 devices/virtio/device.c
1092 devices/virtio/format.c
1093 devices/virtio/node.c
1094 devices/virtio/pci.c
1095 devices/virtio/vhost_user.c
1096 devices/virtio/vhost_user_input.c
1097 devices/virtio/vhost_user_output.c
1098 devices/virtio/vhost_user_api.c
1099 devices/virtio/virtio.c
1100 devices/virtio/virtio_api.c
1101 devices/virtio/virtio_types_api.c
1104 list(APPEND VNET_HEADERS
1105 devices/virtio/pci.h
1106 devices/virtio/virtio.h
1107 devices/virtio/vhost_user.h
1108 devices/virtio/virtio_types_api.h
1111 list(APPEND VNET_MULTIARCH_SOURCES
1112 devices/virtio/vhost_user_input.c
1113 devices/virtio/vhost_user_output.c
1114 devices/virtio/node.c
1115 devices/af_packet/node.c
1116 devices/virtio/device.c
1119 list(APPEND VNET_API_FILES
1120 devices/virtio/vhost_user.api
1121 devices/virtio/virtio.api
1122 devices/virtio/virtio_types.api
1125 ##############################################################################
1126 # tap interface (with virtio backend)
1127 ##############################################################################
1129 list(APPEND VNET_SOURCES
1132 devices/tap/tapv2_api.c
1135 list(APPEND VNET_HEADERS
1139 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1141 ##############################################################################
1142 # tap interface (with virtio backend)
1143 ##############################################################################
1145 list(APPEND VNET_SOURCES
1146 devices/pipe/pipe_api.c
1150 list(APPEND VNET_HEADERS
1154 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1156 ##############################################################################
1157 # session managmeent
1158 ##############################################################################
1160 list(APPEND VNET_SOURCES
1162 session/session_debug.c
1163 session/session_table.c
1164 session/session_rules_table.c
1165 session/session_lookup.c
1166 session/session_node.c
1168 session/application.c
1169 session/application_worker.c
1170 session/session_cli.c
1171 session/application_interface.c
1172 session/application_local.c
1173 session/application_namespace.c
1174 session/segment_manager.c
1175 session/session_api.c
1178 list(APPEND VNET_HEADERS
1180 session/session_table.h
1181 session/session_rules_table.h
1182 session/session_types.h
1183 session/session_lookup.h
1184 session/application.h
1186 session/transport_types.h
1187 session/application_interface.h
1188 session/application_local.h
1189 session/application_namespace.h
1190 session/session_debug.h
1191 session/segment_manager.h
1192 session/mma_template.h
1193 session/mma_template.c
1198 list(APPEND VNET_API_FILES session/session.api)
1200 ##############################################################################
1202 ##############################################################################
1204 list(APPEND VNET_SOURCES
1208 list(APPEND VNET_HEADERS
1213 ##############################################################################
1214 # Linux packet interface
1215 ##############################################################################
1217 list(APPEND VNET_SOURCES
1218 devices/af_packet/af_packet.c
1219 devices/af_packet/device.c
1220 devices/af_packet/node.c
1221 devices/af_packet/cli.c
1222 devices/af_packet/af_packet_api.c
1225 list(APPEND VNET_MULTIARCH_SOURCES
1226 devices/af_packet/device.c
1229 list(APPEND VNET_HEADERS
1230 devices/af_packet/af_packet.h
1233 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1235 ##############################################################################
1236 # Driver feature graph arc support
1237 ##############################################################################
1239 list(APPEND VNET_SOURCES
1241 feature/feature_api.c
1242 feature/registration.c
1245 list(APPEND VNET_HEADERS
1249 list(APPEND VNET_API_FILES feature/feature.api)
1251 ##############################################################################
1252 # Unix kernel related
1253 ##############################################################################
1255 # FIXME: unix/hgshm.c
1257 list(APPEND VNET_SOURCES
1262 list(APPEND VNET_HEADERS
1266 ##############################################################################
1268 ##############################################################################
1270 list(APPEND VNET_SOURCES
1282 fib/fib_entry_src_adj.c
1283 fib/fib_entry_src_api.c
1284 fib/fib_entry_src_drop.c
1285 fib/fib_entry_src_interface.c
1286 fib/fib_entry_src_interpose.c
1287 fib/fib_entry_src_lisp.c
1288 fib/fib_entry_src_mpls.c
1289 fib/fib_entry_src_simple.c
1290 fib/fib_entry_src_rr.c
1291 fib/fib_entry_cover.c
1292 fib/fib_entry_delegate.c
1293 fib/fib_entry_track.c
1299 fib/fib_attached_export.c
1304 list(APPEND VNET_HEADERS
1314 fib/fib_entry_delegate.h
1318 list(APPEND VNET_API_FILES fib/fib_types.api)
1320 ##############################################################################
1322 ##############################################################################
1324 list(APPEND VNET_SOURCES
1328 adj/adj_midchain_delegate.c
1338 list(APPEND VNET_MULTIARCH_SOURCES
1343 list(APPEND VNET_HEADERS
1353 ##############################################################################
1354 # Data-Plane Objects
1355 ##############################################################################
1357 list(APPEND VNET_SOURCES
1365 dpo/load_balance_map.c
1369 dpo/interface_rx_dpo.c
1370 dpo/interface_tx_dpo.c
1371 dpo/mpls_disposition.c
1372 dpo/mpls_label_dpo.c
1378 list(APPEND VNET_MULTIARCH_SOURCES
1380 dpo/mpls_disposition.c
1382 dpo/mpls_label_dpo.c
1383 dpo/interface_rx_dpo.c
1386 list(APPEND VNET_HEADERS
1398 ##############################################################################
1400 ##############################################################################
1402 list(APPEND VNET_SOURCES
1412 mfib/mfib_entry_cover.c
1413 mfib/mfib_entry_delegate.c
1414 mfib/mfib_entry_src.c
1415 mfib/mfib_entry_src_rr.c
1419 list(APPEND VNET_MULTIARCH_SOURCES
1423 list(APPEND VNET_HEADERS
1429 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1431 ##############################################################################
1433 ##############################################################################
1435 list(APPEND VNET_SOURCES
1442 list(APPEND VNET_HEADERS
1446 ##############################################################################
1448 ##############################################################################
1450 list(APPEND VNET_SOURCES
1453 qos/qos_egress_map.c
1455 qos/qos_record_node.c
1457 qos/qos_store_node.c
1462 list(APPEND VNET_MULTIARCH_SOURCES
1463 qos/qos_record_node.c
1467 list(APPEND VNET_API_FILES qos/qos.api)
1469 ##############################################################################
1471 ##############################################################################
1473 list(APPEND VNET_SOURCES
1474 bier/bier_bit_string.c
1477 bier/bier_fmask_db.c
1486 bier/bier_imp_node.c
1488 bier/bier_disp_entry.c
1489 bier/bier_disp_lookup_node.c
1490 bier/bier_disp_dispatch_node.c
1491 bier/bier_disp_table.c
1492 bier/bier_bift_table.c
1495 list(APPEND VNET_MULTIARCH_SOURCES
1496 bier/bier_disp_dispatch_node.c
1497 bier/bier_disp_lookup_node.c
1498 bier/bier_imp_node.c
1501 list(APPEND VNET_HEADERS
1508 list(APPEND VNET_API_FILES bier/bier.api)
1510 ##############################################################################
1512 ##############################################################################
1514 list (APPEND VNET_SOURCES
1520 list(APPEND VNET_HEADERS
1525 list(APPEND VNET_API_FILES syslog/syslog.api)
1527 ##############################################################################
1528 # Tunnel Endpoint Information Base
1529 ##############################################################################
1531 list (APPEND VNET_SOURCES
1537 list(APPEND VNET_HEADERS
1541 list(APPEND VNET_API_FILES teib/teib.api)
1543 ##############################################################################
1545 ##############################################################################
1547 list (APPEND VNET_SOURCES
1553 list(APPEND VNET_HEADERS
1557 list(APPEND VNET_API_FILES arp/arp.api)
1559 list (APPEND VNET_SOURCES
1563 ip6-nd/ip6_nd_proxy.c
1569 list(APPEND VNET_HEADERS
1573 list(APPEND VNET_API_FILES
1578 ##############################################################################
1580 ##############################################################################
1582 add_vpp_library(vnet
1583 SOURCES ${VNET_SOURCES}
1584 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1585 INSTALL_HEADERS ${VNET_HEADERS}
1586 API_FILES ${VNET_API_FILES}
1587 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1588 DEPENDS vpp_version_h api_headers
1591 ##############################################################################
1592 # vpp api test client library
1593 ##############################################################################
1595 add_vpp_library (vatclient
1596 SOURCES ip/ip_types_api.c
1600 ##############################################################################