Lines Matching refs:ip6_tnl
66 struct ip6_tnl __rcu *tunnels[4][IP6_GRE_HASH_SIZE];
68 struct ip6_tnl __rcu *collect_md_tun;
69 struct ip6_tnl __rcu *collect_md_tun_erspan;
78 static void ip6gre_tunnel_link(struct ip6gre_net *ign, struct ip6_tnl *t);
79 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu);
80 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu);
115 static struct ip6_tnl *ip6gre_tunnel_lookup(struct net_device *dev,
123 struct ip6_tnl *t, *cand = NULL;
249 static struct ip6_tnl __rcu **__ip6gre_bucket(struct ip6gre_net *ign,
267 static void ip6gre_tunnel_link_md(struct ip6gre_net *ign, struct ip6_tnl *t)
273 static void ip6erspan_tunnel_link_md(struct ip6gre_net *ign, struct ip6_tnl *t)
279 static void ip6gre_tunnel_unlink_md(struct ip6gre_net *ign, struct ip6_tnl *t)
286 struct ip6_tnl *t)
292 static inline struct ip6_tnl __rcu **ip6gre_bucket(struct ip6gre_net *ign,
293 const struct ip6_tnl *t)
298 static void ip6gre_tunnel_link(struct ip6gre_net *ign, struct ip6_tnl *t)
300 struct ip6_tnl __rcu **tp = ip6gre_bucket(ign, t);
306 static void ip6gre_tunnel_unlink(struct ip6gre_net *ign, struct ip6_tnl *t)
308 struct ip6_tnl __rcu **tp;
309 struct ip6_tnl *iter;
321 static struct ip6_tnl *ip6gre_tunnel_find(struct net *net,
329 struct ip6_tnl *t;
330 struct ip6_tnl __rcu **tp;
346 static struct ip6_tnl *ip6gre_tunnel_locate(struct net *net,
349 struct ip6_tnl *t, *nt;
400 struct ip6_tnl *t = netdev_priv(dev);
411 struct ip6_tnl *t = netdev_priv(dev);
429 struct ip6_tnl *t;
496 struct ip6_tnl *tunnel;
533 struct ip6_tnl *tunnel;
642 struct ip6_tnl *t = netdev_priv(dev);
668 struct ip6_tnl *t = netdev_priv(dev);
725 struct ip6_tnl *tunnel = netdev_priv(dev);
790 struct ip6_tnl *t = netdev_priv(dev);
822 struct ip6_tnl *t = netdev_priv(dev);
865 static inline bool ip6gre_tnl_addr_conflict(const struct ip6_tnl *t,
873 struct ip6_tnl *t = netdev_priv(dev);
897 struct ip6_tnl *t = netdev_priv(dev);
936 struct ip6_tnl *t = netdev_priv(dev);
1099 static void ip6gre_tnl_link_config_common(struct ip6_tnl *t)
1133 static void ip6gre_tnl_link_config_route(struct ip6_tnl *t, int set_mtu,
1176 static int ip6gre_calc_hlen(struct ip6_tnl *tunnel)
1193 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu)
1199 static void ip6gre_tnl_copy_tnl_parm(struct ip6_tnl *t,
1222 static int ip6gre_tnl_change(struct ip6_tnl *t, const struct __ip6_tnl_parm *p,
1271 struct ip6_tnl *t = netdev_priv(dev);
1380 struct ip6_tnl *t = netdev_priv(dev);
1427 struct ip6_tnl *t = netdev_priv(dev);
1457 struct ip6_tnl *nt = netdev_priv(dev);
1482 struct ip6_tnl *tunnel;
1529 struct ip6_tnl *tunnel;
1552 struct ip6_tnl *tunnel = netdev_priv(dev);
1582 struct ip6_tnl *t;
1607 ndev = alloc_netdev(sizeof(struct ip6_tnl), "ip6gre0",
1861 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel)
1876 struct ip6_tnl *tunnel;
1982 struct ip6_tnl *nt;
2016 struct ip6_tnl *nt = netdev_priv(dev);
2041 static struct ip6_tnl *
2046 struct ip6_tnl *t, *nt = netdev_priv(dev);
2079 struct ip6_tnl *t = netdev_priv(dev);
2148 struct ip6_tnl *t = netdev_priv(dev);
2249 struct ip6_tnl *nt = netdev_priv(dev);
2275 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu)
2281 static int ip6erspan_tnl_change(struct ip6_tnl *t,
2295 struct ip6_tnl *t;
2314 .priv_size = sizeof(struct ip6_tnl),
2329 .priv_size = sizeof(struct ip6_tnl),
2343 .priv_size = sizeof(struct ip6_tnl),