Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A 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()
H A 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()
H A Dgre_demux.c98 if (greh->flags & GRE_KEY) { in gre_parse_header()
H A Dip_gre.c1117 flags != (GRE_SEQ | GRE_KEY)) in erspan_validate()
/openbmc/linux/include/uapi/linux/
H A Dif_tunnel.h27 #define GRE_KEY __cpu_to_be16(0x2000) macro
37 #define GRE_IS_KEY(f) ((f) & GRE_KEY)
/openbmc/linux/include/net/
H A Dgre.h73 if (flags & GRE_KEY) in gre_flags_to_tnl_flags()
96 flags |= GRE_KEY; in gre_tnl_flags_to_gre_flags()
/openbmc/linux/samples/bpf/
H A Dsockex2_kern.c146 if (gre_flags & GRE_KEY) in flow_dissector()
H A Dsockex3_kern.c130 if (gre_flags & GRE_KEY) in parse_ip_proto()
/openbmc/linux/net/ipv6/
H A Dip6_vti.c763 u->i_flags |= GRE_KEY; in vti6_parm_to_user()
765 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
H A Dip6_gre.c1312 if (!(p.i_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1314 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1721 flags != (GRE_SEQ | GRE_KEY)) in ip6erspan_tap_validate()
/openbmc/linux/drivers/net/ppp/
H A Dpptp.c217 hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ; in pptp_xmit()
/openbmc/linux/net/core/
H A 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()
/openbmc/linux/net/netfilter/
H A Dnft_payload.c114 if (gre->flags & GRE_KEY) in __nft_payload_inner_offset()
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c3437 if (greflags[0] & GRE_KEY) { in decode_session4()
3533 if (gre_hdr->flags & GRE_KEY) { in decode_session6()