ldns_struct_edns_option Struct Reference

The struct that stores an ordered EDNS option. More...

Data Fields

ldns_edns_option_code _code
 
size_t _size
 
void * _data
 

Detailed Description

The struct that stores an ordered EDNS option.

An EDNS option is structed as follows: +0 (MSB) +1 (LSB) +—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ 0: | OPTION-CODE | +—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ 2: | OPTION-LENGTH | +—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ 4: | | / OPTION-DATA / / / +—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+

Definition at line 97 of file edns.h.

Field Documentation

◆ _code

ldns_edns_option_code ldns_struct_edns_option::_code

Definition at line 98 of file edns.h.

◆ _size

size_t ldns_struct_edns_option::_size

Definition at line 99 of file edns.h.

◆ _data

void* ldns_struct_edns_option::_data

Definition at line 100 of file edns.h.