OpenVPN
probe_reply Struct Reference

probe reply TLV, a server's answer to a probe request More...

#include <probe.h>

Data Fields

uint64_t request_id
 echoes the request_id of the request
uint16_t priority
 DNS SRV style priority, lower is preferred.
uint16_t weight
 DNS SRV style weight.
uint16_t max_latency_diff
 candidate band in ms around the fastest server
uint16_t connect_lifetime
 For how many seconds, counted from the moment the client sent its own probe request, the server will still treat this exchange as the first two packets of the handshake.
uint16_t flags
 PROBE_REPLY_FLAG_*.

Detailed Description

probe reply TLV, a server's answer to a probe request

Definition at line 73 of file probe.h.

Field Documentation

◆ connect_lifetime

uint16_t probe_reply::connect_lifetime

For how many seconds, counted from the moment the client sent its own probe request, the server will still treat this exchange as the first two packets of the handshake.

Within that window the client may send the third packet straight away instead of starting a handshake of its own. 0 means it cannot, so it has to begin a fresh one.

Definition at line 84 of file probe.h.

Referenced by probe_reply_read(), probe_reply_write(), and test_probe_reply_roundtrip().

◆ flags

uint16_t probe_reply::flags

PROBE_REPLY_FLAG_*.

Definition at line 85 of file probe.h.

Referenced by probe_reply_read(), probe_reply_write(), test_probe_reply_flags_contradict(), and test_probe_reply_roundtrip().

◆ max_latency_diff

uint16_t probe_reply::max_latency_diff

candidate band in ms around the fastest server

Definition at line 78 of file probe.h.

Referenced by probe_reply_read(), probe_reply_write(), and test_probe_reply_roundtrip().

◆ priority

uint16_t probe_reply::priority

DNS SRV style priority, lower is preferred.

Definition at line 76 of file probe.h.

Referenced by probe_reply_read(), probe_reply_write(), and test_probe_reply_roundtrip().

◆ request_id

uint64_t probe_reply::request_id

echoes the request_id of the request

Definition at line 75 of file probe.h.

Referenced by probe_reply_read(), probe_reply_write(), and test_probe_reply_roundtrip().

◆ weight

uint16_t probe_reply::weight

DNS SRV style weight.

Definition at line 77 of file probe.h.

Referenced by probe_reply_read(), probe_reply_write(), and test_probe_reply_roundtrip().


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