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
473 list(APPEND VNET_MULTIARCH_SOURCES
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
507 ip/ip_source_and_port_range_check.h
516 list(APPEND VNET_API_FILES
521 list(APPEND VNET_MULTIARCH_SOURCES
527 ##############################################################################
529 ##############################################################################
530 list(APPEND VNET_SOURCES
531 ip-neighbor/ip_neighbor.c
532 ip-neighbor/ip_neighbor_api.c
533 ip-neighbor/ip_neighbor_dp.c
534 ip-neighbor/ip_neighbor_types.c
535 ip-neighbor/ip_neighbor_watch.c
536 ip-neighbor/ip4_neighbor.c
537 ip-neighbor/ip6_neighbor.c
540 list(APPEND VNET_HEADERS
541 ip-neighbor/ip_neighbor.h
542 ip-neighbor/ip_neighbor_types.h
545 list(APPEND VNET_API_FILES
546 ip-neighbor/ip_neighbor.api
549 ##############################################################################
550 # Bidirectional Forwarding Detection
551 ##############################################################################
553 list(APPEND VNET_HEADERS
560 list(APPEND VNET_SOURCES
569 list(APPEND VNET_API_FILES bfd/bfd.api)
571 ##############################################################################
573 ##############################################################################
575 list(APPEND VNET_SOURCES
581 list(APPEND VNET_HEADERS
585 ##############################################################################
586 # Layer 3 protocol: IPSec
587 ##############################################################################
588 list(APPEND VNET_SOURCES
592 ipsec/ipsec_handoff.c
597 ipsec/ipsec_spd_policy.c
606 ipsec/ipsec_types_api.c
609 list(APPEND VNET_MULTIARCH_SOURCES
614 ipsec/ipsec_handoff.c
620 list(APPEND VNET_API_FILES ipsec/ipsec_types.api)
621 list(APPEND VNET_API_FILES ipsec/ipsec.api)
623 list(APPEND VNET_SOURCES
627 list(APPEND VNET_HEADERS
630 ipsec/ipsec_spd_policy.h
633 ipsec/ipsec_types_api.h
639 ##############################################################################
640 # Layer 3 protocol: osi
641 ##############################################################################
642 list(APPEND VNET_SOURCES
648 list(APPEND VNET_HEADERS
652 ##############################################################################
653 # Layer 4 protocol: tcp
654 ##############################################################################
655 list(APPEND VNET_SOURCES
659 tcp/tcp_syn_filter4.c
671 list(APPEND VNET_MULTIARCH_SOURCES
674 tcp/tcp_syn_filter4.c
677 list(APPEND VNET_HEADERS
690 list(APPEND VNET_API_FILES tcp/tcp.api)
692 ##############################################################################
693 # Layer 4 protocol: udp
694 ##############################################################################
695 list(APPEND VNET_SOURCES
707 list(APPEND VNET_MULTIARCH_SOURCES
712 list(APPEND VNET_HEADERS
718 list(APPEND VNET_API_FILES udp/udp.api)
720 ##############################################################################
721 # Tunnel protocol: gre
722 ##############################################################################
723 list(APPEND VNET_SOURCES
731 list(APPEND VNET_MULTIARCH_SOURCES
736 list(APPEND VNET_HEADERS
742 list(APPEND VNET_API_FILES gre/gre.api)
744 ##############################################################################
745 # Tunnel protocol: ipip
746 ##############################################################################
747 list(APPEND VNET_SOURCES
755 list(APPEND VNET_MULTIARCH_SOURCES
759 list(APPEND VNET_HEADERS
763 list(APPEND VNET_API_FILES
767 ##############################################################################
769 ##############################################################################
770 list(APPEND VNET_SOURCES
772 tunnel/tunnel_types_api.c
775 list(APPEND VNET_API_FILES
776 tunnel/tunnel_types.api
779 list(APPEND VNET_HEADERS
784 ##############################################################################
785 # Tunnel protocol: l2tpv3
786 ##############################################################################
787 list(APPEND VNET_SOURCES
795 list(APPEND VNET_MULTIARCH_SOURCES
800 list(APPEND VNET_HEADERS
805 list(APPEND VNET_API_FILES l2tp/l2tp.api)
807 ##############################################################################
808 # Tunnel protocol: gre+mpls
809 ##############################################################################
810 list(APPEND VNET_SOURCES
822 list(APPEND VNET_MULTIARCH_SOURCES
829 list(APPEND VNET_HEADERS
837 list(APPEND VNET_API_FILES mpls/mpls.api)
839 ##############################################################################
840 # Tunnel protocol: vxlan-gbp
841 ##############################################################################
842 list(APPEND VNET_SOURCES
845 vxlan-gbp/vxlan_gbp_api.c
846 vxlan-gbp/vxlan_gbp.c
847 vxlan-gbp/vxlan_gbp_packet.c
850 list (APPEND VNET_MULTIARCH_SOURCES
855 list(APPEND VNET_HEADERS
856 vxlan-gbp/vxlan_gbp.h
857 vxlan-gbp/vxlan_gbp_packet.h
858 vxlan-gbp/vxlan_gbp_error.def
861 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
863 ##############################################################################
864 # Tunnel protocol: vxlan-gpe
865 ##############################################################################
867 list(APPEND VNET_SOURCES
868 vxlan-gpe/vxlan_gpe.c
871 vxlan-gpe/vxlan_gpe_api.c
874 list (APPEND VNET_MULTIARCH_SOURCES
878 list(APPEND VNET_HEADERS
879 vxlan-gpe/vxlan_gpe.h
880 vxlan-gpe/vxlan_gpe_packet.h
881 vxlan-gpe/vxlan_gpe_error.def
884 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
886 ##############################################################################
887 # LISP control plane: lisp-cp
888 ##############################################################################
890 list(APPEND VNET_SOURCES
892 lisp-cp/lisp_cp_dpo.c
894 lisp-cp/gid_dictionary.c
895 lisp-cp/lisp_msg_serdes.c
903 list(APPEND VNET_HEADERS
906 lisp-cp/gid_dictionary.h
907 lisp-cp/lisp_cp_messages.h
908 lisp-cp/lisp_msg_serdes.h
912 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
913 list(APPEND VNET_API_FILES lisp-cp/one.api)
915 ##############################################################################
916 # Tunnel protocol: lisp-gpe
917 ##############################################################################
919 list(APPEND VNET_SOURCES
921 lisp-gpe/lisp_gpe_sub_interface.c
922 lisp-gpe/lisp_gpe_adjacency.c
923 lisp-gpe/lisp_gpe_tunnel.c
924 lisp-gpe/lisp_gpe_fwd_entry.c
925 lisp-gpe/lisp_gpe_tenant.c
928 lisp-gpe/lisp_gpe_api.c
931 list(APPEND VNET_HEADERS
933 lisp-gpe/lisp_gpe_fwd_entry.h
934 lisp-gpe/lisp_gpe_tenant.h
935 lisp-gpe/lisp_gpe_packet.h
936 lisp-gpe/lisp_gpe_error.def
939 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
941 ##############################################################################
942 # ipv6 segment routing
943 ##############################################################################
945 list(APPEND VNET_SOURCES
948 srv6/sr_policy_rewrite.c
953 list(APPEND VNET_HEADERS
958 list(APPEND VNET_API_FILES
963 ##############################################################################
964 # mpls segment routing
965 ##############################################################################
967 list(APPEND VNET_SOURCES
968 srmpls/sr_mpls_policy.c
969 srmpls/sr_mpls_steering.c
973 list(APPEND VNET_HEADERS
977 list(APPEND VNET_API_FILES
982 ##############################################################################
983 # IPFIX / netflow v10
984 ##############################################################################
985 list(APPEND VNET_SOURCES
986 ipfix-export/flow_report.c
987 ipfix-export/flow_api.c
990 list(APPEND VNET_HEADERS
991 ipfix-export/flow_report.h
992 ipfix-export/ipfix_info_elements.h
993 ipfix-export/ipfix_packet.h
996 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
998 ##############################################################################
1000 ##############################################################################
1001 list(APPEND VNET_SOURCES
1008 list(APPEND VNET_HEADERS
1009 gso/hdr_offset_parser.h
1013 list(APPEND VNET_API_FILES
1017 ##############################################################################
1018 # IPFIX classify code
1019 ##############################################################################
1021 list(APPEND VNET_SOURCES
1022 ipfix-export/flow_report_classify.c
1025 list(APPEND VNET_HEADERS
1026 ipfix-export/flow_report_classify.h
1029 ##############################################################################
1031 ##############################################################################
1033 list(APPEND VNET_SOURCES
1034 lawful-intercept/lawful_intercept.c
1035 lawful-intercept/node.c
1038 list(APPEND VNET_MULTIARCH_SOURCES
1039 lawful-intercept/node.c
1042 list(APPEND VNET_HEADERS
1043 lawful-intercept/lawful_intercept.h
1046 ##############################################################################
1047 # SPAN (port mirroring)
1048 ##############################################################################
1050 list(APPEND VNET_SOURCES
1056 list(APPEND VNET_MULTIARCH_SOURCES
1060 list(APPEND VNET_HEADERS
1064 list(APPEND VNET_API_FILES span/span.api)
1066 ##############################################################################
1068 ##############################################################################
1070 list(APPEND VNET_SOURCES
1080 list(APPEND VNET_HEADERS
1085 list(APPEND VNET_API_FILES pg/pg.api)
1087 ##############################################################################
1089 ##############################################################################
1091 list(APPEND VNET_SOURCES
1092 devices/virtio/cli.c
1093 devices/virtio/device.c
1094 devices/virtio/format.c
1095 devices/virtio/node.c
1096 devices/virtio/pci.c
1097 devices/virtio/vhost_user.c
1098 devices/virtio/vhost_user_input.c
1099 devices/virtio/vhost_user_output.c
1100 devices/virtio/vhost_user_api.c
1101 devices/virtio/virtio.c
1102 devices/virtio/virtio_api.c
1103 devices/virtio/virtio_types_api.c
1106 list(APPEND VNET_HEADERS
1107 devices/virtio/pci.h
1108 devices/virtio/virtio.h
1109 devices/virtio/vhost_user.h
1110 devices/virtio/virtio_types_api.h
1113 list(APPEND VNET_MULTIARCH_SOURCES
1114 devices/virtio/vhost_user_input.c
1115 devices/virtio/vhost_user_output.c
1116 devices/virtio/node.c
1117 devices/af_packet/node.c
1118 devices/virtio/device.c
1121 list(APPEND VNET_API_FILES
1122 devices/virtio/vhost_user.api
1123 devices/virtio/virtio.api
1124 devices/virtio/virtio_types.api
1127 ##############################################################################
1128 # tap interface (with virtio backend)
1129 ##############################################################################
1131 list(APPEND VNET_SOURCES
1134 devices/tap/tapv2_api.c
1137 list(APPEND VNET_HEADERS
1141 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1143 ##############################################################################
1144 # tap interface (with virtio backend)
1145 ##############################################################################
1147 list(APPEND VNET_SOURCES
1148 devices/pipe/pipe_api.c
1152 list(APPEND VNET_HEADERS
1156 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1158 ##############################################################################
1159 # session managmeent
1160 ##############################################################################
1162 list(APPEND VNET_SOURCES
1164 session/session_debug.c
1165 session/session_table.c
1166 session/session_rules_table.c
1167 session/session_lookup.c
1168 session/session_node.c
1170 session/application.c
1171 session/application_worker.c
1172 session/session_cli.c
1173 session/application_interface.c
1174 session/application_local.c
1175 session/application_namespace.c
1176 session/segment_manager.c
1177 session/session_api.c
1180 list(APPEND VNET_HEADERS
1182 session/session_table.h
1183 session/session_rules_table.h
1184 session/session_types.h
1185 session/session_lookup.h
1186 session/application.h
1188 session/transport_types.h
1189 session/application_interface.h
1190 session/application_local.h
1191 session/application_namespace.h
1192 session/session_debug.h
1193 session/segment_manager.h
1194 session/mma_template.h
1195 session/mma_template.c
1200 list(APPEND VNET_API_FILES session/session.api)
1202 ##############################################################################
1204 ##############################################################################
1206 list(APPEND VNET_SOURCES
1210 list(APPEND VNET_HEADERS
1215 ##############################################################################
1216 # Linux packet interface
1217 ##############################################################################
1219 list(APPEND VNET_SOURCES
1220 devices/af_packet/af_packet.c
1221 devices/af_packet/device.c
1222 devices/af_packet/node.c
1223 devices/af_packet/cli.c
1224 devices/af_packet/af_packet_api.c
1227 list(APPEND VNET_MULTIARCH_SOURCES
1228 devices/af_packet/device.c
1231 list(APPEND VNET_HEADERS
1232 devices/af_packet/af_packet.h
1235 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1237 ##############################################################################
1238 # Driver feature graph arc support
1239 ##############################################################################
1241 list(APPEND VNET_SOURCES
1243 feature/feature_api.c
1244 feature/registration.c
1247 list(APPEND VNET_HEADERS
1251 list(APPEND VNET_API_FILES feature/feature.api)
1253 ##############################################################################
1254 # Unix kernel related
1255 ##############################################################################
1257 # FIXME: unix/hgshm.c
1259 list(APPEND VNET_SOURCES
1264 list(APPEND VNET_HEADERS
1268 ##############################################################################
1270 ##############################################################################
1272 list(APPEND VNET_SOURCES
1284 fib/fib_entry_src_adj.c
1285 fib/fib_entry_src_api.c
1286 fib/fib_entry_src_drop.c
1287 fib/fib_entry_src_interface.c
1288 fib/fib_entry_src_interpose.c
1289 fib/fib_entry_src_lisp.c
1290 fib/fib_entry_src_mpls.c
1291 fib/fib_entry_src_simple.c
1292 fib/fib_entry_src_rr.c
1293 fib/fib_entry_cover.c
1294 fib/fib_entry_delegate.c
1295 fib/fib_entry_track.c
1301 fib/fib_attached_export.c
1306 list(APPEND VNET_HEADERS
1316 fib/fib_entry_delegate.h
1320 list(APPEND VNET_API_FILES fib/fib_types.api)
1322 ##############################################################################
1324 ##############################################################################
1326 list(APPEND VNET_SOURCES
1330 adj/adj_midchain_delegate.c
1340 list(APPEND VNET_MULTIARCH_SOURCES
1345 list(APPEND VNET_HEADERS
1355 ##############################################################################
1356 # Data-Plane Objects
1357 ##############################################################################
1359 list(APPEND VNET_SOURCES
1367 dpo/load_balance_map.c
1371 dpo/interface_rx_dpo.c
1372 dpo/interface_tx_dpo.c
1373 dpo/mpls_disposition.c
1374 dpo/mpls_label_dpo.c
1380 list(APPEND VNET_MULTIARCH_SOURCES
1382 dpo/mpls_disposition.c
1384 dpo/mpls_label_dpo.c
1385 dpo/interface_rx_dpo.c
1388 list(APPEND VNET_HEADERS
1400 ##############################################################################
1402 ##############################################################################
1404 list(APPEND VNET_SOURCES
1414 mfib/mfib_entry_cover.c
1415 mfib/mfib_entry_delegate.c
1416 mfib/mfib_entry_src.c
1417 mfib/mfib_entry_src_rr.c
1421 list(APPEND VNET_MULTIARCH_SOURCES
1425 list(APPEND VNET_HEADERS
1431 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1433 ##############################################################################
1435 ##############################################################################
1437 list(APPEND VNET_SOURCES
1444 list(APPEND VNET_HEADERS
1448 ##############################################################################
1450 ##############################################################################
1452 list(APPEND VNET_SOURCES
1455 qos/qos_egress_map.c
1457 qos/qos_record_node.c
1459 qos/qos_store_node.c
1464 list(APPEND VNET_MULTIARCH_SOURCES
1465 qos/qos_record_node.c
1469 list(APPEND VNET_API_FILES qos/qos.api)
1471 ##############################################################################
1473 ##############################################################################
1475 list(APPEND VNET_SOURCES
1476 bier/bier_bit_string.c
1479 bier/bier_fmask_db.c
1488 bier/bier_imp_node.c
1490 bier/bier_disp_entry.c
1491 bier/bier_disp_lookup_node.c
1492 bier/bier_disp_dispatch_node.c
1493 bier/bier_disp_table.c
1494 bier/bier_bift_table.c
1497 list(APPEND VNET_MULTIARCH_SOURCES
1498 bier/bier_disp_dispatch_node.c
1499 bier/bier_disp_lookup_node.c
1500 bier/bier_imp_node.c
1503 list(APPEND VNET_HEADERS
1510 list(APPEND VNET_API_FILES bier/bier.api)
1512 ##############################################################################
1514 ##############################################################################
1516 list (APPEND VNET_SOURCES
1522 list(APPEND VNET_HEADERS
1527 list(APPEND VNET_API_FILES syslog/syslog.api)
1529 ##############################################################################
1530 # Tunnel Endpoint Information Base
1531 ##############################################################################
1533 list (APPEND VNET_SOURCES
1539 list(APPEND VNET_HEADERS
1543 list(APPEND VNET_API_FILES teib/teib.api)
1545 ##############################################################################
1547 ##############################################################################
1549 list (APPEND VNET_SOURCES
1555 list(APPEND VNET_HEADERS
1559 list(APPEND VNET_API_FILES arp/arp.api)
1561 list (APPEND VNET_SOURCES
1565 ip6-nd/ip6_nd_proxy.c
1571 list(APPEND VNET_HEADERS
1575 list(APPEND VNET_API_FILES
1580 ##############################################################################
1582 ##############################################################################
1584 add_vpp_library(vnet
1585 SOURCES ${VNET_SOURCES}
1586 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1587 INSTALL_HEADERS ${VNET_HEADERS}
1588 API_FILES ${VNET_API_FILES}
1589 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1590 DEPENDS vpp_version_h api_headers
1593 ##############################################################################
1594 # vpp api test client library
1595 ##############################################################################
1597 add_vpp_library (vatclient
1598 SOURCES ip/ip_types_api.c
1602 ##############################################################################