OpenVPN
ctrl_msg_tlv_header Struct Reference

The header every TLV carries: the 15-bit type and optional flag packed into the first 16-bit field, then the length of the value that follows. More...

#include <control_msg.h>

Data Fields

uint16_t type
 the 15-bit TLV type
bool optional
 value of the optional flag
uint16_t value_len
 length of the value following the header

Detailed Description

The header every TLV carries: the 15-bit type and optional flag packed into the first 16-bit field, then the length of the value that follows.

Definition at line 56 of file control_msg.h.

Field Documentation

◆ optional

bool ctrl_msg_tlv_header::optional

◆ type

◆ value_len

uint16_t ctrl_msg_tlv_header::value_len

length of the value following the header

Definition at line 60 of file control_msg.h.

Referenced by ctrl_msg_tlv_next(), ctrl_msg_tlv_peek_header(), test_probe_reply_roundtrip(), test_probe_request_roundtrip(), and test_tlv_header_roundtrip().


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