Lines Matching defs:ok
2001 int s, ok, fd;
2065 ok = ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) >= 0;
2071 if (!ok) {
2074 ok = ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) >= 0;
2080 if (ok)
2081 ok = ioctl (s, SIOCGIFHWADDR, (caddr_t) &ifr) >= 0;
2083 if (ok && ((ifr.ifr_hwaddr.sa_family & ~0xFF) != ARPHRD_PPP))
2084 ok = 0;
2090 if (ok) {
2097 ok = 0;
2115 ok = 0;
2123 ok = 0;
2128 if (!ok) {
2137 return ok;