1DTLS_GET_DATA_MTU(3ossl)            OpenSSL           DTLS_GET_DATA_MTU(3ossl)
2
3
4

NAME

6       DTLS_get_data_mtu - Get maximum data payload size
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        size_t DTLS_get_data_mtu(const SSL *ssl);
12

DESCRIPTION

14       This function obtains the maximum data payload size for the established
15       DTLS connection ssl, based on the DTLS record MTU and the overhead of
16       the DTLS record header, encryption and authentication currently in use.
17

RETURN VALUES

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

HISTORY

22       The DTLS_get_data_mtu() function was added in OpenSSL 1.1.1.
23
25       Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
26
27       Licensed under the Apache License 2.0 (the "License").  You may not use
28       this file except in compliance with the License.  You can obtain a copy
29       in the file LICENSE in the source distribution or at
30       <https://www.openssl.org/source/license.html>.
31
32
33
343.1.1                             2023-08-31          DTLS_GET_DATA_MTU(3ossl)
Impressum