Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dgre_offload.c150 if ((greh->flags & ~(GRE_KEY|GRE_CSUM)) != 0) in gre_gro_receive()
169 if (greh->flags & GRE_KEY) in gre_gro_receive()
212 if (greh->flags & GRE_KEY) { in gre_gro_receive()
247 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-6.1.9/include/uapi/linux/
Dif_tunnel.h27 #define GRE_KEY __cpu_to_be16(0x2000) macro
37 #define GRE_IS_KEY(f) ((f) & GRE_KEY)
/linux-6.1.9/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-6.1.9/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-6.1.9/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.c1328 if (!(p.i_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1330 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1736 flags != (GRE_SEQ | GRE_KEY)) in ip6erspan_tap_validate()
/linux-6.1.9/drivers/net/ppp/
Dpptp.c203 hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ; in pptp_xmit()
/linux-6.1.9/net/core/
Dflow_dissector.c580 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
590 if (hdr->flags & GRE_KEY) { in __skb_flow_dissect_gre()
/linux-6.1.9/net/xfrm/
Dxfrm_policy.c3345 if (greflags[0] & GRE_KEY) { in decode_session4()
3441 if (gre_hdr->flags & GRE_KEY) { in decode_session6()