Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dip.c2323 static int tnl_ioctl(char *dev, int rtype, struct ip_tunnel_parm *ptnl) in tnl_ioctl() function
2409 if ((ret = tnl_ioctl(iface, SIOCGIFHWADDR, &iptnl)) < 0) { in read_tunnel()
2417 if (tnl_ioctl(iface, SIOCGETTUNNEL, &iptnl) < 0) continue; in read_tunnel()
2452 tnl_ioctl(ptnl->name, SIOCGETTUNNEL, &iptnl_old); in parse_iptunnel_args()
2616 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "tunl0", SIOCGETTUNNEL, &iptnl); in tunnellist()
2618 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "gre0", SIOCGETTUNNEL, &iptnl); in tunnellist()
2620 ret = tnl_ioctl(*iptnl.name ? iptnl.name : "sit0", SIOCGETTUNNEL, &iptnl); in tunnellist()
2648 return (tnl_ioctl("tunl0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate()
2650 return (tnl_ioctl("gre0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate()
2652 return (tnl_ioctl("sit0", rtype, &iptnl) < 0) ? 1 : 0; in tunnelupdate()
[all …]