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;
395 struct ip6_tnl *t = netdev_priv(dev);
406 struct ip6_tnl *t = netdev_priv(dev);
424 struct ip6_tnl *t;
491 struct ip6_tnl *tunnel;
528 struct ip6_tnl *tunnel;
637 struct ip6_tnl *t = netdev_priv(dev);
663 struct ip6_tnl *t = netdev_priv(dev);
709 struct ip6_tnl *t = netdev_priv(dev);
747 struct ip6_tnl *tunnel = netdev_priv(dev);
812 struct ip6_tnl *t = netdev_priv(dev);
844 struct ip6_tnl *t = netdev_priv(dev);
875 struct ip6_tnl *t = netdev_priv(dev);
897 struct ip6_tnl *t = netdev_priv(dev);
937 struct ip6_tnl *t = netdev_priv(dev);
1098 static void ip6gre_tnl_link_config_common(struct ip6_tnl *t)
1132 static void ip6gre_tnl_link_config_route(struct ip6_tnl *t, int set_mtu,
1175 static int ip6gre_calc_hlen(struct ip6_tnl *tunnel)
1192 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu)
1198 static void ip6gre_tnl_copy_tnl_parm(struct ip6_tnl *t,
1221 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);
1479 struct ip6_tnl *tunnel;
1526 struct ip6_tnl *tunnel;
1549 struct ip6_tnl *tunnel = netdev_priv(dev);
1579 struct ip6_tnl *t;
1604 ndev = alloc_netdev(sizeof(struct ip6_tnl), "ip6gre0",
1858 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel)
1873 struct ip6_tnl *tunnel;
1979 struct ip6_tnl *nt;
2013 struct ip6_tnl *nt = netdev_priv(dev);
2038 static struct ip6_tnl *
2043 struct ip6_tnl *t, *nt = netdev_priv(dev);
2076 struct ip6_tnl *t = netdev_priv(dev);
2145 struct ip6_tnl *t = netdev_priv(dev);
2246 struct ip6_tnl *nt = netdev_priv(dev);
2272 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu)
2278 static int ip6erspan_tnl_change(struct ip6_tnl *t,
2292 struct ip6_tnl *t;
2311 .priv_size = sizeof(struct ip6_tnl),
2326 .priv_size = sizeof(struct ip6_tnl),
2340 .priv_size = sizeof(struct ip6_tnl),