Function silc_packet_parse
SYNOPSIS
SilcPacketType silc_packet_parse(SilcPacketContext *ctx);
DESCRIPTION
Parses the packet. This is called when a whole packet is ready to be
parsed. The buffer sent must be already decrypted before calling this
function. The len argument must be the true length of the packet. This
function returns the type of the packet. The data section of the
buffer is parsed, not head or tail sections.
|