DTLS_SET_TIMER_CB(3ossl)
πΈ NAME πΈ
okay so bestie, welcome to DTLS_SET_TIMER_CB(3ossl) β the OpenSSL manual page for DTLS_timer_cb and DTLS_set_timer_cb, aka the callback that controls your DTLS timer duration. π
β¨
π SYNOPSIS π
#include <openssl/ssl.h>
typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb);
Thatβs the whole include + typedef + setter situation, no cap. π«Ά
π¦ DESCRIPTION π¦
DTLS_set_timer_cb() sets an optional callback function for controlling the timeout interval on the DTLS protocol. π°οΈβ¨
The callback function gets called by DTLS for every new DTLS packet that is sent β every single one, bestie. π
β RETURN VALUES β
Returns void.
Thatβs it. Literally nothing comes back β itβs giving void, periodt. π
π HISTORY π
DTLS_set_timer_cb() was added in OpenSSL 1.1.1. iconic behavior from way back. π
π COPYRIGHT π
Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the βLicenseβ). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
π thatβs the whole page, bestie β from OpenSSL 3.5.0, dated 2026-09-25, on manual name DTLS_SET_TIMER_CB(3ossl). bye slay π«ΆπΈ
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms