![]() |
Qt 6.x
The Qt SDK
|
Functions | |
int | q_dgram_read (BIO *bio, char *dst, int bytesToRead) |
int | q_dgram_write (BIO *bio, const char *src, int bytesToWrite) |
int | q_dgram_puts (BIO *bio, const char *src) |
long | q_dgram_ctrl (BIO *bio, int cmd, long num, void *ptr) |
int | q_dgram_create (BIO *bio) |
int | q_dgram_destroy (BIO *bio) |
Variables | |
const char *const | qdtlsMethodName = "qdtlsbio" |
int dtlsbio::q_dgram_create | ( | BIO * | bio | ) |
Definition at line 538 of file qdtls_openssl.cpp.
References q_BIO_set_init(), and q_dgram_create().
Referenced by q_dgram_create().
long dtlsbio::q_dgram_ctrl | ( | BIO * | bio, |
int | cmd, | ||
long | num, | ||
void * | ptr | ||
) |
Definition at line 338 of file qdtls_openssl.cpp.
References dtlsutil::defaultMtu, dtls, QAbstractSocket::IPv4Protocol, QAbstractSocket::IPv6Protocol, ptr(), Q_ASSERT, q_BIO_get_app_data, q_dgram_ctrl(), qDebug, qDtlsDebug, qDtlsWarning, and qWarning.
Referenced by q_dgram_ctrl().
int dtlsbio::q_dgram_destroy | ( | BIO * | bio | ) |
Definition at line 548 of file qdtls_openssl.cpp.
References q_dgram_destroy(), and Q_UNUSED.
Referenced by q_dgram_destroy().
int dtlsbio::q_dgram_puts | ( | BIO * | bio, |
const char * | src | ||
) |
Definition at line 328 of file qdtls_openssl.cpp.
References q_dgram_puts(), q_dgram_write(), and qCWarning.
Referenced by q_dgram_puts().
int dtlsbio::q_dgram_read | ( | BIO * | bio, |
char * | dst, | ||
int | bytesToRead | ||
) |
Definition at line 263 of file qdtls_openssl.cpp.
References dtls, Q_ASSERT, q_BIO_clear_retry_flags, q_BIO_get_app_data, q_BIO_set_retry_read, q_dgram_read(), qCWarning, and qMin().
Referenced by q_dgram_read().
int dtlsbio::q_dgram_write | ( | BIO * | bio, |
const char * | src, | ||
int | bytesToWrite | ||
) |
Definition at line 293 of file qdtls_openssl.cpp.
References QAbstractSocket::ConnectedState, dtls, QByteArray::fromRawData(), Q_ASSERT, q_BIO_clear_retry_flags, q_BIO_get_app_data, q_BIO_set_retry_write, q_dgram_write(), qCWarning, QAbstractSocket::state(), QIODevice::write(), and QUdpSocket::writeDatagram().
Referenced by q_dgram_puts(), and q_dgram_write().
const char* const dtlsbio::qdtlsMethodName = "qdtlsbio" |
Definition at line 554 of file qdtls_openssl.cpp.