Lines Matching refs:writeset

783 typedef void chan_fn(Channel *c, fd_set *readset, fd_set *writeset);
789 channel_pre_listener(Channel *c, fd_set *readset, fd_set *writeset)
796 channel_pre_connecting(Channel *c, fd_set *readset, fd_set *writeset)
799 FD_SET(c->sock, writeset);
803 channel_pre_open_13(Channel *c, fd_set *readset, fd_set *writeset)
808 FD_SET(c->sock, writeset);
812 channel_pre_open(Channel *c, fd_set *readset, fd_set *writeset)
824 FD_SET(c->wfd, writeset);
838 FD_SET(c->efd, writeset);
850 channel_pre_input_draining(Channel *c, fd_set *readset, fd_set *writeset)
863 channel_pre_output_draining(Channel *c, fd_set *readset, fd_set *writeset)
868 FD_SET(c->sock, writeset);
939 channel_pre_x11_open_13(Channel *c, fd_set *readset, fd_set *writeset)
946 channel_pre_open_13(c, readset, writeset);
965 channel_pre_x11_open(Channel *c, fd_set *readset, fd_set *writeset)
973 channel_pre_open(c, readset, writeset);
991 channel_pre_mux_client(Channel *c, fd_set *readset, fd_set *writeset)
1006 FD_SET(c->wfd, writeset);
1015 channel_decode_socks4(Channel *c, fd_set *readset, fd_set *writeset)
1127 channel_decode_socks5(Channel *c, fd_set *readset, fd_set *writeset)
1166 FD_SET(c->sock, writeset);
1269 channel_pre_dynamic(Channel *c, fd_set *readset, fd_set *writeset)
1288 ret = channel_decode_socks4(c, readset, writeset);
1291 ret = channel_decode_socks5(c, readset, writeset);
1313 channel_post_x11_listener(Channel *c, fd_set *readset, fd_set *writeset)
1446 channel_post_port_listener(Channel *c, fd_set *readset, fd_set *writeset)
1497 channel_post_auth_listener(Channel *c, fd_set *readset, fd_set *writeset)
1531 channel_post_connecting(Channel *c, fd_set *readset, fd_set *writeset)
1536 if (FD_ISSET(c->sock, writeset)) {
1591 channel_handle_rfd(Channel *c, fd_set *readset, fd_set *writeset)
1640 channel_handle_wfd(Channel *c, fd_set *readset, fd_set *writeset)
1649 FD_ISSET(c->wfd, writeset) &&
1732 channel_handle_efd(Channel *c, fd_set *readset, fd_set *writeset)
1740 FD_ISSET(c->efd, writeset) &&
1806 channel_post_open(Channel *c, fd_set *readset, fd_set *writeset)
1808 channel_handle_rfd(c, readset, writeset);
1809 channel_handle_wfd(c, readset, writeset);
1812 channel_handle_efd(c, readset, writeset);
1840 channel_post_mux_client(Channel *c, fd_set *readset, fd_set *writeset)
1874 if (c->wfd != -1 && FD_ISSET(c->wfd, writeset) &&
1889 channel_post_mux_listener(Channel *c, fd_set *readset, fd_set *writeset)
1940 channel_post_output_drain_13(Channel *c, fd_set *readset, fd_set *writeset)
1945 if (FD_ISSET(c->sock, writeset) && buffer_len(&c->output) > 0) {
2061 channel_handler(chan_fn *ftab[], fd_set *readset, fd_set *writeset)
2082 (*ftab[c->type])(c, readset, writeset);
2124 channel_after_select(fd_set *readset, fd_set *writeset)
2126 channel_handler(channel_post, readset, writeset);