Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dgre_offload.c151 if ((greh->flags & ~(GRE_KEY|GRE_CSUM)) != 0) in gre_gro_receive()
170 if (greh->flags & GRE_KEY) in gre_gro_receive()
213 if (greh->flags & GRE_KEY) { in gre_gro_receive()
248 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.c1112 flags != (GRE_SEQ | GRE_KEY)) in erspan_validate()
/linux-6.6.21/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.6.21/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.6.21/samples/bpf/
Dsockex2_kern.c146 if (gre_flags & GRE_KEY) in flow_dissector()
Dsockex3_kern.c130 if (gre_flags & GRE_KEY) in parse_ip_proto()
/linux-6.6.21/net/ipv6/
Dip6_vti.c763 u->i_flags |= GRE_KEY; in vti6_parm_to_user()
765 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
Dip6_gre.c1309 if (!(p.i_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1311 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1717 flags != (GRE_SEQ | GRE_KEY)) in ip6erspan_tap_validate()
/linux-6.6.21/drivers/net/ppp/
Dpptp.c217 hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ; in pptp_xmit()
/linux-6.6.21/net/core/
Dflow_dissector.c658 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
668 if (hdr->flags & GRE_KEY) { in __skb_flow_dissect_gre()
/linux-6.6.21/net/netfilter/
Dnft_payload.c123 if (gre->flags & GRE_KEY) in __nft_payload_inner_offset()
/linux-6.6.21/net/xfrm/
Dxfrm_policy.c3435 if (greflags[0] & GRE_KEY) { in decode_session4()
3531 if (gre_hdr->flags & GRE_KEY) { in decode_session6()