Lines Matching defs:Channel
70 typedef struct Channel Channel; typedef
75 struct Channel { struct
76 int type; /* channel type/state */
77 int self; /* my own channel identifier */
78 int remote_id; /* channel identifier for remote peer */
79 u_int istate; /* input from channel (state of receive half) */
80 u_int ostate; /* output to channel (state of transmit half) */
81 int wait_for_exit; /* no close till after exit-status is sent */
82 int flags; /* close sent/rcvd */
83 int rfd; /* read fd */
84 int wfd; /* write fd */
85 int efd; /* extended fd */
86 int sock; /* sock fd */
87 int isatty; /* rfd is a tty */
88 int wfd_isatty; /* wfd is a tty */
89 int force_drain; /* force close on iEOF */
90 int delayed; /* post-select handlers for newly created
95 Buffer input; /* data read from socket, to be sent over
97 Buffer output; /* data received over encrypted connection for
99 Buffer extended;
100 char path[SSH_CHANNEL_PATH_LEN];
102 int listening_port; /* port being listened for forwards */
103 int host_port; /* remote port to connect for forwards */
104 char *remote_name; /* remote hostname */
106 u_int remote_window;
107 u_int remote_maxpacket;
108 u_int local_window;
109 u_int local_window_max;
110 u_int local_consumed;
111 u_int local_maxpacket;
112 int extended_usage;
113 int single_connection;
115 char *ctype; /* type */
118 channel_callback_fn *confirm;
119 channel_callback_fn *detach_user;
122 channel_filter_fn *input_filter;