Searched refs:GRE_VERSION (Results 1 – 11 of 11) sorted by relevance
81 if (flags & GRE_VERSION) in gre_flags_to_tnl_flags()104 flags |= GRE_VERSION; in gre_tnl_flags_to_gre_flags()
33 #define GRE_VERSION __cpu_to_be16(0x0007) macro
71 if (unlikely(greh->flags & (GRE_VERSION | GRE_ROUTING))) in gre_parse_header()
758 ((p.i_flags | p.o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ioctl()1016 if (flags & (GRE_VERSION|GRE_ROUTING)) in ipgre_tunnel_validate()
138 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in flow_dissector()
156 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in parse_ip_proto()
175 if (!grehdr || (grehdr->flags & GRE_VERSION) != GRE_VERSION_1) { in gre_pkt_to_tuple()
289 switch (greh->flags & GRE_VERSION) { in gre_manip_pkt()
184 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
1263 if ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_ioctl()1628 if (flags & (GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_validate()
512 gre_ver = ntohs(hdr->flags & GRE_VERSION); in __skb_flow_dissect_gre()