Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

DTLS_get_data_mtu - Get maximum data payload size

Description

       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.

History

       The DTLS_get_data_mtu() function was added in OpenSSL 1.1.1.

Name

       DTLS_get_data_mtu - Get maximum data payload size

Return Values

       Returns the maximum data payload size on success, or 0 on failure.

Synopsis

        #include <openssl/ssl.h>

        size_t DTLS_get_data_mtu(const SSL *ssl);

See Also