Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/
Dgre.h81 if (flags & GRE_VERSION) in gre_flags_to_tnl_flags()
104 flags |= GRE_VERSION; in gre_tnl_flags_to_gre_flags()
/Linux-v5.4/include/uapi/linux/
Dif_tunnel.h33 #define GRE_VERSION __cpu_to_be16(0x0007) macro
/Linux-v5.4/net/ipv4/
Dgre_demux.c71 if (unlikely(greh->flags & (GRE_VERSION | GRE_ROUTING))) in gre_parse_header()
Dip_gre.c758 ((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()
/Linux-v5.4/samples/bpf/
Dsockex2_kern.c138 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in flow_dissector()
Dsockex3_kern.c156 if (gre_flags & (GRE_VERSION|GRE_ROUTING)) in parse_ip_proto()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_proto_gre.c175 if (!grehdr || (grehdr->flags & GRE_VERSION) != GRE_VERSION_1) { in gre_pkt_to_tuple()
Dnf_nat_proto.c289 switch (greh->flags & GRE_VERSION) { in gre_manip_pkt()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dbpf_flow.c184 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
/Linux-v5.4/net/ipv6/
Dip6_gre.c1263 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()
/Linux-v5.4/net/core/
Dflow_dissector.c512 gre_ver = ntohs(hdr->flags & GRE_VERSION); in __skb_flow_dissect_gre()