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
739 list(APPEND VNET_MULTIARCH_SOURCES
743 list(APPEND VNET_HEADERS
747 list(APPEND VNET_API_FILES
751 ##############################################################################
753 ##############################################################################
754 list(APPEND VNET_SOURCES
756 tunnel/tunnel_types_api.c
759 list(APPEND VNET_API_FILES
760 tunnel/tunnel_types.api
763 list(APPEND VNET_HEADERS
768 ##############################################################################
769 # Tunnel protocol: l2tpv3
770 ##############################################################################
771 list(APPEND VNET_SOURCES
779 list(APPEND VNET_MULTIARCH_SOURCES
784 list(APPEND VNET_HEADERS
789 list(APPEND VNET_API_FILES l2tp/l2tp.api)
791 ##############################################################################
792 # Tunnel protocol: gre+mpls
793 ##############################################################################
794 list(APPEND VNET_SOURCES
806 list(APPEND VNET_MULTIARCH_SOURCES
813 list(APPEND VNET_HEADERS
821 list(APPEND VNET_API_FILES mpls/mpls.api)
823 ##############################################################################
824 # Tunnel protocol: vxlan-gbp
825 ##############################################################################
826 list(APPEND VNET_SOURCES
829 vxlan-gbp/vxlan_gbp_api.c
830 vxlan-gbp/vxlan_gbp.c
831 vxlan-gbp/vxlan_gbp_packet.c
834 list (APPEND VNET_MULTIARCH_SOURCES
839 list(APPEND VNET_HEADERS
840 vxlan-gbp/vxlan_gbp.h
841 vxlan-gbp/vxlan_gbp_packet.h
842 vxlan-gbp/vxlan_gbp_error.def
845 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
847 ##############################################################################
848 # Tunnel protocol: vxlan-gpe
849 ##############################################################################
851 list(APPEND VNET_SOURCES
852 vxlan-gpe/vxlan_gpe.c
855 vxlan-gpe/vxlan_gpe_api.c
858 list (APPEND VNET_MULTIARCH_SOURCES
862 list(APPEND VNET_HEADERS
863 vxlan-gpe/vxlan_gpe.h
864 vxlan-gpe/vxlan_gpe_packet.h
865 vxlan-gpe/vxlan_gpe_error.def
868 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
870 ##############################################################################
871 # LISP control plane: lisp-cp
872 ##############################################################################
874 list(APPEND VNET_SOURCES
876 lisp-cp/lisp_cp_dpo.c
878 lisp-cp/gid_dictionary.c
879 lisp-cp/lisp_msg_serdes.c
887 list(APPEND VNET_HEADERS
890 lisp-cp/gid_dictionary.h
891 lisp-cp/lisp_cp_messages.h
892 lisp-cp/lisp_msg_serdes.h
896 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
897 list(APPEND VNET_API_FILES lisp-cp/one.api)
899 ##############################################################################
900 # Tunnel protocol: lisp-gpe
901 ##############################################################################
903 list(APPEND VNET_SOURCES
905 lisp-gpe/lisp_gpe_sub_interface.c
906 lisp-gpe/lisp_gpe_adjacency.c
907 lisp-gpe/lisp_gpe_tunnel.c
908 lisp-gpe/lisp_gpe_fwd_entry.c
909 lisp-gpe/lisp_gpe_tenant.c
912 lisp-gpe/lisp_gpe_api.c
915 list(APPEND VNET_HEADERS
917 lisp-gpe/lisp_gpe_fwd_entry.h
918 lisp-gpe/lisp_gpe_tenant.h
919 lisp-gpe/lisp_gpe_packet.h
920 lisp-gpe/lisp_gpe_error.def
923 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
925 ##############################################################################
926 # ipv6 segment routing
927 ##############################################################################
929 list(APPEND VNET_SOURCES
932 srv6/sr_policy_rewrite.c
937 list(APPEND VNET_HEADERS
942 list(APPEND VNET_API_FILES srv6/sr.api)
944 ##############################################################################
945 # mpls segment routing
946 ##############################################################################
948 list(APPEND VNET_SOURCES
949 srmpls/sr_mpls_policy.c
950 srmpls/sr_mpls_steering.c
954 list(APPEND VNET_HEADERS
958 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
960 ##############################################################################
961 # IPFIX / netflow v10
962 ##############################################################################
963 list(APPEND VNET_SOURCES
964 ipfix-export/flow_report.c
965 ipfix-export/flow_api.c
968 list(APPEND VNET_HEADERS
969 ipfix-export/flow_report.h
970 ipfix-export/ipfix_info_elements.h
971 ipfix-export/ipfix_packet.h
974 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
976 ##############################################################################
978 ##############################################################################
979 list(APPEND VNET_SOURCES
986 list(APPEND VNET_HEADERS
990 list(APPEND VNET_API_FILES
994 ##############################################################################
995 # IPFIX classify code
996 ##############################################################################
998 list(APPEND VNET_SOURCES
999 ipfix-export/flow_report_classify.c
1002 list(APPEND VNET_HEADERS
1003 ipfix-export/flow_report_classify.h
1006 ##############################################################################
1008 ##############################################################################
1010 list(APPEND VNET_SOURCES
1011 lawful-intercept/lawful_intercept.c
1012 lawful-intercept/node.c
1015 list(APPEND VNET_MULTIARCH_SOURCES
1016 lawful-intercept/node.c
1019 list(APPEND VNET_HEADERS
1020 lawful-intercept/lawful_intercept.h
1023 ##############################################################################
1024 # SPAN (port mirroring)
1025 ##############################################################################
1027 list(APPEND VNET_SOURCES
1033 list(APPEND VNET_MULTIARCH_SOURCES
1037 list(APPEND VNET_HEADERS
1041 list(APPEND VNET_API_FILES span/span.api)
1043 ##############################################################################
1045 ##############################################################################
1047 list(APPEND VNET_SOURCES
1057 list(APPEND VNET_HEADERS
1062 list(APPEND VNET_API_FILES pg/pg.api)
1064 ##############################################################################
1066 ##############################################################################
1068 list(APPEND VNET_SOURCES
1069 devices/virtio/cli.c
1070 devices/virtio/device.c
1071 devices/virtio/format.c
1072 devices/virtio/node.c
1073 devices/virtio/pci.c
1074 devices/virtio/vhost_user.c
1075 devices/virtio/vhost_user_input.c
1076 devices/virtio/vhost_user_output.c
1077 devices/virtio/vhost_user_api.c
1078 devices/virtio/virtio.c
1079 devices/virtio/virtio_api.c
1080 devices/virtio/virtio_types_api.c
1083 list(APPEND VNET_HEADERS
1084 devices/virtio/pci.h
1085 devices/virtio/virtio.h
1086 devices/virtio/vhost_user.h
1087 devices/virtio/virtio_types_api.h
1090 list(APPEND VNET_MULTIARCH_SOURCES
1091 devices/virtio/vhost_user_input.c
1092 devices/virtio/vhost_user_output.c
1093 devices/netmap/node.c
1094 devices/virtio/node.c
1095 devices/af_packet/node.c
1096 devices/virtio/device.c
1099 list(APPEND VNET_API_FILES
1100 devices/virtio/vhost_user.api
1101 devices/virtio/virtio.api
1102 devices/virtio/virtio_types.api
1105 ##############################################################################
1106 # tap interface (with virtio backend)
1107 ##############################################################################
1109 list(APPEND VNET_SOURCES
1112 devices/tap/tapv2_api.c
1115 list(APPEND VNET_HEADERS
1119 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1121 ##############################################################################
1122 # tap interface (with virtio backend)
1123 ##############################################################################
1125 list(APPEND VNET_SOURCES
1126 devices/pipe/pipe_api.c
1130 list(APPEND VNET_HEADERS
1134 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1136 ##############################################################################
1137 # session managmeent
1138 ##############################################################################
1140 list(APPEND VNET_SOURCES
1142 session/session_table.c
1143 session/session_rules_table.c
1144 session/session_lookup.c
1145 session/session_node.c
1147 session/application.c
1148 session/application_worker.c
1149 session/session_cli.c
1150 session/application_interface.c
1151 session/application_local.c
1152 session/application_namespace.c
1153 session/segment_manager.c
1154 session/session_api.c
1157 list(APPEND VNET_HEADERS
1159 session/session_table.h
1160 session/session_rules_table.h
1161 session/session_types.h
1162 session/session_lookup.h
1163 session/application.h
1165 session/transport_types.h
1166 session/application_interface.h
1167 session/application_local.h
1168 session/application_namespace.h
1169 session/session_debug.h
1170 session/segment_manager.h
1171 session/mma_template.h
1172 session/mma_template.c
1177 list(APPEND VNET_API_FILES session/session.api)
1179 ##############################################################################
1181 ##############################################################################
1183 list(APPEND VNET_SOURCES
1187 list(APPEND VNET_HEADERS
1192 ##############################################################################
1193 # Linux packet interface
1194 ##############################################################################
1196 list(APPEND VNET_SOURCES
1197 devices/af_packet/af_packet.c
1198 devices/af_packet/device.c
1199 devices/af_packet/node.c
1200 devices/af_packet/cli.c
1201 devices/af_packet/af_packet_api.c
1204 list(APPEND VNET_MULTIARCH_SOURCES
1205 devices/netmap/device.c
1206 devices/af_packet/device.c
1209 list(APPEND VNET_HEADERS
1210 devices/af_packet/af_packet.h
1213 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1215 ##############################################################################
1217 ##############################################################################
1219 list(APPEND VNET_SOURCES
1220 devices/netmap/netmap.c
1221 devices/netmap/device.c
1222 devices/netmap/node.c
1223 devices/netmap/cli.c
1224 devices/netmap/netmap_api.c
1227 list(APPEND VNET_HEADERS
1228 devices/netmap/netmap.h
1231 list(APPEND VNET_API_FILES devices/netmap/netmap.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 ##############################################################################
1527 ##############################################################################
1529 list (APPEND VNET_SOURCES
1533 list(APPEND VNET_HEADERS
1537 list(APPEND VNET_API_FILES pci/pci_types.api)
1539 ##############################################################################
1541 ##############################################################################
1543 list (APPEND VNET_SOURCES
1549 list(APPEND VNET_HEADERS
1553 list(APPEND VNET_API_FILES nhrp/nhrp.api)
1555 ##############################################################################
1557 ##############################################################################
1559 list (APPEND VNET_SOURCES
1565 list(APPEND VNET_HEADERS
1569 list(APPEND VNET_API_FILES arp/arp.api)
1571 list (APPEND VNET_SOURCES
1575 ip6-nd/ip6_nd_proxy.c
1581 list(APPEND VNET_HEADERS
1585 list(APPEND VNET_API_FILES
1590 ##############################################################################
1592 ##############################################################################
1594 add_vpp_library(vnet
1595 SOURCES ${VNET_SOURCES}
1596 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1597 INSTALL_HEADERS ${VNET_HEADERS}
1598 API_FILES ${VNET_API_FILES}
1599 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1600 DEPENDS vpp_version_h api_headers
1603 ##############################################################################
1604 # vpp api test client library
1605 ##############################################################################
1607 add_vpp_library (vatclient
1608 SOURCES ip/ip_types_api.c
1612 ##############################################################################