Lines Matching defs:Channel

87 typedef struct Channel Channel;  typedef
124 struct Channel { struct
125 int type; /* channel type/state */
127 int self; /* my own channel identifier */
128 uint32_t remote_id; /* channel identifier for remote peer */
129 int have_remote_id; /* non-zero if remote_id is valid */
131 u_int istate; /* input from channel (state of receive half) */
132 u_int ostate; /* output to channel (state of transmit half) */
133 int flags; /* close sent/rcvd */
134 int rfd; /* read fd */
135 int wfd; /* write fd */
136 int efd; /* extended fd */
137 int sock; /* sock fd */
138 u_int io_want; /* bitmask of SSH_CHAN_IO_* */
139 u_int io_ready; /* bitmask of SSH_CHAN_IO_* */
140 int pfds[4]; /* pollfd entries for rfd/wfd/efd/sock */
141 int ctl_chan; /* control channel (multiplexed connections) */
142 uint32_t ctl_child_id; /* child session for mux controllers */
143 int have_ctl_child_id;/* non-zero if ctl_child_id is valid */
144 int isatty; /* rfd is a tty */
146 int wfd_isatty; /* wfd is a tty */
148 int client_tty; /* (client) TTY has been requested */
149 int force_drain; /* force close on iEOF */
150 time_t notbefore; /* Pause IO until deadline (time_t) */
151 int delayed; /* post-IO handlers for newly created
156 int restore_block; /* fd mask to restore blocking status */
157 int restore_flags[3];/* flags to restore */
158 struct sshbuf *input; /* data read from socket, to be sent over
160 struct sshbuf *output; /* data received over encrypted connection for
162 struct sshbuf *extended;
164 char *path;
166 int listening_port; /* port being listened for forwards */
167 char *listening_addr; /* addr being listened for forwards */
168 int host_port; /* remote port to connect for forwards */
169 char *remote_name; /* remote hostname */
171 u_int remote_window;
172 u_int remote_maxpacket;
173 u_int local_window;
174 u_int local_window_exceeded;
175 u_int local_window_max;
176 u_int local_consumed;
177 u_int local_maxpacket;
178 int extended_usage;
179 int single_connection;
181 char *ctype; /* const type - NB. not freed on channel_free */
182 char *xctype; /* extended type */
185 channel_open_fn *open_confirm;
186 void *open_confirm_ctx;
187 channel_callback_fn *detach_user;
188 int detach_close;
189 struct channel_confirms status_confirms;
192 channel_infilter_fn *input_filter;
193 channel_outfilter_fn *output_filter;
194 void *filter_ctx;
195 channel_filter_cleanup_fn *filter_cleanup;
198 int datagram;
202 struct channel_connect connect_ctx;
205 mux_callback_fn *mux_rcb;
206 void *mux_ctx;
207 int mux_pause;
208 int mux_downstream_id;
213 time_t lastused;
215 int inactive_deadline;