Searched refs:tnl_ioctl (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | ip.c | 2327 static int tnl_ioctl(char *dev, int rtype, struct ip_tunnel_parm *ptnl) in tnl_ioctl() function 2413 if ((ret = tnl_ioctl(iface, SIOCGIFHWADDR, &iptnl)) < 0) { in read_tunnel() 2421 if (tnl_ioctl(iface, SIOCGETTUNNEL, &iptnl) < 0) continue; in read_tunnel() 2456 tnl_ioctl(ptnl->name, SIOCGETTUNNEL, &iptnl_old); in parse_iptunnel_args() 2620 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "tunl0", SIOCGETTUNNEL, &iptnl); in tunnellist() 2622 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "gre0", SIOCGETTUNNEL, &iptnl); in tunnellist() 2624 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "sit0", SIOCGETTUNNEL, &iptnl); in tunnellist() 2652 return (tnl_ioctl("tunl0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate() 2654 return (tnl_ioctl("gre0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate() 2656 return (tnl_ioctl("sit0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate() [all …]
|