version 1.31.2.2, 2001/09/27 19:03:54 |
version 1.31.2.3, 2001/11/15 00:15:19 |
|
|
int type; /* channel type/state */ |
int type; /* channel type/state */ |
int self; /* my own channel identifier */ |
int self; /* my own channel identifier */ |
int remote_id; /* channel identifier for remote peer */ |
int remote_id; /* channel identifier for remote peer */ |
/* peer can be reached over encrypted connection, via packet-sent */ |
|
int istate; /* input from channel (state of receive half) */ |
int istate; /* input from channel (state of receive half) */ |
int ostate; /* output to channel (state of transmit half) */ |
int ostate; /* output to channel (state of transmit half) */ |
int flags; /* close sent/rcvd */ |
int flags; /* close sent/rcvd */ |
|
|
int efd; /* extended fd */ |
int efd; /* extended fd */ |
int sock; /* sock fd */ |
int sock; /* sock fd */ |
int isatty; /* rfd is a tty */ |
int isatty; /* rfd is a tty */ |
int force_drain; /* force close on iEOF */ |
int force_drain; /* force close on iEOF */ |
|
int delayed; /* fdset hack */ |
Buffer input; /* data read from socket, to be sent over |
Buffer input; /* data read from socket, to be sent over |
* encrypted connection */ |
* encrypted connection */ |
Buffer output; /* data received over encrypted connection for |
Buffer output; /* data received over encrypted connection for |
|
|
void channel_set_fds(int, int, int, int, int, int); |
void channel_set_fds(int, int, int, int, int, int); |
void channel_free(Channel *); |
void channel_free(Channel *); |
void channel_free_all(void); |
void channel_free_all(void); |
void channel_detach_all(void); |
|
void channel_stop_listening(void); |
void channel_stop_listening(void); |
|
|
void channel_send_open(int); |
void channel_send_open(int); |
|
|
|
|
int channel_not_very_much_buffered_data(void); |
int channel_not_very_much_buffered_data(void); |
void channel_close_all(void); |
void channel_close_all(void); |
void channel_free_all(void); |
|
int channel_still_open(void); |
int channel_still_open(void); |
char *channel_open_message(void); |
char *channel_open_message(void); |
int channel_find_open(void); |
int channel_find_open(void); |
|
|
/* channel_tcpfwd.c */ |
/* tcp forwarding */ |
|
void channel_set_af(int af); |
void channel_permit_all_opens(void); |
void channel_permit_all_opens(void); |
void channel_add_permitted_opens(char *, int); |
void channel_add_permitted_opens(char *, int); |
void channel_clear_permitted_opens(void); |
void channel_clear_permitted_opens(void); |
|
|
|
|
/* channel close */ |
/* channel close */ |
|
|
int chan_is_dead(Channel *); |
int chan_is_dead(Channel *, int); |
void chan_mark_dead(Channel *); |
void chan_mark_dead(Channel *); |
void chan_init_iostates(Channel *); |
void chan_init_iostates(Channel *); |
void chan_init(void); |
void chan_init(void); |