enum ssh_packet_state_e
Overview
different state of packet reading. Moreā¦
#include <packet.h> enum ssh_packet_state_e { PACKET_STATE_INIT, PACKET_STATE_SIZEREAD, PACKET_STATE_PROCESSING, };
Detailed Documentation
different state of packet reading.
Enum Values
PACKET_STATE_INIT
Packet not initialized, must read the size of packet.
PACKET_STATE_SIZEREAD
Size was read, waiting for the rest of data.
PACKET_STATE_PROCESSING
Full packet was read and callbacks are being called.
Future packets should wait for the end of the callback.