|
OpenVPN
|
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 | |
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.
| bool ctrl_msg_tlv_header::optional |
value of the optional flag
Definition at line 59 of file control_msg.h.
Referenced by ctrl_msg_find_tlv(), ctrl_msg_tlv_peek_header(), test_probe_reply_roundtrip(), test_probe_request_roundtrip(), test_tlv_header_roundtrip(), and test_tlv_next_walks_payload().
| uint16_t ctrl_msg_tlv_header::type |
the 15-bit TLV type
Definition at line 58 of file control_msg.h.
Referenced by ctrl_msg_find_tlv(), ctrl_msg_tlv_peek_header(), parse_early_negotiation_tlvs(), test_generate_reset_packet_resend_wkc(), test_probe_reply_roundtrip(), test_probe_request_roundtrip(), test_tlv_header_roundtrip(), and test_tlv_next_walks_payload().
| 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().