Home | History | Annotate | Download | only in pppd

Lines Matching refs:ok

2002     int s, ok, fd;
2066 ok = ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) >= 0;
2072 if (!ok) {
2075 ok = ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) >= 0;
2081 if (ok)
2082 ok = ioctl (s, SIOCGIFHWADDR, (caddr_t) &ifr) >= 0;
2084 if (ok && ((ifr.ifr_hwaddr.sa_family & ~0xFF) != ARPHRD_PPP))
2085 ok = 0;
2091 if (ok) {
2098 ok = 0;
2116 ok = 0;
2124 ok = 0;
2129 if (!ok) {
2138 return ok;