/home/chaser/Zfone/Work/build/zfone-full-0.90.438/zfone3/lib/libzrtp/include/zrtp_error.h File Reference
libzrtp errors definitions
More...
#include "zrtp_config.h"
Go to the source code of this file.
|
Enumerations |
enum | zrtp_protocol_error_t {
zrtp_error_unknown = 0,
zrtp_error_timeout = 1,
zrtp_error_invalid_packet = 0x10,
zrtp_error_software = 0x20,
zrtp_error_version = 0x30,
zrtp_error_hello_mistmatch = 0x40,
zrtp_error_hash_unsp = 0x51,
zrtp_error_cipher_unsp = 0x52,
zrtp_error_pktype_unsp = 0x53,
zrtp_error_auth_unsp = 0x54,
zrtp_error_sas_unsp = 0x55,
zrtp_error_no_secret = 0x56,
zrtp_error_possible_mitm1 = 0x61,
zrtp_error_possible_mitm2 = 0x62,
zrtp_error_possible_mitm3 = 0x63,
zrtp_error_auth_decrypt = 0x70,
zrtp_error_nonse_reuse = 0x80,
zrtp_error_equal_zid = 0x90,
zrtp_error_service_unavail = 0xA0,
zrtp_error_goclear_unsp = 0x100,
zrtp_error_wrong_zid = 0x202,
zrtp_error_wrong_meshmac = 0x203,
zrtp_error_count
} |
| Define protocol error codes according to ZRTP RFC sec. 5.9. More...
|
enum | zrtp_status_t {
zrtp_status_ok = 0,
zrtp_status_fail = 1,
zrtp_status_bad_param = 2,
zrtp_status_alloc_fail = 3,
zrtp_status_auth_fail = 4,
zrtp_status_cipher_fail = 5,
zrtp_status_algo_fail = 6,
zrtp_status_key_expired = 7,
zrtp_status_buffer_size = 8,
zrtp_status_drop = 9,
zrtp_status_open_fail = 10,
zrtp_status_read_fail = 11,
zrtp_status_write_fail = 12,
zrtp_status_old_pkt = 13,
zrtp_status_rp_fail = 14,
zrtp_status_zrp_fail = 15,
zrtp_status_crc_fail = 16,
zrtp_status_rng_fail = 17,
zrtp_status_wrong_state = 18,
zrtp_status_attack = 19,
zrtp_status_notavailable = 20,
zrtp_status_count = 21
} |
| libzrtp functions statuses. More...
|
Detailed Description
libzrtp errors definitions