Lines Matching refs:Channel
41 /* Definitions for channel types. */
45 #define SSH_CHANNEL_OPEN 4 /* normal open two-way channel */
60 struct Channel;
61 typedef struct Channel Channel;
65 typedef int channel_infilter_fn(struct Channel *, char *, int);
67 typedef u_char *channel_outfilter_fn(struct Channel *, u_char **, u_int *);
69 /* Channel success/failure callbacks */
70 typedef void channel_confirm_cb(int, struct Channel *, void *);
71 typedef void channel_confirm_abandon_cb(struct Channel *, void *);
88 typedef int mux_callback_fn(struct Channel *);
90 struct Channel {
91 int type; /* channel type/state */
92 int self; /* my own channel identifier */
93 int remote_id; /* channel identifier for remote peer */
94 u_int istate; /* input from channel (state of receive half) */
95 u_int ostate; /* output to channel (state of transmit half) */
101 int ctl_chan; /* control channel (multiplexed connections) */
162 /* default window/packet sizes for tcp/x11-fwd-channel */
200 /* channel management */
202 Channel *channel_by_id(int);
203 Channel *channel_lookup(int);
204 Channel *channel_new(char *, int, int, int, int, u_int, u_int, int, char *, int);
206 void channel_free(Channel *);
257 Channel *channel_connect_to(const char *, u_short, char *, char *);
258 Channel *channel_connect_stdio_fwd(const char*, u_short, int, int);
259 Channel *channel_connect_by_listen_address(u_short, char *, char *);
281 /* channel close */
283 int chan_is_dead(Channel *, int);
284 void chan_mark_dead(Channel *);
286 /* channel events */
288 void chan_rcvd_oclose(Channel *);
289 void chan_rcvd_eow(Channel *); /* SSH2-only */
290 void chan_read_failed(Channel *);
291 void chan_ibuf_empty(Channel *);
293 void chan_rcvd_ieof(Channel *);
294 void chan_write_failed(Channel *);
295 void chan_obuf_empty(Channel *);