Mercurial > dropbear
comparison session.h @ 1055:4d7b4c5526c5 nocircbuffer
A bit of a bodge to avoid memcpy if zlib is disabled
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 01 Mar 2015 00:57:21 +0800 |
parents | 01eea88963f3 |
children | 703c7cdd2577 |
comparison
equal
deleted
inserted
replaced
1054:c71df09bc610 | 1055:4d7b4c5526c5 |
---|---|
125 throughout the code, as handlers fill out this | 125 throughout the code, as handlers fill out this |
126 buffer with the packet to send. */ | 126 buffer with the packet to send. */ |
127 struct Queue writequeue; /* A queue of encrypted packets to send */ | 127 struct Queue writequeue; /* A queue of encrypted packets to send */ |
128 buffer *readbuf; /* From the wire, decrypted in-place */ | 128 buffer *readbuf; /* From the wire, decrypted in-place */ |
129 buffer *payload; /* Post-decompression, the actual SSH packet */ | 129 buffer *payload; /* Post-decompression, the actual SSH packet */ |
130 unsigned int payload_beginning; | |
130 unsigned int transseq, recvseq; /* Sequence IDs */ | 131 unsigned int transseq, recvseq; /* Sequence IDs */ |
131 | 132 |
132 /* Packet-handling flags */ | 133 /* Packet-handling flags */ |
133 const packettype * packettypes; /* Packet handler mappings for this | 134 const packettype * packettypes; /* Packet handler mappings for this |
134 session, see process-packet.c */ | 135 session, see process-packet.c */ |