Lines Matching defs:Channel
66 typedef struct Channel Channel; typedef
95 struct Channel { struct
96 int type; /* channel type/state */
97 int self; /* my own channel identifier */
98 int remote_id; /* channel identifier for remote peer */
99 u_int istate; /* input from channel (state of receive half) */
100 u_int ostate; /* output to channel (state of transmit half) */
101 int flags; /* close sent/rcvd */
102 int rfd; /* read fd */
103 int wfd; /* write fd */
104 int efd; /* extended fd */
105 int sock; /* sock fd */
106 int ctl_chan; /* control channel (multiplexed connections) */
107 int isatty; /* rfd is a tty */
109 int wfd_isatty; /* wfd is a tty */
111 int client_tty; /* (client) TTY has been requested */
112 int force_drain; /* force close on iEOF */
113 time_t notbefore; /* Pause IO until deadline (time_t) */
114 int delayed; /* post-select handlers for newly created
119 Buffer input; /* data read from socket, to be sent over
121 Buffer output; /* data received over encrypted connection for
123 Buffer extended;
124 char *path;
126 int listening_port; /* port being listened for forwards */
127 char *listening_addr; /* addr being listened for forwards */
128 int host_port; /* remote port to connect for forwards */
129 char *remote_name; /* remote hostname */
131 u_int remote_window;
132 u_int remote_maxpacket;
133 u_int local_window;
134 u_int local_window_max;
135 u_int local_consumed;
136 u_int local_maxpacket;
137 int extended_usage;
138 int single_connection;
140 char *ctype; /* type */
143 channel_open_fn *open_confirm;
144 void *open_confirm_ctx;
145 channel_callback_fn *detach_user;
146 int detach_close;
147 struct channel_confirms status_confirms;
150 channel_infilter_fn *input_filter;
151 channel_outfilter_fn *output_filter;
152 void *filter_ctx;
153 channel_filter_cleanup_fn *filter_cleanup;
156 int datagram;
159 struct channel_connect connect_ctx;
162 mux_callback_fn *mux_rcb;
163 void *mux_ctx;
164 int mux_pause;