Home
last modified time | relevance | path

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

/external/dropbear/
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 …]
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()
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()
/external/bluetooth/glib/tests/
Dgio-test.c389 int readfd, writefd; in main() local
401 sscanf (argv[2], "%d:%d%n", &readfd, &writefd, &n); in main()
407 srand (tv.tv_sec ^ (tv.tv_usec / 1000) ^ readfd ^ (writefd << 4)); in main()
417 (int)(sizeof(i) + sizeof(buflen)), buflen, writefd); in main()
419 write (writefd, &i, sizeof (i)); in main()
420 write (writefd, &buflen, sizeof (buflen)); in main()
421 write (writefd, buf, buflen); in main()
436 g_print ("gio-test: child exiting, closing %d\n", writefd); in main()
438 close (writefd); in main()