X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2FCMakeLists.txt;h=5465d717f8c33ea053b11b89ea0da256c0fd4bfa;hb=097fa66b9;hp=ff817526061ab405d73c4d1c27cb78651d8e82fc;hpb=ba7d8f5a3d4078d673486fbb91fe0ce87dfe7230;p=vpp.git diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index ff817526061..5465d717f8c 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -39,6 +39,12 @@ list(APPEND VNET_SOURCES misc.c ) +list(APPEND VNET_MULTIARCH_SOURCES + interface_output.c + interface_stats.c + handoff.c +) + list(APPEND VNET_HEADERS api_errno.h buffer.h @@ -52,6 +58,7 @@ list(APPEND VNET_HEADERS interface_funcs.h ip/ip4_to_ip6.h ip/ip6_to_ip4.h + ip/ip_types_api.h l3_types.h plugin/plugin.h pipeline.h @@ -62,7 +69,10 @@ list(APPEND VNET_HEADERS util/refcount.h ) -list(APPEND VNET_API_FILES interface.api) +list(APPEND VNET_API_FILES + interface.api + ip/ip_types.api +) ############################################################################## # Policer infra @@ -74,6 +84,10 @@ list(APPEND VNET_SOURCES policer/policer_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + policer/node_funcs.c +) + list(APPEND VNET_HEADERS policer/police.h policer/policer.h @@ -93,6 +107,12 @@ list(APPEND VNET_SOURCES cop/cop_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + cop/node1.c + cop/ip4_whitelist.c + cop/ip6_whitelist.c +) + list(APPEND VNET_HEADERS cop/cop.h ) @@ -120,7 +140,10 @@ list(APPEND VNET_SOURCES ethernet/p2p_ethernet_api.c ) -list(APPEND VNET_MULTIARCH_SOURCES ethernet/node.c) +list(APPEND VNET_MULTIARCH_SOURCES + ethernet/node.c + ethernet/p2p_ethernet_input.c +) list(APPEND VNET_HEADERS ethernet/error.def @@ -142,6 +165,7 @@ list(APPEND VNET_SOURCES l2/l2_api.c l2/l2_bd.c l2/l2_bvi.c + l2/l2_bvi_node.c l2/l2_input_classify.c l2/l2_output_classify.c l2/l2_efp_filter.c @@ -162,10 +186,22 @@ list(APPEND VNET_SOURCES ) list(APPEND VNET_MULTIARCH_SOURCES + l2/l2_bvi_node.c l2/l2_fwd.c l2/l2_learn.c l2/l2_output.c l2/l2_patch.c + l2/l2_in_out_feat_arc.c + l2/l2_input_classify.c + l2/l2_input.c + l2/l2_output_classify.c + l2/l2_flood.c + l2/l2_uu_fwd.c + l2/l2_efp_filter.c + l2/l2_rw.c + l2/l2_xcrw.c + l2/l2_in_out_acl.c + l2/l2_input_vtr.c ) list(APPEND VNET_HEADERS @@ -268,6 +304,10 @@ list(APPEND VNET_SOURCES vxlan/vxlan_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + vxlan/encap.c +) + list(APPEND VNET_HEADERS vxlan/vxlan.h vxlan/vxlan_packet.h @@ -288,6 +328,11 @@ list(APPEND VNET_SOURCES geneve/geneve_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + geneve/encap.c + geneve/decap.c +) + list(APPEND VNET_HEADERS geneve/geneve.h geneve/geneve_packet.h @@ -345,6 +390,11 @@ list(APPEND VNET_SOURCES classify/classify_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + classify/ip_classify.c + classify/flow_classify_node.c +) + list(APPEND VNET_HEADERS classify/vnet_classify.h classify/in_out_acl.h @@ -395,10 +445,24 @@ list(APPEND VNET_SOURCES ip/ip.c ip/ip_init.c ip/ip_in_out_acl.c + ip/ip_punt_drop.c ip/lookup.c ip/ping.c ip/punt_api.c ip/punt.c + ip/punt_node.c +) + +list(APPEND VNET_MULTIARCH_SOURCES + ip/ip4_source_check.c + ip/ip4_punt_drop.c + ip/ip4_reassembly.c + ip/ip6_hop_by_hop.c + ip/ip6_reassembly.c + ip/ip6_input.c + ip/ip6_punt_drop.c + ip/punt_node.c + ip/ip_in_out_acl.c ) list(APPEND VNET_HEADERS @@ -474,6 +538,20 @@ list(APPEND VNET_SOURCES list(APPEND VNET_API_FILES bfd/bfd.api) +############################################################################## +# Crypto +############################################################################## + +list(APPEND VNET_SOURCES + crypto/cli.c + crypto/crypto.c + crypto/format.c +) + +list(APPEND VNET_HEADERS + crypto/crypto.h +) + ############################################################################## # Layer 3 protocol: IPSec ############################################################################## @@ -484,6 +562,7 @@ list(APPEND VNET_SOURCES ipsec/ipsec_input.c ipsec/ipsec_if.c ipsec/ipsec_if_in.c + ipsec/ipsec_punt.c ipsec/ipsec_sa.c ipsec/ipsec_spd.c ipsec/ipsec_spd_policy.c @@ -492,11 +571,6 @@ list(APPEND VNET_SOURCES ipsec/esp_decrypt.c ipsec/ah_decrypt.c ipsec/ah_encrypt.c - ipsec/ikev2.c - ipsec/ikev2_crypto.c - ipsec/ikev2_cli.c - ipsec/ikev2_payload.c - ipsec/ikev2_format.c ipsec/ipsec_api.c ) @@ -522,10 +596,9 @@ list(APPEND VNET_HEADERS ipsec/ipsec_spd_policy.h ipsec/ipsec_sa.h ipsec/ipsec_if.h + ipsec/ipsec_punt.h ipsec/esp.h ipsec/ah.h - ipsec/ikev2.h - ipsec/ikev2_priv.h ) ############################################################################## @@ -556,6 +629,12 @@ list(APPEND VNET_SOURCES tcp/tcp.c ) +list(APPEND VNET_MULTIARCH_SOURCES + tcp/tcp_input.c + tcp/tcp_output.c + tcp/tcp_syn_filter4.c +) + list(APPEND VNET_HEADERS tcp/tcp_packet.h tcp/tcp_timer.h @@ -580,6 +659,11 @@ list(APPEND VNET_SOURCES udp/udp_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + udp/udp_local.c + udp/udp_encap_node.c +) + list(APPEND VNET_HEADERS udp/udp_error.def udp/udp.h @@ -597,9 +681,15 @@ list(APPEND VNET_SOURCES sctp/sctp_pg.c sctp/sctp_input.c sctp/sctp_output.c + sctp/sctp_output_node.c sctp/sctp_format.c ) +list(APPEND VNET_MULTIARCH_SOURCES + sctp/sctp_output_node.c + sctp/sctp_input.c +) + list(APPEND VNET_HEADERS sctp/sctp_error.def sctp/sctp_packet.h @@ -620,6 +710,11 @@ list(APPEND VNET_SOURCES gre/gre_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + gre/node.c + gre/gre.c +) + list(APPEND VNET_HEADERS gre/gre.h gre/packet.h @@ -639,6 +734,10 @@ list(APPEND VNET_SOURCES ipip/ipip_cli.c ) +list(APPEND VNET_MULTIARCH_SOURCES + ipip/node.c +) + list(APPEND VNET_HEADERS ipip/ipip.h ) @@ -656,6 +755,11 @@ list(APPEND VNET_SOURCES l2tp/l2tp_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + l2tp/encap.c + l2tp/decap.c +) + list(APPEND VNET_HEADERS l2tp/l2tp.h l2tp/packet.h @@ -678,6 +782,13 @@ list(APPEND VNET_SOURCES mpls/mpls_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + mpls/mpls_output.c + mpls/mpls_input.c + mpls/mpls_lookup.c + mpls/mpls_features.c +) + list(APPEND VNET_HEADERS mpls/mpls.h mpls/mpls_types.h @@ -699,6 +810,11 @@ list(APPEND VNET_SOURCES vxlan-gbp/vxlan_gbp_packet.c ) +list (APPEND VNET_MULTIARCH_SOURCES + vxlan-gbp/decap.c + vxlan-gbp/encap.c +) + list(APPEND VNET_HEADERS vxlan-gbp/vxlan_gbp.h vxlan-gbp/vxlan_gbp_packet.h @@ -718,6 +834,10 @@ list(APPEND VNET_SOURCES vxlan-gpe/vxlan_gpe_api.c ) +list (APPEND VNET_MULTIARCH_SOURCES + vxlan-gpe/decap.c +) + list(APPEND VNET_HEADERS vxlan-gpe/vxlan_gpe.h vxlan-gpe/vxlan_gpe_packet.h @@ -736,6 +856,11 @@ list(APPEND VNET_SOURCES ipsec-gre/ipsec_gre_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + ipsec-gre/node.c + ipsec-gre/ipsec_gre.c +) + list(APPEND VNET_HEADERS ipsec-gre/ipsec_gre.h ipsec-gre/error.def @@ -812,6 +937,10 @@ list(APPEND VNET_SOURCES dhcp/dhcp_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + dhcp/dhcp_client_detect.c +) + list(APPEND VNET_HEADERS dhcp/client.h dhcp/dhcp6_client_common_dp.h @@ -914,6 +1043,10 @@ list(APPEND VNET_SOURCES lawful-intercept/node.c ) +list(APPEND VNET_MULTIARCH_SOURCES + lawful-intercept/node.c +) + list(APPEND VNET_HEADERS lawful-intercept/lawful_intercept.h ) @@ -928,6 +1061,10 @@ list(APPEND VNET_SOURCES span/node.c ) +list(APPEND VNET_MULTIARCH_SOURCES + span/node.c +) + list(APPEND VNET_HEADERS span/span.h ) @@ -999,6 +1136,10 @@ list(APPEND VNET_HEADERS list(APPEND VNET_MULTIARCH_SOURCES devices/virtio/vhost_user_input.c devices/virtio/vhost_user_output.c + devices/netmap/node.c + devices/virtio/node.c + devices/af_packet/node.c + devices/virtio/device.c ) list(APPEND VNET_API_FILES @@ -1121,6 +1262,11 @@ list(APPEND VNET_SOURCES devices/af_packet/af_packet_api.c ) +list(APPEND VNET_MULTIARCH_SOURCES + devices/netmap/device.c + devices/af_packet/device.c +) + list(APPEND VNET_HEADERS devices/af_packet/af_packet.h ) @@ -1233,6 +1379,7 @@ list(APPEND VNET_SOURCES adj/adj_nbr.c adj/adj_glean.c adj/adj_midchain.c + adj/adj_midchain_delegate.c adj/adj_mcast.c adj/adj_l2.c adj/adj_nsh.c @@ -1242,6 +1389,11 @@ list(APPEND VNET_SOURCES adj/adj_delegate.c ) +list(APPEND VNET_MULTIARCH_SOURCES + adj/adj_nsh.c + adj/adj_l2.c +) + list(APPEND VNET_HEADERS adj/adj.h adj/adj_types.h @@ -1275,6 +1427,14 @@ list(APPEND VNET_SOURCES dpo/dvr_dpo.c ) +list(APPEND VNET_MULTIARCH_SOURCES + dpo/lookup_dpo.h + dpo/mpls_disposition.c + dpo/dvr_dpo.c + dpo/mpls_label_dpo.c + dpo/interface_rx_dpo.c +) + list(APPEND VNET_HEADERS dpo/load_balance.h dpo/drop_dpo.h @@ -1295,6 +1455,7 @@ list(APPEND VNET_SOURCES mfib/mfib_forward.c mfib/ip4_mfib.c mfib/ip6_mfib.c + mfib/mfib_api.c mfib/mfib_types.c mfib/mfib_signal.c mfib/mfib_itf.c @@ -1307,6 +1468,10 @@ list(APPEND VNET_SOURCES mfib/mfib_table.c ) +list(APPEND VNET_MULTIARCH_SOURCES + mfib/mfib_forward.c +) + list(APPEND VNET_HEADERS mfib/ip4_mfib.h mfib/mfib_types.h @@ -1337,7 +1502,14 @@ list(APPEND VNET_SOURCES qos/qos_api.c qos/qos_egress_map.c qos/qos_record.c + qos/qos_record_node.c qos/qos_mark.c + qos/qos_mark_node.c +) + +list(APPEND VNET_MULTIARCH_SOURCES + qos/qos_record_node.c + qos/qos_mark_node.c ) list(APPEND VNET_API_FILES qos/qos.api) @@ -1368,6 +1540,12 @@ list(APPEND VNET_SOURCES bier/bier_bift_table.c ) +list(APPEND VNET_MULTIARCH_SOURCES + bier/bier_disp_dispatch_node.c + bier/bier_disp_lookup_node.c + bier/bier_imp_node.c +) + list(APPEND VNET_HEADERS bier/bier_types.h bier/bier_entry.h @@ -1419,6 +1597,12 @@ if(VPP_BUILD_SESSION_ECHO_APPS) DEPENDS api_headers NO_INSTALL ) + add_vpp_executable(quic_echo + SOURCES ../tests/vnet/session/quic_echo.c + LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt + DEPENDS api_headers + NO_INSTALL + ) add_vpp_executable(udp_echo SOURCES ../tests/vnet/session/udp_echo.c LINK_LIBRARIES vlibmemoryclient svm vppinfra pthread m rt