Home
last modified time | relevance | path

Searched refs:GRE_VERSION (Results 1 – 11 of 11) sorted by relevance

/linux/include/net/
H A Dgre.h75 __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()
/linux/include/uapi/linux/
H A Dif_tunnel.h33 #define GRE_VERSION __cpu_to_be16(0x0007) macro
/linux/samples/bpf/
H A Dsockex2_kern.c138 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in flow_dissector()
H A Dsockex3_kern.c124 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in parse_ip_proto()
/linux/net/netfilter/
H A Dnf_conntrack_proto_gre.c164 if (!grehdr || (grehdr->flags & GRE_VERSION) != GRE_VERSION_1) { in gre_pkt_to_tuple()
H A Dnf_flow_table_ip.c270 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in nf_flow_tuple_ip()
1071 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in nf_flow_tuple_ipv6()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c198 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
/linux/net/sched/
H A Dact_ct.c573 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in tcf_ct_flow_table_fill_tuple_ipv4()
642 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in tcf_ct_flow_table_fill_tuple_ipv6()
/linux/net/ipv4/
H A Dip_gre.c834 ((i_flags | o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
1106 if (flags & (GRE_VERSION|GRE_ROUTING)) in ipgre_tunnel_validate()
/linux/net/ipv6/
H A Dip6_gre.c1296 if ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_siocdevprivate()
1643 if (flags & (GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_validate()
/linux/net/core/
H A Dflow_dissector.c675 gre_ver = ntohs(hdr->flags & GRE_VERSION); in __skb_flow_dissect_gre()