Home
last modified time | relevance | path

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

/net/ipv4/
Dgre_demux.c33 static const struct gre_protocol __rcu *gre_proto[GREPROTO_MAX] __read_mostly; variable
40 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ? in gre_add_protocol()
52 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ? in gre_del_protocol()
148 proto = rcu_dereference(gre_proto[ver]); in gre_rcv()
172 proto = rcu_dereference(gre_proto[ver]); in gre_err()
/net/ipv6/
Dip6_gre.c116 __be32 key, __be16 gre_proto) in ip6gre_tunnel_lookup() argument
124 int dev_type = (gre_proto == htons(ETH_P_TEB)) ? in ip6gre_tunnel_lookup()