Go to the source code of this file.
Functions | |
int | MHD_gtls_mre_num2record (int num) |
int | MHD_gtls_mre_record2num (uint16_t record_size) |
int | MHD_gtls_max_record_recv_params (MHD_gtls_session_t session, const opaque *data, size_t data_size) |
int | MHD_gtls_max_record_send_params (MHD_gtls_session_t session, opaque *data, size_t) |
int MHD_gtls_max_record_recv_params | ( | MHD_gtls_session_t | session, | |
const opaque * | data, | |||
size_t | data_size | |||
) |
Definition at line 44 of file ext_max_record.c.
References DECR_LEN, MHD_gtls_security_param_st::entity, GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER, GNUTLS_E_UNEXPECTED_PACKET_LENGTH, GNUTLS_SERVER, MHD_gtls_session_int::internals, MHD_gtls_security_param_st::max_record_recv_size, MHD_gtls_security_param_st::max_record_send_size, MHD_gnutls_assert, MHD_gtls_mre_num2record(), MHD_gtls_internals_st::proposed_record_size, and MHD_gtls_session_int::security_parameters.
int MHD_gtls_max_record_send_params | ( | MHD_gtls_session_t | session, | |
opaque * | data, | |||
size_t | ||||
) |
Definition at line 105 of file ext_max_record.c.
References DEFAULT_MAX_RECORD_SIZE, MHD_gtls_security_param_st::entity, GNUTLS_CLIENT, GNUTLS_E_SHORT_MEMORY_BUFFER, MHD_gtls_session_int::internals, MHD_gtls_security_param_st::max_record_recv_size, MHD_gnutls_assert, MHD_gtls_mre_record2num(), MHD_gtls_internals_st::proposed_record_size, and MHD_gtls_session_int::security_parameters.
int MHD_gtls_mre_num2record | ( | int | num | ) |
Definition at line 161 of file ext_max_record.c.
References GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER.
Referenced by MHD_gtls_max_record_recv_params().
int MHD_gtls_mre_record2num | ( | uint16_t | record_size | ) |
Definition at line 182 of file ext_max_record.c.
References GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER.
Referenced by MHD_gtls_max_record_send_params().