Searched refs:readfd (Results 1 - 6 of 6) sorted by relevance
/external/dropbear/ |
H A D | random.c | 56 int readfd; local 65 readfd = open(DROPBEAR_RANDOM_DEV, O_RDONLY); 66 if (readfd < 0) { 77 readfd = socket(PF_UNIX, SOCK_STREAM, 0); 78 if (readfd < 0) { 82 if (connect(readfd, (struct sockaddr*)&egdsock, 91 if (write(readfd, egdcmd, 2) < 0) 108 FD_SET(readfd, &read_fds); 109 ret = select(readfd + 1, &read_fds, NULL, NULL, &timeout); 116 readlen = read(readfd, [all...] |
H A D | channel.h | 69 int readfd; /* read from insecure size, written to wire */ member in struct:Channel 70 int errfd; /* used like writefd or readfd, depending if it's client or server. 106 void setchannelfds(fd_set *readfd, fd_set *writefd); 107 void channelio(fd_set *readfd, fd_set *writefd);
|
H A D | common-session.c | 122 fd_set readfd, writefd; local 132 FD_ZERO(&readfd); 135 FD_SET(ses.sock, &readfd); 143 FD_SET(ses.signal_pipe[0], &readfd); 147 setchannelfds(&readfd, &writefd); 149 val = select(ses.maxfd+1, &readfd, &writefd, NULL, &timeout); 165 FD_ZERO(&readfd); 171 if (FD_ISSET(ses.signal_pipe[0], &readfd)) { 185 if (FD_ISSET(ses.sock, &readfd)) { 199 channelio(&readfd, [all...] |
H A D | common-channel.c | 147 newchan->readfd = FD_UNINIT; 206 if (channel->readfd >= 0 && FD_ISSET(channel->readfd, readfds)) { 207 TRACE(("send normal readfd")) 264 TRACE(("check_close: writefd %d, readfd %d, errfd %d, sent_close %d, recv_close %d", 265 channel->writefd, channel->readfd, 295 if (channel->readfd >= 0 && channel->transwindow > 0) { 296 TRACE(("send data readfd")) 308 && channel->readfd == FD_CLOSED 315 && channel->readfd [all...] |
H A D | cli-chansession.c | 347 channel->readfd = STDIN_FILENO;
|
H A D | svr-chansession.c | 713 channel->readfd = outfds[FDIN]; 716 ses.maxfd = MAX(ses.maxfd, channel->readfd); 719 setnonblocking(channel->readfd); 834 channel->readfd = chansess->master;
|
Completed in 546 milliseconds