Home | History | Annotate | Download | only in dropbear

Lines Matching full:packet

26 #include "packet.h"
49 /* non-blocking function writing out a current encrypted packet */
80 /* We've finished with the packet, free it */
85 /* More packet left to write, leave it in the queue for later */
92 /* Non-blocking function reading available portion of a packet into the
105 /* In the first blocksize of a packet */
107 /* Read the first blocksize of the packet, so we can decrypt it and
108 * find the length of the whole packet */
119 /* Attempt to read the remainder of the packet, note that there
141 /* The whole packet has been read */
144 * handle the packet contents... */
149 /* Function used to read the initial portion of a packet, and determine the
150 * length. Only called during the first BLOCKSIZE of a packet. */
163 /* start of a new packet */
171 /* read the rest of the packet if possible */
192 /* now we have the first block, need to get packet length, so we decrypt
214 /* check packet length */
218 dropbear_exit("bad packet size %d", len);
226 /* handle the received packet */
285 dropbear_exit("bad packet size");
414 buffer * writebuf; /* the packet which will go on the wire */
422 /* Encrypted packet len is payload+5, then worst case is if we are 3 away
452 /* length of padding - packet length must be a multiple of blocksize,
458 /* check for min packet length */
464 /* packet length excluding the packetlength uint32 */
507 /* enqueue the packet for sending */
519 /* Create the packet mac, and append H(seqno|clearbuf) to the output */