Lines Matching refs:readset
879 typedef void chan_fn(Channel *c, fd_set *readset, fd_set *writeset);
885 channel_pre_listener(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_listener() argument
887 FD_SET(c->sock, readset); in channel_pre_listener()
892 channel_pre_connecting(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_connecting() argument
899 channel_pre_open_13(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_open_13() argument
902 FD_SET(c->sock, readset); in channel_pre_open_13()
908 channel_pre_open(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_open() argument
916 FD_SET(c->rfd, readset); in channel_pre_open()
939 FD_SET(c->efd, readset); in channel_pre_open()
946 channel_pre_input_draining(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_input_draining() argument
959 channel_pre_output_draining(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_output_draining() argument
1042 channel_pre_x11_open_13(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_x11_open_13() argument
1049 channel_pre_open_13(c, readset, writeset); in channel_pre_x11_open_13()
1068 channel_pre_x11_open(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_x11_open() argument
1076 channel_pre_open(c, readset, writeset); in channel_pre_x11_open()
1094 channel_pre_mux_client(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_mux_client() argument
1098 FD_SET(c->rfd, readset); in channel_pre_mux_client()
1118 channel_decode_socks4(Channel *c, fd_set *readset, fd_set *writeset) in channel_decode_socks4() argument
1231 channel_decode_socks5(Channel *c, fd_set *readset, fd_set *writeset) in channel_decode_socks5() argument
1371 channel_pre_dynamic(Channel *c, fd_set *readset, fd_set *writeset) in channel_pre_dynamic() argument
1383 FD_SET(c->sock, readset); in channel_pre_dynamic()
1390 ret = channel_decode_socks4(c, readset, writeset); in channel_pre_dynamic()
1393 ret = channel_decode_socks5(c, readset, writeset); in channel_pre_dynamic()
1404 FD_SET(c->sock, readset); in channel_pre_dynamic()
1415 channel_post_x11_listener(Channel *c, fd_set *readset, fd_set *writeset) in channel_post_x11_listener() argument
1424 if (FD_ISSET(c->sock, readset)) { in channel_post_x11_listener()
1571 channel_post_port_listener(Channel *c, fd_set *readset, fd_set *writeset) in channel_post_port_listener() argument
1579 if (FD_ISSET(c->sock, readset)) { in channel_post_port_listener()
1631 channel_post_auth_listener(Channel *c, fd_set *readset, fd_set *writeset) in channel_post_auth_listener() argument
1638 if (FD_ISSET(c->sock, readset)) { in channel_post_auth_listener()
1668 channel_post_connecting(Channel *c, fd_set *readset, fd_set *writeset) in channel_post_connecting() argument
1728 channel_handle_rfd(Channel *c, fd_set *readset, fd_set *writeset) argument
1734 if (c->rfd != -1 && (force || FD_ISSET(c->rfd, readset))) {
1777 channel_handle_wfd(Channel *c, fd_set *readset, fd_set *writeset) argument
1869 channel_handle_efd(Channel *c, fd_set *readset, fd_set *writeset) argument
1897 (c->detach_close || FD_ISSET(c->efd, readset))) {
1943 channel_post_open(Channel *c, fd_set *readset, fd_set *writeset) argument
1945 channel_handle_rfd(c, readset, writeset);
1946 channel_handle_wfd(c, readset, writeset);
1949 channel_handle_efd(c, readset, writeset);
1977 channel_post_mux_client(Channel *c, fd_set *readset, fd_set *writeset) argument
1985 if (c->rfd != -1 && !c->mux_pause && FD_ISSET(c->rfd, readset) &&
2026 channel_post_mux_listener(Channel *c, fd_set *readset, fd_set *writeset) argument
2035 if (!FD_ISSET(c->sock, readset))
2079 channel_post_output_drain_13(Channel *c, fd_set *readset, fd_set *writeset) argument
2204 channel_handler(chan_fn *ftab[], fd_set *readset, fd_set *writeset, argument
2234 (*ftab[c->type])(c, readset, writeset);
2293 channel_after_select(fd_set *readset, fd_set *writeset) argument
2295 channel_handler(channel_post, readset, writeset, NULL);