DTLS_get_data_mtu3ssl
Get maximum data payload size
Usage
#include <openssl/ssl.h>size_t DTLS_get_data_mtu(const SSL *ssl);
Overview
This function obtains the maximum data payload size for the established DTLS connection ssl, based on the DTLS record MTU and the overhead of the DTLS record header, encryption and authentication currently in use.
Return values
Returns the maximum data payload size on success, or 0 on failure.
Releases
5 releases since Debian 10 (Buster); the text changed 4 times.