Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dgre.h81 if (flags & GRE_VERSION) in gre_flags_to_tnl_flags()
104 flags |= GRE_VERSION; in gre_tnl_flags_to_gre_flags()
/openbmc/linux/include/uapi/linux/
H A Dif_tunnel.h33 #define GRE_VERSION __cpu_to_be16(0x0007) macro
/openbmc/linux/net/ipv4/
H A Dgre_demux.c73 if (unlikely(greh->flags & (GRE_VERSION | GRE_ROUTING))) in gre_parse_header()
H A Dip_gre.c801 ((p->i_flags | p->o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
1058 if (flags & (GRE_VERSION|GRE_ROUTING)) in ipgre_tunnel_validate()
/openbmc/linux/samples/bpf/
H A Dsockex2_kern.c139 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()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_proto_gre.c162 if (!grehdr || (grehdr->flags & GRE_VERSION) != GRE_VERSION_1) { in gre_pkt_to_tuple()
H A Dnf_flow_table_ip.c227 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in nf_flow_tuple_ip()
624 if ((greh->flags & GRE_VERSION) != GRE_VERSION_0) in nf_flow_tuple_ipv6()
H A Dnft_payload.c104 version = gre->flags & GRE_VERSION; in __nft_payload_inner_offset()
H A Dnf_nat_proto.c300 switch (greh->flags & GRE_VERSION) { in gre_manip_pkt()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c198 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
/openbmc/linux/net/sched/
H A Dact_ct.c567 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()
/openbmc/linux/net/ipv6/
H A Dip6_gre.c1309 if ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_siocdevprivate()
1671 if (flags & (GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_validate()
/openbmc/linux/net/core/
H A Dflow_dissector.c651 gre_ver = ntohs(hdr->flags & GRE_VERSION); in __skb_flow_dissect_gre()