Home
last modified time | relevance | path

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

/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.c397 if (!(ip_tunnel_flags_to_be16(p->i_flags) & GRE_KEY)) in vti_tunnel_ctl()
399 if (!(ip_tunnel_flags_to_be16(p->o_flags) & GRE_KEY)) in vti_tunnel_ctl()
410 ip_tunnel_flags_from_be16(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.c1148 flags != (GRE_SEQ | GRE_KEY)) in erspan_validate()
/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)
/linux/include/net/
H A Dgre.h71 __assign_bit(IP_TUNNEL_KEY_BIT, res, flags & GRE_KEY); in gre_flags_to_tnl_flags()
89 flags |= GRE_KEY; in gre_tnl_flags_to_gre_flags()
/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()
/linux/net/ipv6/
H A Dip6_vti.c759 u->i_flags |= GRE_KEY; in vti6_parm_to_user()
761 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
H A Dip6_gre.c1325 if (!(p.i_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1327 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1723 flags != (GRE_SEQ | GRE_KEY)) in ip6erspan_tap_validate()
/linux/drivers/net/ppp/
H A Dpptp.c217 hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ; in pptp_xmit()
/linux/net/core/
H A Dflow_dissector.c682 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
692 if (hdr->flags & GRE_KEY) { in __skb_flow_dissect_gre()
/linux/net/netfilter/
H A Dnft_payload.c114 if (gre->flags & GRE_KEY) in __nft_payload_inner_offset()