sitn 97 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 100 net/ipv6/sit.c for_each_ip_tunnel_rcu(t, sitn->tunnels_r_l[h0 ^ h1]) { sitn 108 net/ipv6/sit.c for_each_ip_tunnel_rcu(t, sitn->tunnels_r[h0]) { sitn 115 net/ipv6/sit.c for_each_ip_tunnel_rcu(t, sitn->tunnels_l[h1]) { sitn 122 net/ipv6/sit.c t = rcu_dereference(sitn->tunnels_wc[0]); sitn 128 net/ipv6/sit.c static struct ip_tunnel __rcu **__ipip6_bucket(struct sit_net *sitn, sitn 144 net/ipv6/sit.c return &sitn->tunnels[prio][h]; sitn 147 net/ipv6/sit.c static inline struct ip_tunnel __rcu **ipip6_bucket(struct sit_net *sitn, sitn 150 net/ipv6/sit.c return __ipip6_bucket(sitn, &t->parms); sitn 153 net/ipv6/sit.c static void ipip6_tunnel_unlink(struct sit_net *sitn, struct ip_tunnel *t) sitn 158 net/ipv6/sit.c for (tp = ipip6_bucket(sitn, t); sitn 168 net/ipv6/sit.c static void ipip6_tunnel_link(struct sit_net *sitn, struct ip_tunnel *t) sitn 170 net/ipv6/sit.c struct ip_tunnel __rcu **tp = ipip6_bucket(sitn, t); sitn 176 net/ipv6/sit.c static void ipip6_tunnel_clone_6rd(struct net_device *dev, struct sit_net *sitn) sitn 181 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev || !sitn->fb_tunnel_dev) { sitn 187 net/ipv6/sit.c struct ip_tunnel *t0 = netdev_priv(sitn->fb_tunnel_dev); sitn 197 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 212 net/ipv6/sit.c ipip6_tunnel_clone_6rd(dev, sitn); sitn 216 net/ipv6/sit.c ipip6_tunnel_link(sitn, t); sitn 232 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 234 net/ipv6/sit.c for (tp = __ipip6_bucket(sitn, parms); sitn 474 net/ipv6/sit.c struct sit_net *sitn = net_generic(tunnel->net, sit_net_id); sitn 476 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) { sitn 477 net/ipv6/sit.c RCU_INIT_POINTER(sitn->tunnels_wc[0], NULL); sitn 479 net/ipv6/sit.c ipip6_tunnel_unlink(sitn, tunnel); sitn 1102 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 1104 net/ipv6/sit.c ipip6_tunnel_unlink(sitn, t); sitn 1110 net/ipv6/sit.c ipip6_tunnel_link(sitn, t); sitn 1174 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 1184 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) { sitn 1235 net/ipv6/sit.c if (dev != sitn->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { sitn 1266 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) { sitn 1275 net/ipv6/sit.c if (t == netdev_priv(sitn->fb_tunnel_dev)) sitn 1285 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) sitn 1297 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) sitn 1334 net/ipv6/sit.c ipip6_tunnel_clone_6rd(dev, sitn); sitn 1422 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 1430 net/ipv6/sit.c rcu_assign_pointer(sitn->tunnels_wc[0], tunnel); sitn 1617 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 1624 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) sitn 1769 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 1771 net/ipv6/sit.c if (dev != sitn->fb_tunnel_dev) sitn 1813 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 1826 net/ipv6/sit.c t = rtnl_dereference(sitn->tunnels[prio][h]); sitn 1842 net/ipv6/sit.c struct sit_net *sitn = net_generic(net, sit_net_id); sitn 1846 net/ipv6/sit.c sitn->tunnels[0] = sitn->tunnels_wc; sitn 1847 net/ipv6/sit.c sitn->tunnels[1] = sitn->tunnels_l; sitn 1848 net/ipv6/sit.c sitn->tunnels[2] = sitn->tunnels_r; sitn 1849 net/ipv6/sit.c sitn->tunnels[3] = sitn->tunnels_r_l; sitn 1854 net/ipv6/sit.c sitn->fb_tunnel_dev = alloc_netdev(sizeof(struct ip_tunnel), "sit0", sitn 1857 net/ipv6/sit.c if (!sitn->fb_tunnel_dev) { sitn 1861 net/ipv6/sit.c dev_net_set(sitn->fb_tunnel_dev, net); sitn 1862 net/ipv6/sit.c sitn->fb_tunnel_dev->rtnl_link_ops = &sit_link_ops; sitn 1866 net/ipv6/sit.c sitn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; sitn 1868 net/ipv6/sit.c err = register_netdev(sitn->fb_tunnel_dev); sitn 1872 net/ipv6/sit.c ipip6_tunnel_clone_6rd(sitn->fb_tunnel_dev, sitn); sitn 1873 net/ipv6/sit.c ipip6_fb_tunnel_init(sitn->fb_tunnel_dev); sitn 1875 net/ipv6/sit.c t = netdev_priv(sitn->fb_tunnel_dev); sitn 1877 net/ipv6/sit.c strcpy(t->parms.name, sitn->fb_tunnel_dev->name); sitn 1881 net/ipv6/sit.c ipip6_dev_free(sitn->fb_tunnel_dev); sitn 1882 net/ipv6/sit.c free_netdev(sitn->fb_tunnel_dev);