summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/session.h b/session.h
index b63a258..aa90457 100644
--- a/session.h
+++ b/session.h
@@ -134,12 +134,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
keepalive purposes */
+ time_t last_recv_packet_time; /* time of the last packet received, for
+ idle timeout purposes */
+
+
/* KEX/encryption related */
struct KEXState kexstate;
struct key_context *keys;