OpenVPN
probe_request Struct Reference

probe request TLV, sent by a client to probe a server More...

#include <probe.h>

Data Fields

uint64_t request_id
 identifies this probe, echoed in the reply
uint64_t timestamp
 The client clock as a UNIX timestamp in seconds.
uint32_t flags
 PROBE_REQUEST_FLAG_*.

Detailed Description

probe request TLV, sent by a client to probe a server

Definition at line 61 of file probe.h.

Field Documentation

◆ flags

uint32_t probe_request::flags

PROBE_REQUEST_FLAG_*.

Definition at line 69 of file probe.h.

Referenced by probe_request_read(), probe_request_write(), test_probe_request_forward_compat(), and test_probe_request_roundtrip().

◆ request_id

uint64_t probe_request::request_id

identifies this probe, echoed in the reply

Definition at line 63 of file probe.h.

Referenced by probe_request_read(), probe_request_write(), test_probe_request_forward_compat(), and test_probe_request_roundtrip().

◆ timestamp

uint64_t probe_request::timestamp

The client clock as a UNIX timestamp in seconds.

It is there for the server, which uses it to bound how old a request it will answer and so how long a captured one can be replayed. The reply does not echo it: a client times the round trip itself, by the request_id.

Definition at line 68 of file probe.h.

Referenced by probe_request_read(), probe_request_write(), test_find_tlv_skips_optional_after_wanted(), test_probe_request_forward_compat(), and test_probe_request_roundtrip().


The documentation for this struct was generated from the following file: