Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dip.c2400 struct ip_tunnel_parm iptnl; in read_tunnel() local
2413 if ((ret = tnl_ioctl(iface, SIOCGIFHWADDR, &iptnl)) < 0) { in read_tunnel()
2420 memset(&iptnl, 0, sizeof(iptnl)); in read_tunnel()
2421 if (tnl_ioctl(iface, SIOCGETTUNNEL, &iptnl) < 0) continue; in read_tunnel()
2422 if ((ptnl->link && iptnl.link != ptnl->link) || (*ptnl->name && in read_tunnel()
2423 strcmp(iptnl.name, ptnl->name)) || (ptnl->iph.daddr && in read_tunnel()
2424 iptnl.iph.daddr != ptnl->iph.daddr) || (ptnl->iph.saddr && in read_tunnel()
2425 iptnl.iph.saddr != ptnl->iph.saddr) || (ptnl->i_key && in read_tunnel()
2426 iptnl.i_key != ptnl->i_key)) continue; in read_tunnel()
2427 display_tunnel(&iptnl); in read_tunnel()
[all …]