fb_tunnel_dev 163 include/net/ip_tunnels.h struct net_device *fb_tunnel_dev; fb_tunnel_dev 165 net/ipv4/ip_tunnel.c if (itn->fb_tunnel_dev && itn->fb_tunnel_dev->flags & IFF_UP) fb_tunnel_dev 166 net/ipv4/ip_tunnel.c return netdev_priv(itn->fb_tunnel_dev); fb_tunnel_dev 872 net/ipv4/ip_tunnel.c if (dev == itn->fb_tunnel_dev) { fb_tunnel_dev 873 net/ipv4/ip_tunnel.c t = ip_tunnel_find(itn, p, itn->fb_tunnel_dev->type); fb_tunnel_dev 906 net/ipv4/ip_tunnel.c if (dev != itn->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { fb_tunnel_dev 942 net/ipv4/ip_tunnel.c if (dev == itn->fb_tunnel_dev) { fb_tunnel_dev 944 net/ipv4/ip_tunnel.c t = ip_tunnel_find(itn, p, itn->fb_tunnel_dev->type); fb_tunnel_dev 948 net/ipv4/ip_tunnel.c if (t == netdev_priv(itn->fb_tunnel_dev)) fb_tunnel_dev 1008 net/ipv4/ip_tunnel.c if (itn->fb_tunnel_dev != dev) { fb_tunnel_dev 1047 net/ipv4/ip_tunnel.c itn->fb_tunnel_dev = NULL; fb_tunnel_dev 1056 net/ipv4/ip_tunnel.c itn->fb_tunnel_dev = __ip_tunnel_create(net, ops, &parms); fb_tunnel_dev 1060 net/ipv4/ip_tunnel.c if (!IS_ERR(itn->fb_tunnel_dev)) { fb_tunnel_dev 1061 net/ipv4/ip_tunnel.c itn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; fb_tunnel_dev 1062 net/ipv4/ip_tunnel.c itn->fb_tunnel_dev->mtu = ip_tunnel_bind_dev(itn->fb_tunnel_dev); fb_tunnel_dev 1063 net/ipv4/ip_tunnel.c ip_tunnel_add(itn, netdev_priv(itn->fb_tunnel_dev)); fb_tunnel_dev 1064 net/ipv4/ip_tunnel.c itn->type = itn->fb_tunnel_dev->type; fb_tunnel_dev 1068 net/ipv4/ip_tunnel.c return PTR_ERR_OR_ZERO(itn->fb_tunnel_dev); fb_tunnel_dev 1174 net/ipv4/ip_tunnel.c if (dev == itn->fb_tunnel_dev) fb_tunnel_dev 1249 net/ipv4/ip_tunnel.c if (itn->fb_tunnel_dev != dev) fb_tunnel_dev 519 net/ipv4/ip_vti.c if (itn->fb_tunnel_dev) fb_tunnel_dev 520 net/ipv4/ip_vti.c vti_fb_tunnel_init(itn->fb_tunnel_dev); fb_tunnel_dev 70 net/ipv6/ip6_gre.c struct net_device *fb_tunnel_dev; fb_tunnel_dev 241 net/ipv6/ip6_gre.c dev = ign->fb_tunnel_dev; fb_tunnel_dev 1236 net/ipv6/ip6_gre.c if (dev == ign->fb_tunnel_dev) { fb_tunnel_dev 1274 net/ipv6/ip6_gre.c if (dev != ign->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { fb_tunnel_dev 1307 net/ipv6/ip6_gre.c if (dev == ign->fb_tunnel_dev) { fb_tunnel_dev 1317 net/ipv6/ip6_gre.c if (t == netdev_priv(ign->fb_tunnel_dev)) fb_tunnel_dev 1564 net/ipv6/ip6_gre.c ign->fb_tunnel_dev = alloc_netdev(sizeof(struct ip6_tnl), "ip6gre0", fb_tunnel_dev 1567 net/ipv6/ip6_gre.c if (!ign->fb_tunnel_dev) { fb_tunnel_dev 1571 net/ipv6/ip6_gre.c dev_net_set(ign->fb_tunnel_dev, net); fb_tunnel_dev 1575 net/ipv6/ip6_gre.c ign->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; fb_tunnel_dev 1578 net/ipv6/ip6_gre.c ip6gre_fb_tunnel_init(ign->fb_tunnel_dev); fb_tunnel_dev 1579 net/ipv6/ip6_gre.c ign->fb_tunnel_dev->rtnl_link_ops = &ip6gre_link_ops; fb_tunnel_dev 1581 net/ipv6/ip6_gre.c err = register_netdev(ign->fb_tunnel_dev); fb_tunnel_dev 1586 net/ipv6/ip6_gre.c netdev_priv(ign->fb_tunnel_dev)); fb_tunnel_dev 1590 net/ipv6/ip6_gre.c free_netdev(ign->fb_tunnel_dev); fb_tunnel_dev 2009 net/ipv6/ip6_gre.c if (dev == ign->fb_tunnel_dev) fb_tunnel_dev 2058 net/ipv6/ip6_gre.c if (dev != ign->fb_tunnel_dev) fb_tunnel_dev 83 net/ipv6/sit.c struct net_device *fb_tunnel_dev; fb_tunnel_dev 181 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev || !sitn->fb_tunnel_dev) { fb_tunnel_dev 187 net/ipv6/sit.c struct ip_tunnel *t0 = netdev_priv(sitn->fb_tunnel_dev); fb_tunnel_dev 476 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) { fb_tunnel_dev 1184 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) { fb_tunnel_dev 1235 net/ipv6/sit.c if (dev != sitn->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { fb_tunnel_dev 1266 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) { fb_tunnel_dev 1275 net/ipv6/sit.c if (t == netdev_priv(sitn->fb_tunnel_dev)) fb_tunnel_dev 1285 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) fb_tunnel_dev 1297 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) fb_tunnel_dev 1624 net/ipv6/sit.c if (dev == sitn->fb_tunnel_dev) fb_tunnel_dev 1771 net/ipv6/sit.c if (dev != sitn->fb_tunnel_dev) fb_tunnel_dev 1854 net/ipv6/sit.c sitn->fb_tunnel_dev = alloc_netdev(sizeof(struct ip_tunnel), "sit0", fb_tunnel_dev 1857 net/ipv6/sit.c if (!sitn->fb_tunnel_dev) { fb_tunnel_dev 1861 net/ipv6/sit.c dev_net_set(sitn->fb_tunnel_dev, net); fb_tunnel_dev 1862 net/ipv6/sit.c sitn->fb_tunnel_dev->rtnl_link_ops = &sit_link_ops; fb_tunnel_dev 1866 net/ipv6/sit.c sitn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; fb_tunnel_dev 1868 net/ipv6/sit.c err = register_netdev(sitn->fb_tunnel_dev); fb_tunnel_dev 1872 net/ipv6/sit.c ipip6_tunnel_clone_6rd(sitn->fb_tunnel_dev, sitn); fb_tunnel_dev 1873 net/ipv6/sit.c ipip6_fb_tunnel_init(sitn->fb_tunnel_dev); fb_tunnel_dev 1875 net/ipv6/sit.c t = netdev_priv(sitn->fb_tunnel_dev); fb_tunnel_dev 1877 net/ipv6/sit.c strcpy(t->parms.name, sitn->fb_tunnel_dev->name); fb_tunnel_dev 1881 net/ipv6/sit.c ipip6_dev_free(sitn->fb_tunnel_dev); fb_tunnel_dev 1882 net/ipv6/sit.c free_netdev(sitn->fb_tunnel_dev);