Home
last modified time | relevance | path

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

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