Home
last modified time | relevance | path

Searched refs:fb_tunnel_dev (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/
Dipip.c130 struct net_device *fb_tunnel_dev; member
269 if (dev == ipn->fb_tunnel_dev) { in ipip_tunnel_uninit()
584 if (dev == ipn->fb_tunnel_dev) { in ipip_tunnel_ioctl()
617 if (dev != ipn->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { in ipip_tunnel_ioctl()
663 if (dev == ipn->fb_tunnel_dev) { in ipip_tunnel_ioctl()
671 if (t->dev == ipn->fb_tunnel_dev) in ipip_tunnel_ioctl()
789 ipn->fb_tunnel_dev = alloc_netdev(sizeof(struct ip_tunnel), in ipip_init_net()
792 if (!ipn->fb_tunnel_dev) { in ipip_init_net()
796 dev_net_set(ipn->fb_tunnel_dev, net); in ipip_init_net()
798 ipip_fb_tunnel_init(ipn->fb_tunnel_dev); in ipip_init_net()
[all …]
Dip_gre.c135 struct net_device *fb_tunnel_dev; member
226 if (ign->fb_tunnel_dev->flags&IFF_UP) in ipgre_tunnel_lookup()
227 return netdev_priv(ign->fb_tunnel_dev); in ipgre_tunnel_lookup()
917 if (dev == ign->fb_tunnel_dev) { in ipgre_tunnel_ioctl()
956 if (dev != ign->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { in ipgre_tunnel_ioctl()
1011 if (dev == ign->fb_tunnel_dev) { in ipgre_tunnel_ioctl()
1019 if (t == netdev_priv(ign->fb_tunnel_dev)) in ipgre_tunnel_ioctl()
1265 ign->fb_tunnel_dev = alloc_netdev(sizeof(struct ip_tunnel), "gre0", in ipgre_init_net()
1267 if (!ign->fb_tunnel_dev) { in ipgre_init_net()
1271 dev_net_set(ign->fb_tunnel_dev, net); in ipgre_init_net()
[all …]
/net/ipv6/
Dsit.c77 struct net_device *fb_tunnel_dev; member
392 if (dev == sitn->fb_tunnel_dev) { in ipip6_tunnel_uninit()
782 if (dev == sitn->fb_tunnel_dev) { in ipip6_tunnel_ioctl()
815 if (dev != sitn->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { in ipip6_tunnel_ioctl()
860 if (dev == sitn->fb_tunnel_dev) { in ipip6_tunnel_ioctl()
868 if (t == netdev_priv(sitn->fb_tunnel_dev)) in ipip6_tunnel_ioctl()
878 if (dev == sitn->fb_tunnel_dev) in ipip6_tunnel_ioctl()
893 if (dev == sitn->fb_tunnel_dev) in ipip6_tunnel_ioctl()
1022 sitn->fb_tunnel_dev = alloc_netdev(sizeof(struct ip_tunnel), "sit0", in sit_init_net()
1024 if (!sitn->fb_tunnel_dev) { in sit_init_net()
[all …]