Searched refs:iptnl (Results 1 – 1 of 1) sorted by relevance
2502 struct ip_tunnel_parm iptnl; in read_tunnel() local2515 if ((ret = tnl_ioctl(iface, SIOCGIFHWADDR, &iptnl)) < 0) { in read_tunnel()2522 memset(&iptnl, 0, sizeof(iptnl)); in read_tunnel()2523 if (tnl_ioctl(iface, SIOCGETTUNNEL, &iptnl) < 0) continue; in read_tunnel()2524 if ((ptnl->link && iptnl.link != ptnl->link) || (*ptnl->name && in read_tunnel()2525 strcmp(iptnl.name, ptnl->name)) || (ptnl->iph.daddr && in read_tunnel()2526 iptnl.iph.daddr != ptnl->iph.daddr) || (ptnl->iph.saddr && in read_tunnel()2527 iptnl.iph.saddr != ptnl->iph.saddr) || (ptnl->i_key && in read_tunnel()2528 iptnl.i_key != ptnl->i_key)) continue; in read_tunnel()2529 display_tunnel(&iptnl); in read_tunnel()[all …]