Lines Matching refs:Channel

101 typedef void chan_fn(struct ssh *, Channel *c);
118 Channel *downstream; /* Downstream mux*/
159 Channel **channels;
216 static void port_open_helper(struct ssh *ssh, Channel *c, char *rtype);
222 static Channel *rdynamic_connect_prepare(struct ssh *, char *, char *);
223 static int rdynamic_connect_finish(struct ssh *, Channel *);
245 Channel *
248 Channel *c; in channel_by_id()
262 Channel *
265 Channel *c; in channel_by_remote_id()
280 Channel *
283 Channel *c; in channel_lookup()
367 Channel *c; in channel_set_xtype()
385 channel_set_used_time(struct ssh *ssh, Channel *c) in channel_set_used_time()
397 channel_get_expiry(struct ssh *ssh, Channel *c) in channel_get_expiry()
417 channel_register_fds(struct ssh *ssh, Channel *c, int rfd, int wfd, int efd, in channel_register_fds()
484 Channel *
491 Channel *c; in channel_new()
517 c = sc->channels[found] = xcalloc(1, sizeof(Channel)); in channel_new()
544 channel_close_fd(struct ssh *ssh, Channel *c, int *fdp) in channel_close_fd()
594 channel_close_fds(struct ssh *ssh, Channel *c) in channel_close_fds()
678 Channel *downstream) in permission_set_add()
702 mux_remove_remote_forwardings(struct ssh *ssh, Channel *c) in mux_remove_remote_forwardings()
734 channel_free(struct ssh *ssh, Channel *c) in channel_free()
739 Channel *other; in channel_free()
849 Channel *c; in channel_stop_listening()
878 Channel *c; in channel_not_very_much_buffered_data()
898 Channel *c; in channel_still_open()
941 Channel *c; in channel_tty_open()
958 Channel *c; in channel_find_open()
997 channel_format_extended_usage(const Channel *c) in channel_format_extended_usage()
1015 channel_format_status(const Channel *c) in channel_format_status()
1042 Channel *c; in channel_open_message()
1098 open_preamble(struct ssh *ssh, const char *where, Channel *c, const char *type) in open_preamble()
1114 Channel *c = channel_lookup(ssh, id); in channel_send_open()
1130 Channel *c = channel_lookup(ssh, id); in channel_request_start()
1154 Channel *c; in channel_register_status_confirm()
1170 Channel *c = channel_lookup(ssh, id); in channel_register_open_confirm()
1184 Channel *c = channel_by_id(ssh, id); in channel_register_cleanup()
1197 Channel *c = channel_by_id(ssh, id); in channel_cancel_cleanup()
1211 Channel *c = channel_lookup(ssh, id); in channel_register_filter()
1227 Channel *c = channel_lookup(ssh, id); in channel_set_fds()
1248 channel_pre_listener(struct ssh *ssh, Channel *c) in channel_pre_listener()
1254 channel_pre_connecting(struct ssh *ssh, Channel *c) in channel_pre_connecting()
1261 channel_pre_open(struct ssh *ssh, Channel *c) in channel_pre_open()
1374 channel_force_close(struct ssh *ssh, Channel *c, int abandon) in channel_force_close()
1400 channel_pre_x11_open(struct ssh *ssh, Channel *c) in channel_pre_x11_open()
1420 channel_pre_mux_client(struct ssh *ssh, Channel *c) in channel_pre_mux_client()
1444 channel_decode_socks4(Channel *c, struct sshbuf *input, struct sshbuf *output) in channel_decode_socks4()
1563 channel_decode_socks5(Channel *c, struct sshbuf *input, struct sshbuf *output) in channel_decode_socks5()
1689 Channel *
1694 Channel *c; in channel_connect_stdio_fwd()
1716 channel_pre_dynamic(struct ssh *ssh, Channel *c) in channel_pre_dynamic()
1763 rdynamic_close(struct ssh *ssh, Channel *c) in rdynamic_close()
1771 channel_before_prepare_io_rdynamic(struct ssh *ssh, Channel *c) in channel_before_prepare_io_rdynamic()
1829 channel_post_x11_listener(struct ssh *ssh, Channel *c) in channel_post_x11_listener()
1831 Channel *nc; in channel_post_x11_listener()
1878 port_open_helper(struct ssh *ssh, Channel *c, char *rtype) in port_open_helper()
1946 channel_post_port_listener(struct ssh *ssh, Channel *c) in channel_post_port_listener()
1948 Channel *nc; in channel_post_port_listener()
2005 channel_post_auth_listener(struct ssh *ssh, Channel *c) in channel_post_auth_listener()
2007 Channel *nc; in channel_post_auth_listener()
2033 channel_post_connecting(struct ssh *ssh, Channel *c) in channel_post_connecting()
2105 channel_handle_rfd(struct ssh *ssh, Channel *c) in channel_handle_rfd()
2190 channel_handle_wfd(struct ssh *ssh, Channel *c) in channel_handle_wfd()
2281 channel_handle_efd_write(struct ssh *ssh, Channel *c) in channel_handle_efd_write()
2310 channel_handle_efd_read(struct ssh *ssh, Channel *c) in channel_handle_efd_read()
2340 channel_handle_efd(struct ssh *ssh, Channel *c) in channel_handle_efd()
2357 channel_check_window(struct ssh *ssh, Channel *c) in channel_check_window()
2385 channel_post_open(struct ssh *ssh, Channel *c) in channel_post_open()
2394 read_mux(struct ssh *ssh, Channel *c, u_int need) in read_mux()
2418 channel_post_mux_client_read(struct ssh *ssh, Channel *c) in channel_post_mux_client_read()
2454 channel_post_mux_client_write(struct ssh *ssh, Channel *c) in channel_post_mux_client_write()
2476 channel_post_mux_client(struct ssh *ssh, Channel *c) in channel_post_mux_client()
2483 channel_post_mux_listener(struct ssh *ssh, Channel *c) in channel_post_mux_listener()
2485 Channel *nc; in channel_post_mux_listener()
2574 channel_garbage_collect(struct ssh *ssh, Channel *c) in channel_garbage_collect()
2603 Channel *c; in channel_handler()
2662 Channel *c; in channel_before_prepare_io()
2675 dump_channel_poll(const char *func, const char *what, Channel *c, in dump_channel_poll()
2691 channel_prepare_pollfd(Channel *c, u_int *next_pollfd, in channel_prepare_pollfd()
2835 fd_ready(Channel *c, int p, struct pollfd *pfds, u_int npfd, int fd, in fd_ready()
2868 Channel *c; in channel_after_poll()
2948 channel_output_poll_input_open(struct ssh *ssh, Channel *c) in channel_output_poll_input_open()
3022 channel_output_poll_extended_read(struct ssh *ssh, Channel *c) in channel_output_poll_extended_read()
3061 Channel *c; in channel_output_poll()
3136 channel_proxy_downstream(struct ssh *ssh, Channel *downstream) in channel_proxy_downstream()
3138 Channel *c = NULL; in channel_proxy_downstream()
3289 channel_proxy_upstream(Channel *c, int type, u_int32_t seq, struct ssh *ssh) in channel_proxy_upstream()
3292 Channel *downstream; in channel_proxy_upstream()
3387 static Channel *
3391 Channel *c; in channel_from_packet_id()
3405 Channel *c = channel_from_packet_id(ssh, __func__, "data"); in channel_input_data()
3474 Channel *c = channel_from_packet_id(ssh, __func__, "extended data"); in channel_input_extended_data()
3524 Channel *c = channel_from_packet_id(ssh, __func__, "ieof"); in channel_input_ieof()
3549 Channel *c = channel_from_packet_id(ssh, __func__, "oclose"); in channel_input_oclose()
3565 Channel *c = channel_from_packet_id(ssh, __func__, "open confirmation"); in channel_input_open_confirmation()
3620 Channel *c = channel_from_packet_id(ssh, __func__, "open failure"); in channel_input_open_failure()
3658 Channel *c; in channel_input_window_adjust()
3688 Channel *c; in channel_input_status_confirm()
3795 Channel *c; in channel_setup_fwd_listener_tcpip()
3954 Channel *c; in channel_setup_fwd_listener_streamlocal()
4030 Channel *c = ssh->chanctxt->channels[i]; in channel_cancel_rport_listener_tcpip()
4050 Channel *c = ssh->chanctxt->channels[i]; in channel_cancel_rport_listener_streamlocal()
4087 Channel *c = ssh->chanctxt->channels[i]; in channel_cancel_lport_listener_tcpip()
4125 Channel *c = ssh->chanctxt->channels[i]; in channel_cancel_lport_listener_streamlocal()
4720 static Channel *
4725 Channel *c; in connect_to()
4748 Channel *
4776 Channel *
4799 Channel *
4806 Channel *c; in channel_connect_to_port()
4860 Channel *
4924 static Channel *
4927 Channel *c; in rdynamic_connect_prepare()
4950 rdynamic_connect_finish(struct ssh *ssh, Channel *c) in rdynamic_connect_finish()
5000 Channel *nc = NULL; in x11_create_display_inet()