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
767 ##############################################################################
768 # Tunnel protocol: l2tpv3
769 ##############################################################################
770 list(APPEND VNET_SOURCES
778 list(APPEND VNET_MULTIARCH_SOURCES
783 list(APPEND VNET_HEADERS
788 list(APPEND VNET_API_FILES l2tp/l2tp.api)
790 ##############################################################################
791 # Tunnel protocol: gre+mpls
792 ##############################################################################
793 list(APPEND VNET_SOURCES
805 list(APPEND VNET_MULTIARCH_SOURCES
812 list(APPEND VNET_HEADERS
820 list(APPEND VNET_API_FILES mpls/mpls.api)
822 ##############################################################################
823 # Tunnel protocol: vxlan-gbp
824 ##############################################################################
825 list(APPEND VNET_SOURCES
828 vxlan-gbp/vxlan_gbp_api.c
829 vxlan-gbp/vxlan_gbp.c
830 vxlan-gbp/vxlan_gbp_packet.c
833 list (APPEND VNET_MULTIARCH_SOURCES
838 list(APPEND VNET_HEADERS
839 vxlan-gbp/vxlan_gbp.h
840 vxlan-gbp/vxlan_gbp_packet.h
841 vxlan-gbp/vxlan_gbp_error.def
844 list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
846 ##############################################################################
847 # Tunnel protocol: vxlan-gpe
848 ##############################################################################
850 list(APPEND VNET_SOURCES
851 vxlan-gpe/vxlan_gpe.c
854 vxlan-gpe/vxlan_gpe_api.c
857 list (APPEND VNET_MULTIARCH_SOURCES
861 list(APPEND VNET_HEADERS
862 vxlan-gpe/vxlan_gpe.h
863 vxlan-gpe/vxlan_gpe_packet.h
864 vxlan-gpe/vxlan_gpe_error.def
867 list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api)
869 ##############################################################################
870 # LISP control plane: lisp-cp
871 ##############################################################################
873 list(APPEND VNET_SOURCES
875 lisp-cp/lisp_cp_dpo.c
877 lisp-cp/gid_dictionary.c
878 lisp-cp/lisp_msg_serdes.c
886 list(APPEND VNET_HEADERS
889 lisp-cp/gid_dictionary.h
890 lisp-cp/lisp_cp_messages.h
891 lisp-cp/lisp_msg_serdes.h
895 list(APPEND VNET_API_FILES lisp-cp/lisp.api)
896 list(APPEND VNET_API_FILES lisp-cp/one.api)
898 ##############################################################################
899 # Tunnel protocol: lisp-gpe
900 ##############################################################################
902 list(APPEND VNET_SOURCES
904 lisp-gpe/lisp_gpe_sub_interface.c
905 lisp-gpe/lisp_gpe_adjacency.c
906 lisp-gpe/lisp_gpe_tunnel.c
907 lisp-gpe/lisp_gpe_fwd_entry.c
908 lisp-gpe/lisp_gpe_tenant.c
911 lisp-gpe/lisp_gpe_api.c
914 list(APPEND VNET_HEADERS
916 lisp-gpe/lisp_gpe_fwd_entry.h
917 lisp-gpe/lisp_gpe_tenant.h
918 lisp-gpe/lisp_gpe_packet.h
919 lisp-gpe/lisp_gpe_error.def
922 list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api)
924 ##############################################################################
925 # ipv6 segment routing
926 ##############################################################################
928 list(APPEND VNET_SOURCES
931 srv6/sr_policy_rewrite.c
936 list(APPEND VNET_HEADERS
941 list(APPEND VNET_API_FILES srv6/sr.api)
943 ##############################################################################
944 # mpls segment routing
945 ##############################################################################
947 list(APPEND VNET_SOURCES
948 srmpls/sr_mpls_policy.c
949 srmpls/sr_mpls_steering.c
953 list(APPEND VNET_HEADERS
957 list(APPEND VNET_API_FILES srmpls/sr_mpls.api)
959 ##############################################################################
960 # IPFIX / netflow v10
961 ##############################################################################
962 list(APPEND VNET_SOURCES
963 ipfix-export/flow_report.c
964 ipfix-export/flow_api.c
967 list(APPEND VNET_HEADERS
968 ipfix-export/flow_report.h
969 ipfix-export/ipfix_info_elements.h
970 ipfix-export/ipfix_packet.h
973 list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api)
975 ##############################################################################
977 ##############################################################################
978 list(APPEND VNET_SOURCES
985 list(APPEND VNET_HEADERS
989 list(APPEND VNET_API_FILES
993 ##############################################################################
994 # IPFIX classify code
995 ##############################################################################
997 list(APPEND VNET_SOURCES
998 ipfix-export/flow_report_classify.c
1001 list(APPEND VNET_HEADERS
1002 ipfix-export/flow_report_classify.h
1005 ##############################################################################
1007 ##############################################################################
1009 list(APPEND VNET_SOURCES
1010 lawful-intercept/lawful_intercept.c
1011 lawful-intercept/node.c
1014 list(APPEND VNET_MULTIARCH_SOURCES
1015 lawful-intercept/node.c
1018 list(APPEND VNET_HEADERS
1019 lawful-intercept/lawful_intercept.h
1022 ##############################################################################
1023 # SPAN (port mirroring)
1024 ##############################################################################
1026 list(APPEND VNET_SOURCES
1032 list(APPEND VNET_MULTIARCH_SOURCES
1036 list(APPEND VNET_HEADERS
1040 list(APPEND VNET_API_FILES span/span.api)
1042 ##############################################################################
1044 ##############################################################################
1046 list(APPEND VNET_SOURCES
1056 list(APPEND VNET_HEADERS
1061 list(APPEND VNET_API_FILES pg/pg.api)
1063 ##############################################################################
1065 ##############################################################################
1067 list(APPEND VNET_SOURCES
1068 devices/virtio/cli.c
1069 devices/virtio/device.c
1070 devices/virtio/format.c
1071 devices/virtio/node.c
1072 devices/virtio/pci.c
1073 devices/virtio/vhost_user.c
1074 devices/virtio/vhost_user_input.c
1075 devices/virtio/vhost_user_output.c
1076 devices/virtio/vhost_user_api.c
1077 devices/virtio/virtio.c
1078 devices/virtio/virtio_api.c
1079 devices/virtio/virtio_types_api.c
1082 list(APPEND VNET_HEADERS
1083 devices/virtio/pci.h
1084 devices/virtio/virtio.h
1085 devices/virtio/vhost_user.h
1086 devices/virtio/virtio_types_api.h
1089 list(APPEND VNET_MULTIARCH_SOURCES
1090 devices/virtio/vhost_user_input.c
1091 devices/virtio/vhost_user_output.c
1092 devices/netmap/node.c
1093 devices/virtio/node.c
1094 devices/af_packet/node.c
1095 devices/virtio/device.c
1098 list(APPEND VNET_API_FILES
1099 devices/virtio/vhost_user.api
1100 devices/virtio/virtio.api
1101 devices/virtio/virtio_types.api
1104 ##############################################################################
1105 # tap interface (with virtio backend)
1106 ##############################################################################
1108 list(APPEND VNET_SOURCES
1111 devices/tap/tapv2_api.c
1114 list(APPEND VNET_HEADERS
1118 list(APPEND VNET_API_FILES devices/tap/tapv2.api)
1120 ##############################################################################
1121 # tap interface (with virtio backend)
1122 ##############################################################################
1124 list(APPEND VNET_SOURCES
1125 devices/pipe/pipe_api.c
1129 list(APPEND VNET_HEADERS
1133 list(APPEND VNET_API_FILES devices/pipe/pipe.api)
1135 ##############################################################################
1136 # session managmeent
1137 ##############################################################################
1139 list(APPEND VNET_SOURCES
1141 session/session_table.c
1142 session/session_rules_table.c
1143 session/session_lookup.c
1144 session/session_node.c
1146 session/application.c
1147 session/application_worker.c
1148 session/session_cli.c
1149 session/application_interface.c
1150 session/application_local.c
1151 session/application_namespace.c
1152 session/segment_manager.c
1153 session/session_api.c
1156 list(APPEND VNET_HEADERS
1158 session/session_table.h
1159 session/session_rules_table.h
1160 session/session_types.h
1161 session/session_lookup.h
1162 session/application.h
1164 session/transport_types.h
1165 session/application_interface.h
1166 session/application_local.h
1167 session/application_namespace.h
1168 session/session_debug.h
1169 session/segment_manager.h
1170 session/mma_template.h
1171 session/mma_template.c
1176 list(APPEND VNET_API_FILES session/session.api)
1178 ##############################################################################
1180 ##############################################################################
1182 list(APPEND VNET_SOURCES
1186 list(APPEND VNET_HEADERS
1191 ##############################################################################
1192 # Linux packet interface
1193 ##############################################################################
1195 list(APPEND VNET_SOURCES
1196 devices/af_packet/af_packet.c
1197 devices/af_packet/device.c
1198 devices/af_packet/node.c
1199 devices/af_packet/cli.c
1200 devices/af_packet/af_packet_api.c
1203 list(APPEND VNET_MULTIARCH_SOURCES
1204 devices/netmap/device.c
1205 devices/af_packet/device.c
1208 list(APPEND VNET_HEADERS
1209 devices/af_packet/af_packet.h
1212 list(APPEND VNET_API_FILES devices/af_packet/af_packet.api)
1214 ##############################################################################
1216 ##############################################################################
1218 list(APPEND VNET_SOURCES
1219 devices/netmap/netmap.c
1220 devices/netmap/device.c
1221 devices/netmap/node.c
1222 devices/netmap/cli.c
1223 devices/netmap/netmap_api.c
1226 list(APPEND VNET_HEADERS
1227 devices/netmap/netmap.h
1230 list(APPEND VNET_API_FILES devices/netmap/netmap.api)
1232 ##############################################################################
1233 # Driver feature graph arc support
1234 ##############################################################################
1236 list(APPEND VNET_SOURCES
1238 feature/feature_api.c
1239 feature/registration.c
1242 list(APPEND VNET_HEADERS
1246 list(APPEND VNET_API_FILES feature/feature.api)
1248 ##############################################################################
1249 # Unix kernel related
1250 ##############################################################################
1252 # FIXME: unix/hgshm.c
1254 list(APPEND VNET_SOURCES
1259 list(APPEND VNET_HEADERS
1263 ##############################################################################
1265 ##############################################################################
1267 list(APPEND VNET_SOURCES
1279 fib/fib_entry_src_adj.c
1280 fib/fib_entry_src_api.c
1281 fib/fib_entry_src_drop.c
1282 fib/fib_entry_src_interface.c
1283 fib/fib_entry_src_interpose.c
1284 fib/fib_entry_src_lisp.c
1285 fib/fib_entry_src_mpls.c
1286 fib/fib_entry_src_simple.c
1287 fib/fib_entry_src_rr.c
1288 fib/fib_entry_cover.c
1289 fib/fib_entry_delegate.c
1290 fib/fib_entry_track.c
1296 fib/fib_attached_export.c
1301 list(APPEND VNET_HEADERS
1311 fib/fib_entry_delegate.h
1315 list(APPEND VNET_API_FILES fib/fib_types.api)
1317 ##############################################################################
1319 ##############################################################################
1321 list(APPEND VNET_SOURCES
1325 adj/adj_midchain_delegate.c
1335 list(APPEND VNET_MULTIARCH_SOURCES
1340 list(APPEND VNET_HEADERS
1350 ##############################################################################
1351 # Data-Plane Objects
1352 ##############################################################################
1354 list(APPEND VNET_SOURCES
1362 dpo/load_balance_map.c
1366 dpo/interface_rx_dpo.c
1367 dpo/interface_tx_dpo.c
1368 dpo/mpls_disposition.c
1369 dpo/mpls_label_dpo.c
1375 list(APPEND VNET_MULTIARCH_SOURCES
1377 dpo/mpls_disposition.c
1379 dpo/mpls_label_dpo.c
1380 dpo/interface_rx_dpo.c
1383 list(APPEND VNET_HEADERS
1395 ##############################################################################
1397 ##############################################################################
1399 list(APPEND VNET_SOURCES
1409 mfib/mfib_entry_cover.c
1410 mfib/mfib_entry_delegate.c
1411 mfib/mfib_entry_src.c
1412 mfib/mfib_entry_src_rr.c
1416 list(APPEND VNET_MULTIARCH_SOURCES
1420 list(APPEND VNET_HEADERS
1426 list(APPEND VNET_API_FILES mfib/mfib_types.api)
1428 ##############################################################################
1430 ##############################################################################
1432 list(APPEND VNET_SOURCES
1439 list(APPEND VNET_HEADERS
1443 ##############################################################################
1445 ##############################################################################
1447 list(APPEND VNET_SOURCES
1450 qos/qos_egress_map.c
1452 qos/qos_record_node.c
1454 qos/qos_store_node.c
1459 list(APPEND VNET_MULTIARCH_SOURCES
1460 qos/qos_record_node.c
1464 list(APPEND VNET_API_FILES qos/qos.api)
1466 ##############################################################################
1468 ##############################################################################
1470 list(APPEND VNET_SOURCES
1471 bier/bier_bit_string.c
1474 bier/bier_fmask_db.c
1483 bier/bier_imp_node.c
1485 bier/bier_disp_entry.c
1486 bier/bier_disp_lookup_node.c
1487 bier/bier_disp_dispatch_node.c
1488 bier/bier_disp_table.c
1489 bier/bier_bift_table.c
1492 list(APPEND VNET_MULTIARCH_SOURCES
1493 bier/bier_disp_dispatch_node.c
1494 bier/bier_disp_lookup_node.c
1495 bier/bier_imp_node.c
1498 list(APPEND VNET_HEADERS
1505 list(APPEND VNET_API_FILES bier/bier.api)
1507 ##############################################################################
1509 ##############################################################################
1511 list (APPEND VNET_SOURCES
1517 list(APPEND VNET_HEADERS
1522 list(APPEND VNET_API_FILES syslog/syslog.api)
1524 ##############################################################################
1526 ##############################################################################
1528 list (APPEND VNET_SOURCES
1532 list(APPEND VNET_HEADERS
1536 list(APPEND VNET_API_FILES pci/pci_types.api)
1538 ##############################################################################
1540 ##############################################################################
1542 list (APPEND VNET_SOURCES
1548 list(APPEND VNET_HEADERS
1552 list(APPEND VNET_API_FILES nhrp/nhrp.api)
1554 ##############################################################################
1556 ##############################################################################
1558 list (APPEND VNET_SOURCES
1564 list(APPEND VNET_HEADERS
1568 list(APPEND VNET_API_FILES arp/arp.api)
1570 list (APPEND VNET_SOURCES
1574 ip6-nd/ip6_nd_proxy.c
1580 list(APPEND VNET_HEADERS
1584 list(APPEND VNET_API_FILES
1589 ##############################################################################
1591 ##############################################################################
1593 add_vpp_library(vnet
1594 SOURCES ${VNET_SOURCES}
1595 MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES}
1596 INSTALL_HEADERS ${VNET_HEADERS}
1597 API_FILES ${VNET_API_FILES}
1598 LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
1599 DEPENDS vpp_version_h api_headers
1602 ##############################################################################
1603 # vpp api test client library
1604 ##############################################################################
1606 add_vpp_library (vatclient
1607 SOURCES ip/ip_types_api.c
1611 ##############################################################################