Searched refs:gre_proto (Results 1 – 4 of 4) sorted by relevance
33 static const struct gre_protocol __rcu *gre_proto[GREPROTO_MAX] __read_mostly; variable40 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()139 proto = rcu_dereference(gre_proto[ver]); in gre_rcv()163 proto = rcu_dereference(gre_proto[ver]); in gre_err()
134 __u64 gre_proto = load_half(skb, in flow_dissector() local140 proto = gre_proto; in flow_dissector()
153 __u32 gre_proto = load_half(skb, in parse_ip_proto() local168 parse_eth_proto(skb, gre_proto); in parse_ip_proto()
122 __be32 key, __be16 gre_proto) in ip6gre_tunnel_lookup() argument130 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup()131 gre_proto == htons(ETH_P_ERSPAN) || in ip6gre_tunnel_lookup()132 gre_proto == htons(ETH_P_ERSPAN2)) ? in ip6gre_tunnel_lookup()237 if (gre_proto == htons(ETH_P_ERSPAN) || in ip6gre_tunnel_lookup()238 gre_proto == htons(ETH_P_ERSPAN2)) in ip6gre_tunnel_lookup()