Home
last modified time | relevance | path

Searched refs:gre_proto (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dgre_demux.c29 static const struct gre_protocol __rcu *gre_proto[GREPROTO_MAX] __read_mostly; variable
36 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ? in gre_add_protocol()
48 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ? in gre_del_protocol()
160 proto = rcu_dereference(gre_proto[ver]); in gre_rcv()
185 proto = rcu_dereference(gre_proto[ver]); in gre_err()
/openbmc/linux/samples/bpf/
H A Dsockex2_kern.c136 __u64 gre_proto = load_half(skb, in flow_dissector() local
142 proto = gre_proto; in flow_dissector()
H A Dsockex3_kern.c121 __u32 gre_proto = load_half(skb, in parse_ip_proto() local
136 parse_eth_proto(skb, gre_proto); in parse_ip_proto()
/openbmc/linux/net/ipv6/
H A Dip6_gre.c117 __be32 key, __be16 gre_proto) in ip6gre_tunnel_lookup() argument
125 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup()
126 gre_proto == htons(ETH_P_ERSPAN) || in ip6gre_tunnel_lookup()
127 gre_proto == htons(ETH_P_ERSPAN2)) ? in ip6gre_tunnel_lookup()
233 if (gre_proto == htons(ETH_P_ERSPAN) || in ip6gre_tunnel_lookup()
234 gre_proto == htons(ETH_P_ERSPAN2)) in ip6gre_tunnel_lookup()