• Home
  • Raw
  • Download

Lines Matching defs:Channel

61 typedef struct Channel Channel;  typedef
90 struct Channel { struct
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) */
96 int flags; /* close sent/rcvd */
97 int rfd; /* read fd */
98 int wfd; /* write fd */
99 int efd; /* extended fd */
100 int sock; /* sock fd */
101 int ctl_chan; /* control channel (multiplexed connections) */
102 int isatty; /* rfd is a tty */
103 int wfd_isatty; /* wfd is a tty */
104 int client_tty; /* (client) TTY has been requested */
105 int force_drain; /* force close on iEOF */
106 int delayed; /* post-select handlers for newly created
111 Buffer input; /* data read from socket, to be sent over
113 Buffer output; /* data received over encrypted connection for
115 Buffer extended;
116 char *path;
118 int listening_port; /* port being listened for forwards */
119 int host_port; /* remote port to connect for forwards */
120 char *remote_name; /* remote hostname */
122 u_int remote_window;
123 u_int remote_maxpacket;
124 u_int local_window;
125 u_int local_window_max;
126 u_int local_consumed;
127 u_int local_maxpacket;
128 int extended_usage;
129 int single_connection;
131 char *ctype; /* type */
134 channel_open_fn *open_confirm;
135 void *open_confirm_ctx;
136 channel_callback_fn *detach_user;
137 int detach_close;
138 struct channel_confirms status_confirms;
141 channel_infilter_fn *input_filter;
142 channel_outfilter_fn *output_filter;
143 void *filter_ctx;
144 channel_filter_cleanup_fn *filter_cleanup;
147 int datagram;
150 struct channel_connect connect_ctx;
153 mux_callback_fn *mux_rcb;
154 void *mux_ctx;
155 int mux_pause;