Home
last modified time | relevance | path

Searched refs:POLL_NETIN (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/netcat/
H A Dnetcat.c82 #define POLL_NETIN 2 macro
879 pfd[POLL_NETIN].fd = net_fd; in readwrite()
880 pfd[POLL_NETIN].events = POLLIN; in readwrite()
888 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()
903 if (lflag && pfd[POLL_NETIN].fd == -1 in readwrite()
945 if (pfd[POLL_NETIN].events & POLLIN && in readwrite()
946 pfd[POLL_NETIN].revents & POLLHUP && in readwrite()
947 ! (pfd[POLL_NETIN].revents & POLLIN)) in readwrite()
948 pfd[POLL_NETIN].fd = -1; in readwrite()
963 if (pfd[POLL_NETIN].fd != -1) in readwrite()
[all …]
/freebsd/crypto/openssh/regress/
H A Dnetcat.c93 #define POLL_NETIN 2 macro
807 pfd[POLL_NETIN].fd = net_fd; in readwrite()
808 pfd[POLL_NETIN].events = POLLIN; in readwrite()
816 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()
827 if (lflag && pfd[POLL_NETIN].fd == -1 in readwrite()
864 if (pfd[POLL_NETIN].events & POLLIN && in readwrite()
865 pfd[POLL_NETIN].revents & POLLHUP && in readwrite()
866 ! (pfd[POLL_NETIN].revents & POLLIN)) in readwrite()
867 pfd[POLL_NETIN].fd = -1; in readwrite()
882 if (pfd[POLL_NETIN].fd != -1) in readwrite()
[all …]