7 - Set callback for controlling DTLS timer duration
11 #include <openssl/ssl.h>
13 typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
15 void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb);
19 This function sets an optional callback function for controlling the
20 timeout interval on the DTLS protocol. The callback function will be
21 called by DTLS for every new DTLS packet that is sent.
29 This function was added in OpenSSL 1.1.1
33 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
35 Licensed under the OpenSSL license (the "License"). You may not use
36 this file except in compliance with the License. You can obtain a copy
37 in the file LICENSE in the source distribution or at
38 L<https://www.openssl.org/source/license.html>.