1DTLS_GET_DATA_MTU(3) OpenSSL DTLS_GET_DATA_MTU(3)
2
3
4
6 DTLS_get_data_mtu - Get maximum data payload size
7
9 #include <openssl/ssl.h>
10
11 size_t DTLS_get_data_mtu(const SSL *ssl);
12
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
19 Returns the maximum data payload size on success, or 0 on failure.
20
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 OpenSSL license (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
341.1.1g 2020-04-23 DTLS_GET_DATA_MTU(3)