SilcPacketError
NAME
typedef enum { ... } SilcPacketError
DESCRIPTION
Packet errors. This is returned in the error callback. If application
needs the actual lower level stream error, it needs to retrieve it
from the actual stream. It can retrieve the underlaying stream from
the packet stream by calling silc_packet_stream_get_stream function.
You may retrieve string version of the SilcPacketError by calling
silc_packet_error_string.
SOURCE
typedef enum {
SILC_PACKET_ERR_READ, /* Error while reading */
SILC_PACKET_ERR_WRITE, /* Error while writing */
SILC_PACKET_ERR_MAC_FAILED, /* Packet MAC check failed */
SILC_PACKET_ERR_DECRYPTION_FAILED, /* Packet decryption failed */
SILC_PACKET_ERR_UNKNOWN_SID, /* Unknown SID (with IV included) */
SILC_PACKET_ERR_MALFORMED, /* Packet is malformed */
SILC_PACKET_ERR_NO_MEMORY, /* System out of memory */
} SilcPacketError;
|