| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_xmit.c | 403 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in __ip_vs_get_out_rt() 409 } else if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in __ip_vs_get_out_rt() 581 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in __ip_vs_get_out_rt_v6() 587 } else if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in __ip_vs_get_out_rt_v6() 1163 int tun_type, gso_type; in ip_vs_tunnel_xmit() local 1184 tun_type = cp->dest->tun_type; in ip_vs_tunnel_xmit() 1187 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit() 1197 } else if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ip_vs_tunnel_xmit() 1217 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit() 1227 } else if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ip_vs_tunnel_xmit() [all …]
|
| H A D | ip_vs_ctl.c | 899 switch (dest->tun_type) { in ip_vs_rs_hash() 1371 udest->tun_type != dest->tun_type || in __ip_vs_update_dest() 1376 dest->tun_type = udest->tun_type; in __ip_vs_update_dest() 1535 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_add_dest() 1611 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_edit_dest() 3468 udest->tun_type = IP_VS_CONN_F_TUNNEL_TYPE_IPIP; in ip_vs_copy_udest_compat() 4324 dest->tun_type) || in ip_vs_genl_fill_dest() 4469 udest->tun_type = nla_get_u8(nla_tun_type); in ip_vs_genl_parse_dest()
|
| H A D | ip_vs_core.c | 1696 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ipvs_udp_decap() 1730 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ipvs_gre_decap() 1831 if (!dest || dest->tun_type != IP_VS_CONN_F_TUNNEL_TYPE_IPIP) in ip_vs_in_icmp()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | cmsg.h | 707 enum nfp_flower_tun_type tun_type) in nfp_fl_netdev_is_tunnel_type() argument 710 return tun_type == NFP_FL_TUNNEL_VXLAN; in nfp_fl_netdev_is_tunnel_type() 712 return tun_type == NFP_FL_TUNNEL_GRE; in nfp_fl_netdev_is_tunnel_type() 714 return tun_type == NFP_FL_TUNNEL_GENEVE; in nfp_fl_netdev_is_tunnel_type()
|
| H A D | match.c | 73 bool mask_version, enum nfp_flower_tun_type tun_type, in nfp_flower_compile_port() argument 81 if (tun_type) { in nfp_flower_compile_port() 82 frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_flower_compile_port() 541 enum nfp_flower_tun_type tun_type, in nfp_flower_compile_flow_match() argument 580 port_id, false, tun_type, extack); in nfp_flower_compile_flow_match() 586 port_id, true, tun_type, extack); in nfp_flower_compile_flow_match()
|
| H A D | offload.c | 177 enum nfp_flower_tun_type *tun_type, bool ipv6, in nfp_flower_calc_udp_tun_layer() argument 184 *tun_type = NFP_FL_TUNNEL_VXLAN; in nfp_flower_calc_udp_tun_layer() 206 *tun_type = NFP_FL_TUNNEL_GENEVE; in nfp_flower_calc_udp_tun_layer() 242 enum nfp_flower_tun_type *tun_type, in nfp_flower_calculate_key_layers() argument 372 *tun_type = NFP_FL_TUNNEL_GRE; in nfp_flower_calculate_key_layers() 402 tun_type, ipv6_tun, in nfp_flower_calculate_key_layers() 410 if (!nfp_fl_netdev_is_tunnel_type(netdev, *tun_type)) { in nfp_flower_calculate_key_layers() 1336 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_flower_add_offload() local 1362 &tun_type, extack); in nfp_flower_add_offload() 1373 flow_pay, tun_type, extack); in nfp_flower_add_offload()
|
| H A D | main.h | 566 bool mask_version, enum nfp_flower_tun_type tun_type, 614 enum nfp_flower_tun_type tun_type, 707 enum nfp_flower_tun_type *tun_type,
|
| H A D | conntrack.c | 813 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_fl_ct_add_offload() local 852 &tun_type, NULL); in nfp_fl_ct_add_offload() 896 port_id, false, tun_type, NULL); in nfp_fl_ct_add_offload() 900 port_id, true, tun_type, NULL); in nfp_fl_ct_add_offload()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc.h | 162 enum efx_encap_type tun_type; member 192 enum efx_encap_type tun_type; member
|
| H A D | tc.c | 586 encap->tun_type = type; in efx_tc_flower_record_encap_match() 658 if (old->tun_type != type) { in efx_tc_flower_record_encap_match() 661 old->tun_type, type); in efx_tc_flower_record_encap_match() 1532 rule->lhs_act.tun_type = type; in efx_tc_flower_replace_foreign_lhs_ar() 1644 rule->lhs_act.tun_type = type; in efx_tc_flower_replace_foreign_lhs()
|
| H A D | mae.c | 1475 rc = efx_mae_encap_type_to_mae_type(encap->tun_type); in efx_mae_register_encap_match() 1700 rc = efx_mae_encap_type_to_mae_type(act->tun_type); in efx_mae_insert_lhs_outer_rule()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_sp_commands.c | 183 struct qed_tunn_update_type *tun_type) in __qed_set_ramrod_tunnel_param() argument 185 *p_tunn_cls = tun_type->tun_cls; in __qed_set_ramrod_tunnel_param() 190 struct qed_tunn_update_type *tun_type, in qed_set_ramrod_tunnel_param() argument 195 __qed_set_ramrod_tunnel_param(p_tunn_cls, tun_type); in qed_set_ramrod_tunnel_param()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_tun.h | 120 u32 tun_type);
|
| /linux/samples/bpf/ |
| H A D | tc_l2_redirect.sh | 15 local tun_type=$1 47 if [[ $tun_type == "ipip" ]]; then
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_switch.h | 203 enum ice_sw_tunnel_type tun_type; member 235 enum ice_sw_tunnel_type tun_type; member
|
| H A D | ice_tc_lib.c | 392 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules()
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | tso.py | 108 tun_type = tun_info[0]
|
| /linux/include/net/ |
| H A D | ip_vs.h | 923 u16 tun_type; /* tunnel type */ member 987 __u16 tun_type; /* tunnel type */ member
|