Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dgre.h49 if (o_flags & TUNNEL_KEY) in gre_calc_hlen()
65 tflags |= TUNNEL_KEY; in gre_flags_to_tnl_flags()
86 if (tflags & TUNNEL_KEY) in gre_tnl_flags_to_gre_flags()
125 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header()
132 if (flags & TUNNEL_KEY) { in gre_build_header()
Dip_tunnels.h149 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c27 return !!(parms.i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_ikey()
32 return !!(parms.o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
234 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp_ipip_can_offload_gre4()
/Linux-v4.19/net/ipv4/
Dip_tunnel.c75 if (p->i_flags & TUNNEL_KEY) { in ip_tunnel_key_match()
76 if (flags & TUNNEL_KEY) in ip_tunnel_key_match()
82 return !(flags & TUNNEL_KEY); in ip_tunnel_key_match()
201 if (!(parms->i_flags & TUNNEL_KEY) && (parms->i_flags & VTI_ISVTI)) in ip_bucket()
861 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
863 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
Dip_gre.c287 tpi->flags | TUNNEL_KEY, in erspan_rcv()
310 tpi->flags |= TUNNEL_KEY; in erspan_rcv()
365 flags = tpi->flags & (TUNNEL_CSUM | TUNNEL_KEY); in __ipgre_rcv()
555 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit()
751 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
/Linux-v4.19/net/bridge/
Dbr_vlan_tunnel.c71 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add()
/Linux-v4.19/net/sched/
Dact_tunnel_key.c257 flags = TUNNEL_KEY | TUNNEL_CSUM; in tunnel_key_init()
/Linux-v4.19/net/netfilter/
Dnft_tunnel.c325 info.key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in nft_tunnel_obj_init()
/Linux-v4.19/net/ipv6/
Dip6_gre.c585 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv()
765 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
966 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Daction.c320 NFP_FL_TUNNEL_KEY != TUNNEL_KEY || in nfp_fl_set_ipv4_udp_tun()
/Linux-v4.19/net/openvswitch/
Dflow_netlink.c695 tun_flags |= TUNNEL_KEY; in ip_tun_from_nlattr()
855 if (output->tun_flags & TUNNEL_KEY && in __ip_tun_to_nlattr()
/Linux-v4.19/drivers/net/
Dgeneve.c226 flags = TUNNEL_KEY | TUNNEL_GENEVE_OPT | in geneve_rx()
Dvxlan.c1420 tun_dst = udp_tun_rx_dst(skb, vxlan_get_sk_family(vs), TUNNEL_KEY, in vxlan_rcv()
/Linux-v4.19/net/core/
Dfilter.c3646 info->key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in BPF_CALL_4()