Lines Matching refs:Channel
86 struct Channel;
87 typedef struct Channel Channel;
91 typedef int channel_infilter_fn(struct ssh *, struct Channel *, char *, int);
93 typedef u_char *channel_outfilter_fn(struct ssh *, struct Channel *,
96 /* Channel success/failure callbacks */
97 typedef void channel_confirm_cb(struct ssh *, int, struct Channel *, void *);
98 typedef void channel_confirm_abandon_cb(struct ssh *, struct Channel *, void *);
115 typedef int mux_callback_fn(struct ssh *, struct Channel *);
124 struct Channel {
282 Channel *channel_by_id(struct ssh *, int);
283 Channel *channel_by_remote_id(struct ssh *, u_int);
284 Channel *channel_lookup(struct ssh *, int);
285 Channel *channel_new(struct ssh *, char *, int, int, int, int,
289 void channel_free(struct ssh *, Channel *);
292 void channel_force_close(struct ssh *, Channel *, int);
306 int channel_close_fd(struct ssh *, Channel *, int *);
315 int channel_proxy_downstream(struct ssh *, Channel *mc);
316 int channel_proxy_upstream(Channel *, int, u_int32_t, struct ssh *);
342 const char *channel_format_extended_usage(const Channel *);
355 Channel *channel_connect_to_port(struct ssh *, const char *, u_short,
357 Channel *channel_connect_to_path(struct ssh *, const char *, char *, char *);
358 Channel *channel_connect_stdio_fwd(struct ssh *, const char*,
360 Channel *channel_connect_by_listen_address(struct ssh *, const char *,
362 Channel *channel_connect_by_listen_path(struct ssh *, const char *,
386 int chan_is_dead(struct ssh *, Channel *, int);
387 void chan_mark_dead(struct ssh *, Channel *);
391 void chan_rcvd_oclose(struct ssh *, Channel *);
392 void chan_rcvd_eow(struct ssh *, Channel *);
393 void chan_read_failed(struct ssh *, Channel *);
394 void chan_ibuf_empty(struct ssh *, Channel *);
395 void chan_rcvd_ieof(struct ssh *, Channel *);
396 void chan_write_failed(struct ssh *, Channel *);
397 void chan_obuf_empty(struct ssh *, Channel *);