Lines Matching refs:ip_tunnel

71 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
77 struct ip_tunnel __rcu *tunnels_r_l[IP6_SIT_HASH_SIZE];
78 struct ip_tunnel __rcu *tunnels_r[IP6_SIT_HASH_SIZE];
79 struct ip_tunnel __rcu *tunnels_l[IP6_SIT_HASH_SIZE];
80 struct ip_tunnel __rcu *tunnels_wc[1];
81 struct ip_tunnel __rcu **tunnels[4];
88 struct ip_tunnel *t = netdev_priv(dev);
96 static struct ip_tunnel *ipip6_tunnel_lookup(struct net *net,
103 struct ip_tunnel *t;
135 static struct ip_tunnel __rcu **__ipip6_bucket(struct sit_net *sitn,
154 static inline struct ip_tunnel __rcu **ipip6_bucket(struct sit_net *sitn,
155 struct ip_tunnel *t)
160 static void ipip6_tunnel_unlink(struct sit_net *sitn, struct ip_tunnel *t)
162 struct ip_tunnel __rcu **tp;
163 struct ip_tunnel *iter;
175 static void ipip6_tunnel_link(struct sit_net *sitn, struct ip_tunnel *t)
177 struct ip_tunnel __rcu **tp = ipip6_bucket(sitn, t);
186 struct ip_tunnel *t = netdev_priv(dev);
194 struct ip_tunnel *t0 = netdev_priv(sitn->fb_tunnel_dev);
202 struct ip_tunnel *t = netdev_priv(dev);
228 static struct ip_tunnel *ipip6_tunnel_locate(struct net *net,
233 struct ip_tunnel *t, *nt;
234 struct ip_tunnel __rcu **tp;
291 __ipip6_tunnel_locate_prl(struct ip_tunnel *t, __be32 addr)
304 struct ip_tunnel *t = netdev_priv(dev);
368 ipip6_tunnel_add_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a, int chg)
422 ipip6_tunnel_del_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a)
457 struct ip_tunnel *t = netdev_priv(dev);
484 isatap_chksrc(struct sk_buff *skb, const struct iphdr *iph, struct ip_tunnel *t)
512 struct ip_tunnel *tunnel = netdev_priv(dev);
531 struct ip_tunnel *t;
603 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr,
624 static bool only_dnatted(const struct ip_tunnel *tunnel,
641 struct ip_tunnel *tunnel)
679 struct ip_tunnel *tunnel;
752 struct ip_tunnel *tunnel;
805 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
840 static inline __be32 try_6rd(struct ip_tunnel *tunnel,
856 struct ip_tunnel *tunnel = netdev_priv(dev);
1049 struct ip_tunnel *tunnel = netdev_priv(dev);
1098 struct ip_tunnel *tunnel = netdev_priv(dev);
1138 static void ipip6_tunnel_update(struct ip_tunnel *t, struct ip_tunnel_parm *p,
1164 static int ipip6_tunnel_update_6rd(struct ip_tunnel *t,
1198 struct ip_tunnel *t = netdev_priv(dev);
1223 struct ip_tunnel *t = netdev_priv(dev);
1273 struct ip_tunnel *t = netdev_priv(dev);
1286 struct ip_tunnel *t = netdev_priv(dev);
1302 struct ip_tunnel *t = netdev_priv(dev);
1333 struct ip_tunnel *t = netdev_priv(dev);
1408 struct ip_tunnel *tunnel = netdev_priv(dev);
1422 struct ip_tunnel *tunnel = netdev_priv(dev);
1444 struct ip_tunnel *tunnel = netdev_priv(dev);
1468 struct ip_tunnel *tunnel = netdev_priv(dev);
1558 struct ip_tunnel *nt;
1605 struct ip_tunnel *t = netdev_priv(dev);
1693 struct ip_tunnel *tunnel = netdev_priv(dev);
1771 .priv_size = sizeof(struct ip_tunnel),
1816 struct ip_tunnel *t;
1835 struct ip_tunnel *t;
1846 sitn->fb_tunnel_dev = alloc_netdev(sizeof(struct ip_tunnel), "sit0",