Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dgre.h72 if (flags & GRE_VERSION) in gre_flags_to_tnl_flags()
95 flags |= GRE_VERSION; in gre_tnl_flags_to_gre_flags()
/Linux-v4.19/net/ipv4/netfilter/
Dnf_nat_proto_gre.c107 switch (greh->flags & GRE_VERSION) { in gre_manip_pkt()
/Linux-v4.19/include/uapi/linux/
Dif_tunnel.h33 #define GRE_VERSION __cpu_to_be16(0x0007) macro
/Linux-v4.19/net/ipv4/
Dgre_demux.c75 if (unlikely(greh->flags & (GRE_VERSION | GRE_ROUTING))) in gre_parse_header()
Dip_gre.c828 ((p.i_flags | p.o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ioctl()
1086 if (flags & (GRE_VERSION|GRE_ROUTING)) in ipgre_tunnel_validate()
/Linux-v4.19/samples/bpf/
Dsockex2_kern.c137 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-v4.19/net/netfilter/
Dnf_conntrack_proto_gre.c195 if (!grehdr || (grehdr->flags & GRE_VERSION) != GRE_VERSION_1) { in gre_pkt_to_tuple()
/Linux-v4.19/net/ipv6/
Dip6_gre.c442 if (flags & (GRE_VERSION | GRE_ROUTING)) in ip6gre_err()
1271 if ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_ioctl()
1636 if (flags & (GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_validate()
/Linux-v4.19/net/core/
Dflow_dissector.c371 gre_ver = ntohs(hdr->flags & GRE_VERSION); in __skb_flow_dissect_gre()