DTLS_timer_cb

Callback that chooses the next DTLS retransmission timeout in microseconds.

Synopsis

Declared in <openssl/ssl.h>

typedef unsigned int(* DTLS_timer_cb)(SSL*, unsigned int);

Return Value

Timeout interval in microseconds until the next DTLS timer expiry.

Parameters

NameDescription
sDTLS SSL connection about to send a packet.
timer_usPreviously returned timeout in microseconds, or 0 on the first call.