summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/session.h b/session.h
index 09c7e3a..1106db4 100644
--- a/session.h
+++ b/session.h
@@ -148,12 +148,16 @@ struct sshsession {
unsigned char lastpacket; /* What the last received packet type was */
- int signal_pipe[2]; /* stores endpoints of a self-pipe used for
+ int signal_pipe[2]; /* stores endpoints of a self-pipe used for
race-free signal handling */
- time_t last_packet_time; /* time of the last packet transmission, for
+ time_t last_trx_packet_time; /* time of the last packet transmission, for
keepalive purposes */
+ time_t last_packet_time; /* time of the last packet transmission or receive, for
+ idle timeout purposes */
+
+
/* KEX/encryption related */
struct KEXState kexstate;
struct key_context *keys;