Home
last modified time | relevance | path

Searched refs:GRE_KEY (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/net/ipv4/
Dgre_offload.c143 if ((greh->flags & ~(GRE_KEY|GRE_CSUM)) != 0) in gre_gro_receive()
163 if (greh->flags & GRE_KEY) in gre_gro_receive()
206 if (greh->flags & GRE_KEY) { in gre_gro_receive()
243 if (greh->flags & GRE_KEY) in gre_gro_complete()
Dip_vti.c344 if (!(p.i_flags & GRE_KEY)) in vti_tunnel_ioctl()
346 if (!(p.o_flags & GRE_KEY)) in vti_tunnel_ioctl()
356 p.i_flags |= GRE_KEY; in vti_tunnel_ioctl()
357 p.o_flags |= GRE_KEY; in vti_tunnel_ioctl()
Dgre_demux.c99 if (greh->flags & GRE_KEY) { in gre_parse_header()
Dxfrm4_policy.c203 if (greflags[0] & GRE_KEY) { in _decode_session4()
Dip_gre.c1141 flags != (GRE_SEQ | GRE_KEY)) in erspan_validate()
/Linux-v4.19/include/uapi/linux/
Dif_tunnel.h27 #define GRE_KEY __cpu_to_be16(0x2000) macro
37 #define GRE_IS_KEY(f) ((f) & GRE_KEY)
/Linux-v4.19/include/net/
Dgre.h64 if (flags & GRE_KEY) in gre_flags_to_tnl_flags()
87 flags |= GRE_KEY; in gre_tnl_flags_to_gre_flags()
/Linux-v4.19/samples/bpf/
Dsockex2_kern.c144 if (gre_flags & GRE_KEY) in flow_dissector()
Dsockex3_kern.c162 if (gre_flags & GRE_KEY) in parse_ip_proto()
/Linux-v4.19/net/ipv6/
Dip6_vti.c730 u->i_flags |= GRE_KEY; in vti6_parm_to_user()
732 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
Dip6_gre.c446 if (flags & GRE_KEY) { in ip6gre_err()
1274 if (!(p.i_flags&GRE_KEY)) in ip6gre_tunnel_ioctl()
1276 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_ioctl()
1686 flags != (GRE_SEQ | GRE_KEY)) in ip6erspan_tap_validate()
/Linux-v4.19/net/core/
Dflow_dissector.c378 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
388 if (hdr->flags & GRE_KEY) { in __skb_flow_dissect_gre()
/Linux-v4.19/drivers/net/ppp/
Dpptp.c208 hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ; in pptp_xmit()