Home
last modified time | relevance | path

Searched refs:TUNNEL_KEY (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/include/net/
Dgre.h58 if (o_flags & TUNNEL_KEY) in gre_calc_hlen()
74 tflags |= TUNNEL_KEY; in gre_flags_to_tnl_flags()
95 if (tflags & TUNNEL_KEY) in gre_tnl_flags_to_gre_flags()
134 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header()
141 if (flags & TUNNEL_KEY) { in gre_build_header()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c29 return !!(parms.i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_ikey()
34 return !!(parms.o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
238 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp_ipip_can_offload_gre4()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_gre.c47 if (tun_key->tun_flags & TUNNEL_KEY) { in mlx5e_gen_ip_tunnel_header_gretap()
/Linux-v5.10/net/ipv4/
Dip_tunnel.c62 if (p->i_flags & TUNNEL_KEY) { in ip_tunnel_key_match()
63 if (flags & TUNNEL_KEY) in ip_tunnel_key_match()
69 return !(flags & TUNNEL_KEY); in ip_tunnel_key_match()
186 if (!(parms->i_flags & TUNNEL_KEY) && (parms->i_flags & VTI_ISVTI)) in ip_bucket()
881 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
883 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
Dip_gre.c284 tpi->flags | TUNNEL_KEY, in erspan_rcv()
310 tpi->flags |= TUNNEL_KEY; in erspan_rcv()
377 flags = tpi->flags & (TUNNEL_CSUM | TUNNEL_KEY); in __ipgre_rcv()
499 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit()
701 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
1490 o_flags |= TUNNEL_KEY; in ipgre_fill_info()
/Linux-v5.10/include/uapi/linux/
Dif_tunnel.h166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/Linux-v5.10/net/psample/
Dpsample.c221 if (tun_key->tun_flags & TUNNEL_KEY && in __psample_ip_tun_to_nlattr()
314 if (tun_key->tun_flags & TUNNEL_KEY) in psample_tunnel_meta_len()
/Linux-v5.10/net/bridge/
Dbr_vlan_tunnel.c66 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c561 key.enc_tp.dst, TUNNEL_KEY, in mlx5e_restore_tunnel()
567 key.enc_tp.dst, 0, TUNNEL_KEY, in mlx5e_restore_tunnel()
/Linux-v5.10/net/sched/
Dact_tunnel_key.c414 flags = TUNNEL_KEY; in tunnel_key_init()
740 if (((key->tun_flags & TUNNEL_KEY) && in tunnel_key_dump()
/Linux-v5.10/net/ipv6/
Dip6_gre.c563 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv()
762 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
972 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
2139 o_flags |= TUNNEL_KEY; in ip6gre_fill_info()
/Linux-v5.10/net/netfilter/
Dnft_tunnel.c429 info.key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in nft_tunnel_obj_init()
/Linux-v5.10/drivers/net/
Dbareudp.c127 tun_dst = udp_tun_rx_dst(skb, family, TUNNEL_KEY, 0, 0); in bareudp_udp_encap_recv()
Dgeneve.c227 flags = TUNNEL_KEY | (gnvh->oam ? TUNNEL_OAM : 0) | in geneve_rx()
Dvxlan.c1885 tun_dst = udp_tun_rx_dst(skb, vxlan_get_sk_family(vs), TUNNEL_KEY, in vxlan_rcv()
/Linux-v5.10/net/openvswitch/
Dflow_netlink.c687 tun_flags |= TUNNEL_KEY; in ip_tun_from_nlattr()
819 tun_flags & ~TUNNEL_KEY) { in ip_tun_from_nlattr()
864 if (output->tun_flags & TUNNEL_KEY && in __ip_tun_to_nlattr()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c419 NFP_FL_TUNNEL_KEY != TUNNEL_KEY || in nfp_fl_set_tun()
/Linux-v5.10/net/core/
Dfilter.c4354 info->key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in BPF_CALL_4()