]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/DTLS_set_timer_cb.pod
Add CPU info to the speed command summary
[thirdparty/openssl.git] / doc / man3 / DTLS_set_timer_cb.pod
CommitLineData
fa4b82cc
AH
1=pod
2
3=head1 NAME
4
5DTLS_timer_cb,
6DTLS_set_timer_cb
7- Set callback for controlling DTLS timer duration
8
9=head1 SYNOPSIS
10
11 #include <openssl/ssl.h>
12
13 typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
14
15 void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb);
16
17=head1 DESCRIPTION
18
19This function sets an optional callback function for controlling the
20timeout interval on the DTLS protocol. The callback function will be
21called by DTLS for every new DTLS packet that is sent.
22
23=head1 RETURN VALUES
24
25Returns void.
26
27=head1 HISTORY
28
fc5ecadd 29The DTLS_set_timer_cb() function was added in OpenSSL 1.1.1.
fa4b82cc
AH
30
31=head1 COPYRIGHT
32
33Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
34
4746f25a 35Licensed under the Apache License 2.0 (the "License"). You may not use
fa4b82cc
AH
36this file except in compliance with the License. You can obtain a copy
37in the file LICENSE in the source distribution or at
38L<https://www.openssl.org/source/license.html>.
39
40=cut