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