Home
last modified time | relevance | path

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

/linux-5.19.10/net/ipv4/
Dgre_offload.c153 if ((greh->flags & ~(GRE_KEY|GRE_CSUM)) != 0) in gre_gro_receive()
172 if (greh->flags & GRE_KEY) in gre_gro_receive()
215 if (greh->flags & GRE_KEY) { in gre_gro_receive()
250 if (greh->flags & GRE_KEY) in gre_gro_complete()
Dip_vti.c386 if (!(p->i_flags & GRE_KEY)) in vti_tunnel_ctl()
388 if (!(p->o_flags & GRE_KEY)) in vti_tunnel_ctl()
398 p->i_flags |= GRE_KEY; in vti_tunnel_ctl()
399 p->o_flags |= GRE_KEY; in vti_tunnel_ctl()
Dgre_demux.c98 if (greh->flags & GRE_KEY) { in gre_parse_header()
Dip_gre.c1107 flags != (GRE_SEQ | GRE_KEY)) in erspan_validate()
/linux-5.19.10/include/uapi/linux/
Dif_tunnel.h27 #define GRE_KEY __cpu_to_be16(0x2000) macro
37 #define GRE_IS_KEY(f) ((f) & GRE_KEY)
/linux-5.19.10/include/net/
Dgre.h73 if (flags & GRE_KEY) in gre_flags_to_tnl_flags()
96 flags |= GRE_KEY; in gre_tnl_flags_to_gre_flags()
/linux-5.19.10/samples/bpf/
Dsockex2_kern.c146 if (gre_flags & GRE_KEY) in flow_dissector()
Dsockex3_kern.c165 if (gre_flags & GRE_KEY) in parse_ip_proto()
/linux-5.19.10/net/ipv6/
Dip6_vti.c765 u->i_flags |= GRE_KEY; in vti6_parm_to_user()
767 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
Dip6_gre.c1299 if (!(p.i_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1301 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1707 flags != (GRE_SEQ | GRE_KEY)) in ip6erspan_tap_validate()
/linux-5.19.10/drivers/net/ppp/
Dpptp.c203 hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ; in pptp_xmit()
/linux-5.19.10/net/core/
Dflow_dissector.c556 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
566 if (hdr->flags & GRE_KEY) { in __skb_flow_dissect_gre()
/linux-5.19.10/net/xfrm/
Dxfrm_policy.c3346 if (greflags[0] & GRE_KEY) { in decode_session4()
3442 if (gre_hdr->flags & GRE_KEY) { in decode_session6()