Searched refs:iptnl (Results 1 – 1 of 1) sorted by relevance
2507 struct ip_tunnel_parm iptnl; in read_tunnel() local2520 if ((ret = tnl_ioctl(iface, SIOCGIFHWADDR, &iptnl)) < 0) { in read_tunnel()2527 memset(&iptnl, 0, sizeof(iptnl)); in read_tunnel()2528 if (tnl_ioctl(iface, SIOCGETTUNNEL, &iptnl) < 0) continue; in read_tunnel()2529 if ((ptnl->link && iptnl.link != ptnl->link) || (*ptnl->name && in read_tunnel()2530 strcmp(iptnl.name, ptnl->name)) || (ptnl->iph.daddr && in read_tunnel()2531 iptnl.iph.daddr != ptnl->iph.daddr) || (ptnl->iph.saddr && in read_tunnel()2532 iptnl.iph.saddr != ptnl->iph.saddr) || (ptnl->i_key && in read_tunnel()2533 iptnl.i_key != ptnl->i_key)) continue; in read_tunnel()2534 display_tunnel(&iptnl); in read_tunnel()[all …]