Searched refs:tnl_ioctl (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | ip.c | 2429 static int tnl_ioctl(char *dev, int rtype, struct ip_tunnel_parm *ptnl) in tnl_ioctl() function 2515 if ((ret = tnl_ioctl(iface, SIOCGIFHWADDR, &iptnl)) < 0) { in read_tunnel() 2523 if (tnl_ioctl(iface, SIOCGETTUNNEL, &iptnl) < 0) continue; in read_tunnel() 2558 tnl_ioctl(ptnl->name, SIOCGETTUNNEL, &iptnl_old); in parse_iptunnel_args() 2722 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "tunl0", SIOCGETTUNNEL, &iptnl); in tunnellist() 2724 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "gre0", SIOCGETTUNNEL, &iptnl); in tunnellist() 2726 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "sit0", SIOCGETTUNNEL, &iptnl); in tunnellist() 2754 return (tnl_ioctl("tunl0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate() 2756 return (tnl_ioctl("gre0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate() 2758 return (tnl_ioctl("sit0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate() [all …]
|