Searched refs:GRE_VERSION (Results 1 – 13 of 13) sorted by relevance
75 __assign_bit(IP_TUNNEL_VERSION_BIT, res, flags & GRE_VERSION); in gre_flags_to_tnl_flags()97 flags |= GRE_VERSION; in gre_tnl_flags_to_gre_flags()
33 #define GRE_VERSION __cpu_to_be16(0x0007) macro
73 if (unlikely(greh->flags & (GRE_VERSION | GRE_ROUTING))) in gre_parse_header()
139 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in flow_dissector()
124 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in parse_ip_proto()
162 if (!grehdr || (grehdr->flags & GRE_VERSION) != GRE_VERSION_1) { in gre_pkt_to_tuple()
231 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in nf_flow_tuple_ip()631 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in nf_flow_tuple_ipv6()
104 version = gre->flags & GRE_VERSION; in __nft_payload_inner_offset()
300 switch (greh->flags & GRE_VERSION) { in gre_manip_pkt()
198 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
567 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in tcf_ct_flow_table_fill_tuple_ipv4()636 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in tcf_ct_flow_table_fill_tuple_ipv6()
1322 if ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_siocdevprivate()1673 if (flags & (GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_validate()
675 gre_ver = ntohs(hdr->flags & GRE_VERSION); in __skb_flow_dissect_gre()