ldns_struct_edns_option Struct Reference

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

`#include <edns.h>`

## 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 101 of file edns.h.

## Field Documentation

## _code

ldns_edns_option_code ldns_struct_edns_option::_code

Definition at line 102 of file edns.h.

## _size

size_t ldns_struct_edns_option::_size

Definition at line 103 of file edns.h.

## _data

void* ldns_struct_edns_option::_data

Definition at line 104 of file edns.h.