summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-03-01 00:57:21 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-03-01 00:57:21 +0800
commit579463933b6328b8d54ea246c0d0c7745fb8542a (patch)
treedcd80d452566b8dea94004e3747c7a3416a50d5c /session.h
parent989c5c14361671ceaf3e78313a56d4260bcb49f9 (diff)
A bit of a bodge to avoid memcpy if zlib is disabled
--HG-- branch : nocircbuffer
Diffstat (limited to 'session.h')
-rw-r--r--session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.h b/session.h
index 85dba3b..0780d51 100644
--- a/session.h
+++ b/session.h
@@ -127,6 +127,7 @@ struct sshsession {
struct Queue writequeue; /* A queue of encrypted packets to send */
buffer *readbuf; /* From the wire, decrypted in-place */
buffer *payload; /* Post-decompression, the actual SSH packet */
+ unsigned int payload_beginning;
unsigned int transseq, recvseq; /* Sequence IDs */
/* Packet-handling flags */