Searched refs:gre_proto (Results 1 – 4 of 4) sorted by relevance
29 static const struct gre_protocol __rcu *gre_proto[GREPROTO_MAX] __read_mostly; variable36 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()
136 __u64 gre_proto = load_half(skb, in flow_dissector() local142 proto = gre_proto; in flow_dissector()
121 __u32 gre_proto = load_half(skb, in parse_ip_proto() local136 parse_eth_proto(skb, gre_proto); in parse_ip_proto()
117 __be32 key, __be16 gre_proto) in ip6gre_tunnel_lookup() argument125 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()