Lines Matching refs:fb_tnl_dev
84 struct net_device *fb_tnl_dev; member
381 if (dev == ip6n->fb_tnl_dev) in ip6_tnl_dev_uninit()
1597 if (dev == ip6n->fb_tnl_dev) { in ip6_tnl_ioctl()
1636 if (dev == ip6n->fb_tnl_dev) in ip6_tnl_ioctl()
1656 if (dev == ip6n->fb_tnl_dev) { in ip6_tnl_ioctl()
1666 if (t->dev == ip6n->fb_tnl_dev) in ip6_tnl_ioctl()
2042 if (dev == ip6n->fb_tnl_dev) in ip6_tnl_changelink()
2070 if (dev != ip6n->fb_tnl_dev) in ip6_tnl_dellink()
2228 ip6n->fb_tnl_dev = alloc_netdev(sizeof(struct ip6_tnl), "ip6tnl0", in ip6_tnl_init_net()
2231 if (!ip6n->fb_tnl_dev) in ip6_tnl_init_net()
2233 dev_net_set(ip6n->fb_tnl_dev, net); in ip6_tnl_init_net()
2234 ip6n->fb_tnl_dev->rtnl_link_ops = &ip6_link_ops; in ip6_tnl_init_net()
2238 ip6n->fb_tnl_dev->features |= NETIF_F_NETNS_LOCAL; in ip6_tnl_init_net()
2240 err = ip6_fb_tnl_dev_init(ip6n->fb_tnl_dev); in ip6_tnl_init_net()
2244 err = register_netdev(ip6n->fb_tnl_dev); in ip6_tnl_init_net()
2248 t = netdev_priv(ip6n->fb_tnl_dev); in ip6_tnl_init_net()
2250 strcpy(t->parms.name, ip6n->fb_tnl_dev->name); in ip6_tnl_init_net()
2254 free_netdev(ip6n->fb_tnl_dev); in ip6_tnl_init_net()