Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
dtlsbio Namespace Reference

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"
 

Function Documentation

◆ q_dgram_create()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ q_dgram_ctrl()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ q_dgram_destroy()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ q_dgram_puts()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ q_dgram_read()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ q_dgram_write()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ qdtlsMethodName

const char* const dtlsbio::qdtlsMethodName = "qdtlsbio"

Definition at line 554 of file qdtls_openssl.cpp.