Lines Matching refs:POLL_NETIN
76 #define POLL_NETIN 2 macro
1085 pfd[POLL_NETIN].fd = net_fd; in readwrite()
1086 pfd[POLL_NETIN].events = POLLIN; in readwrite()
1094 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 && in readwrite()
1105 if (lflag && pfd[POLL_NETIN].fd == -1 && in readwrite()
1142 if (pfd[POLL_NETIN].events & POLLIN && in readwrite()
1143 pfd[POLL_NETIN].revents & POLLHUP && in readwrite()
1144 !(pfd[POLL_NETIN].revents & POLLIN)) in readwrite()
1145 pfd[POLL_NETIN].fd = -1; in readwrite()
1160 if (pfd[POLL_NETIN].fd != -1) in readwrite()
1161 shutdown(pfd[POLL_NETIN].fd, SHUT_RD); in readwrite()
1162 pfd[POLL_NETIN].fd = -1; in readwrite()
1200 if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) { in readwrite()
1201 ret = fillbuf(pfd[POLL_NETIN].fd, netinbuf, in readwrite()
1204 pfd[POLL_NETIN].events = POLLIN; in readwrite()
1206 pfd[POLL_NETIN].events = POLLOUT; in readwrite()
1208 pfd[POLL_NETIN].fd = -1; in readwrite()
1211 shutdown(pfd[POLL_NETIN].fd, SHUT_RD); in readwrite()
1212 pfd[POLL_NETIN].fd = -1; in readwrite()
1219 pfd[POLL_NETIN].events = 0; in readwrite()
1222 atelnet(pfd[POLL_NETIN].fd, netinbuf, in readwrite()
1240 pfd[POLL_NETIN].events = POLLIN; in readwrite()
1250 if (pfd[POLL_NETIN].fd == -1 && netinbufpos == 0) { in readwrite()