Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dip_gre.c132 if (o_flags & TUNNEL_KEY) in ip_gre_calc_hlen()
148 tflags |= TUNNEL_KEY; in gre_flags_to_tnl_flags()
169 if (tflags & TUNNEL_KEY) in tnl_flags_to_gre_flags()
407 flags = tpi->flags & (TUNNEL_CSUM | TUNNEL_KEY); in ipgre_rcv()
461 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in build_header()
468 if (flags & TUNNEL_KEY) { in build_header()
565 flags = tun_info->key.tun_flags & (TUNNEL_CSUM | TUNNEL_KEY); in gre_fb_xmit()
Dip_tunnel.c130 if (p->i_flags & TUNNEL_KEY) { in ip_tunnel_key_match()
131 if (flags & TUNNEL_KEY) in ip_tunnel_key_match()
137 return !(flags & TUNNEL_KEY); in ip_tunnel_key_match()
256 if (!(parms->i_flags & TUNNEL_KEY) && (parms->i_flags & VTI_ISVTI)) in ip_bucket()
874 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
876 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
/linux-4.4.14/include/net/
Dip_tunnels.h133 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/linux-4.4.14/net/openvswitch/
Dflow_netlink.c578 tun_flags |= TUNNEL_KEY; in ip_tun_from_nlattr()
722 if (output->tun_flags & TUNNEL_KEY && in __ip_tun_to_nlattr()
/linux-4.4.14/drivers/net/
Dgeneve.c204 flags = TUNNEL_KEY | TUNNEL_GENEVE_OPT | in geneve_rx()
Dvxlan.c1289 tun_dst = udp_tun_rx_dst(skb, vxlan_get_sk_family(vs), TUNNEL_KEY, in vxlan_udp_encap_recv()
/linux-4.4.14/net/core/
Dfilter.c1605 info->key.tun_flags = TUNNEL_KEY; in bpf_skb_set_tunnel_key()