Lines Matching refs:err_code
199 unsigned int err_code = DTLS_SUCCESS; in _DTLSVerifyOptions_set() local
220 err_code = DTLS_INVALID_CA_CERTIFICATE; in _DTLSVerifyOptions_set()
232 return err_code; in _DTLSVerifyOptions_set()
481 unsigned int err_code = DTLS_SUCCESS; in HAL_DTLSSession_write() local
492 err_code = DTLS_HANDSHAKE_IN_PROGRESS; in HAL_DTLSSession_write()
497 err_code = DTLS_SUCCESS; in HAL_DTLSSession_write()
501 return err_code; in HAL_DTLSSession_write()
508 unsigned int err_code = DTLS_READ_DATA_FAILED; in HAL_DTLSSession_read() local
517 err_code = DTLS_SUCCESS; in HAL_DTLSSession_read()
522 err_code = DTLS_FATAL_ALERT_MESSAGE; in HAL_DTLSSession_read()
525 err_code = DTLS_PEER_CLOSE_NOTIFY; in HAL_DTLSSession_read()
528 err_code = DTLS_SUCCESS; in HAL_DTLSSession_read()
535 return err_code; in HAL_DTLSSession_read()