Home
last modified time | relevance | path

Searched refs:writefd (Results 1 – 7 of 7) sorted by relevance

/external/dropbear/
Dcommon-session.c122 fd_set readfd, writefd; in session_loop() local
131 FD_ZERO(&writefd); in session_loop()
137 FD_SET(ses.sock, &writefd); in session_loop()
147 setchannelfds(&readfd, &writefd); in session_loop()
149 val = select(ses.maxfd+1, &readfd, &writefd, NULL, &timeout); in session_loop()
164 FD_ZERO(&writefd); in session_loop()
181 if (FD_ISSET(ses.sock, &writefd) && !isempty(&ses.writequeue)) { in session_loop()
199 channelio(&readfd, &writefd); in session_loop()
Dcommon-channel.c146 newchan->writefd = FD_UNINIT; in newchannel()
219 if (channel->writefd >= 0 && FD_ISSET(channel->writefd, writefds)) { in channelio()
226 writechannel(channel, channel->writefd, channel->writebuf); in channelio()
251 if (channel->writefd >= 0 && cbuf_getused(channel->writebuf) > 0) { in write_pending()
265 channel->writefd, channel->readfd, in check_close()
287 close_chan_fd(channel, channel->writefd, SHUT_WR); in check_close()
334 if (getsockopt(channel->writefd, SOL_SOCKET, SO_ERROR, &val, &vallen) in check_in_progress()
338 close(channel->writefd); in check_in_progress()
344 channel->readfd = channel->writefd; in check_in_progress()
370 close_chan_fd(channel, channel->writefd, SHUT_WR); in send_msg_channel_close()
[all …]
Dchannel.h68 int writefd; /* read from wire, written to insecure side */ member
106 void setchannelfds(fd_set *readfd, fd_set *writefd);
107 void channelio(fd_set *readfd, fd_set *writefd);
Dsvr-chansession.c712 channel->writefd = infds[FDOUT]; in noptycommand()
715 ses.maxfd = MAX(ses.maxfd, channel->writefd); in noptycommand()
720 setnonblocking(channel->writefd); in noptycommand()
833 channel->writefd = chansess->master; in ptycommand()
Dcli-tcpfwd.c207 channel->writefd = sock; in newtcpforwarded()
Dsvr-tcpfwd.c278 channel->writefd = sock; in newtcpdirect()
Dcli-chansession.c344 channel->writefd = STDOUT_FILENO; in cli_initchansess()