Home
last modified time | relevance | path

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

/linux/include/net/
A 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()
123 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header()
130 if (flags & TUNNEL_KEY) { in gre_build_header()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ipip.c29 return !!(parms->i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_ikey()
34 return !!(parms->i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_ikey()
39 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
44 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_okey()
241 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp_ipip_can_offload_gre4()
528 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp2_ipip_can_offload_gre6()
/linux/net/ipv4/
A 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()
884 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
886 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
A Dip_gre.c286 tpi->flags | TUNNEL_KEY, in erspan_rcv()
312 tpi->flags |= TUNNEL_KEY; in erspan_rcv()
382 flags = tpi->flags & (TUNNEL_CSUM | TUNNEL_KEY); in __ipgre_rcv()
504 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit()
711 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
1500 o_flags |= TUNNEL_KEY; in ipgre_fill_info()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun_gre.c47 if (tun_key->tun_flags & TUNNEL_KEY) { in mlx5e_gen_ip_tunnel_header_gretap()
/linux/include/uapi/linux/
A Dif_tunnel.h166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/linux/net/bridge/
A Dbr_vlan_tunnel.c73 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add()
/linux/net/psample/
A Dpsample.c222 if (tun_key->tun_flags & TUNNEL_KEY && in __psample_ip_tun_to_nlattr()
315 if (tun_key->tun_flags & TUNNEL_KEY) in psample_tunnel_meta_len()
/linux/net/sched/
A Dact_tunnel_key.c414 flags = TUNNEL_KEY; in tunnel_key_init()
740 if (((key->tun_flags & TUNNEL_KEY) && in tunnel_key_dump()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A Dtc.c596 key.enc_tp.dst, TUNNEL_KEY, in mlx5e_restore_tunnel()
602 key.enc_tp.dst, 0, TUNNEL_KEY, in mlx5e_restore_tunnel()
/linux/net/ipv6/
A Dip6_gre.c562 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv()
761 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
971 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
2137 o_flags |= TUNNEL_KEY; in ip6gre_fill_info()
/linux/net/netfilter/
A Dnft_tunnel.c427 info.key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in nft_tunnel_obj_init()
/linux/drivers/net/
A Dbareudp.c133 tun_dst = udp_tun_rx_dst(skb, family, TUNNEL_KEY, 0, 0); in bareudp_udp_encap_recv()
A Dgeneve.c228 flags = TUNNEL_KEY | (gnvh->oam ? TUNNEL_OAM : 0) | in geneve_rx()
A Dvxlan.c1886 tun_dst = udp_tun_rx_dst(skb, vxlan_get_sk_family(vs), TUNNEL_KEY, in vxlan_rcv()
/linux/net/openvswitch/
A 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/drivers/net/ethernet/netronome/nfp/flower/
A Daction.c420 NFP_FL_TUNNEL_KEY != TUNNEL_KEY || in nfp_fl_set_tun()
/linux/net/core/
A Dfilter.c4344 info->key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in BPF_CALL_4()

Completed in 61 milliseconds