Lines Matching refs:fb_tnl_dev
84 struct net_device *fb_tnl_dev; member
379 if (dev == ip6n->fb_tnl_dev) in ip6_tnl_dev_uninit()
1628 if (dev == ip6n->fb_tnl_dev) { in ip6_tnl_siocdevprivate()
1666 if (dev == ip6n->fb_tnl_dev) in ip6_tnl_siocdevprivate()
1686 if (dev == ip6n->fb_tnl_dev) { in ip6_tnl_siocdevprivate()
1696 if (t->dev == ip6n->fb_tnl_dev) in ip6_tnl_siocdevprivate()
2038 if (dev == ip6n->fb_tnl_dev) in ip6_tnl_changelink()
2067 if (dev != ip6n->fb_tnl_dev) in ip6_tnl_dellink()
2241 ip6n->fb_tnl_dev = alloc_netdev(sizeof(struct ip6_tnl), "ip6tnl0", in ip6_tnl_init_net()
2244 if (!ip6n->fb_tnl_dev) in ip6_tnl_init_net()
2246 dev_net_set(ip6n->fb_tnl_dev, net); in ip6_tnl_init_net()
2247 ip6n->fb_tnl_dev->rtnl_link_ops = &ip6_link_ops; in ip6_tnl_init_net()
2251 ip6n->fb_tnl_dev->features |= NETIF_F_NETNS_LOCAL; in ip6_tnl_init_net()
2253 err = ip6_fb_tnl_dev_init(ip6n->fb_tnl_dev); in ip6_tnl_init_net()
2257 err = register_netdev(ip6n->fb_tnl_dev); in ip6_tnl_init_net()
2261 t = netdev_priv(ip6n->fb_tnl_dev); in ip6_tnl_init_net()
2263 strcpy(t->parms.name, ip6n->fb_tnl_dev->name); in ip6_tnl_init_net()
2267 free_netdev(ip6n->fb_tnl_dev); in ip6_tnl_init_net()