diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-02-28 23:24:30 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-02-28 23:24:30 +0800 |
commit | 125a970d71d5b43b7b648412fcc614e782c42a1d (patch) | |
tree | 8bbc278b055fd573a9d40ba171d9031626551371 /session.h | |
parent | 59bb1777be18b8f1b263aaeabe54a32933fc871d (diff) | |
parent | 89c0b2a6d863e54bd0253355146f09b92edeccda (diff) |
merge tcp fastopen
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -38,6 +38,7 @@ #include "tcpfwd.h" #include "chansession.h" #include "dbutil.h" +#include "netio.h" extern int sessinitdone; /* Is set to 0 somewhere */ extern int exitflag; @@ -60,7 +61,8 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) ATTRIB_N void svr_dropbear_log(int priority, const char* format, va_list param); /* Client */ -void cli_session(int sock_in, int sock_out) ATTRIB_NORETURN; +void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) ATTRIB_NORETURN; +void cli_connected(int result, int sock, void* userdata, const char *errstring); void cleantext(unsigned char* dirtytext); /* crypto parameters that are stored individually for transmit and receive */ @@ -144,6 +146,8 @@ struct sshsession { int signal_pipe[2]; /* stores endpoints of a self-pipe used for race-free signal handling */ + + m_list conn_pending; /* time of the last packet send/receive, for keepalive. Not real-world clock */ time_t last_packet_time_keepalive_sent; |