Home | History | Annotate | Download | only in pppd

Lines Matching defs:nr

1086     int len, nr;
1094 nr = -1;
1097 nr = read(ppp_fd, buf, len);
1098 if (nr < 0 && errno != EWOULDBLOCK && errno != EAGAIN
1101 if (nr < 0 && errno == ENXIO)
1104 if (nr < 0 && new_style_driver && ppp_dev_fd >= 0 && !bundle_eof) {
1106 nr = read(ppp_dev_fd, buf, len);
1107 if (nr < 0 && errno != EWOULDBLOCK && errno != EAGAIN
1110 if (nr < 0 && errno == ENXIO)
1111 nr = 0;
1112 if (nr == 0 && doing_multilink) {
1118 nr = 0;
1119 return (new_style_driver && nr > 0)? nr+2: nr;