1DTLS_SET_TIMER_CB(3)                OpenSSL               DTLS_SET_TIMER_CB(3)
2
3
4

NAME

6       DTLS_timer_cb, DTLS_set_timer_cb - Set callback for controlling DTLS
7       timer duration
8

SYNOPSIS

10        #include <openssl/ssl.h>
11
12        typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
13
14        void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb);
15

DESCRIPTION

17       This function sets an optional callback function for controlling the
18       timeout interval on the DTLS protocol. The callback function will be
19       called by DTLS for every new DTLS packet that is sent.
20

RETURN VALUES

22       Returns void.
23

HISTORY

25       The DTLS_set_timer_cb() function was added in OpenSSL 1.1.1.
26
28       Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
29
30       Licensed under the OpenSSL license (the "License").  You may not use
31       this file except in compliance with the License.  You can obtain a copy
32       in the file LICENSE in the source distribution or at
33       <https://www.openssl.org/source/license.html>.
34
35
36
371.1.1k                            2021-03-26              DTLS_SET_TIMER_CB(3)
Impressum