DTLS_SET_TIMER_CB(3ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

🌸 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 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