edns_data Struct Reference

EDNS data storage rdata is parsed in a list (has accessor functions). More...

#include <msgparse.h>

Data Fields

uint8_t ext_rcode
 Extended RCODE.
 
uint8_t edns_version
 The EDNS version number.
 
uint16_t bits
 the EDNS bits field from ttl (host order): Z
 
uint16_t udp_size
 UDP reassembly size.
 
struct edns_optionopt_list_in
 rdata element list of options of an incoming packet created at parse time, or NULL if none
 
struct edns_optionopt_list_out
 rdata element list of options to encode for outgoing packets, or NULL if none
 
struct edns_optionopt_list_inplace_cb_out
 rdata element list of outgoing edns options from modules or NULL if none
 
uint16_t padding_block_size
 block size to pad
 
unsigned int edns_present: 1
 if EDNS OPT record was present
 
unsigned int cookie_present: 1
 if a cookie was present
 
unsigned int cookie_valid: 1
 if the cookie validated
 
unsigned int cookie_client: 1
 if the cookie holds only the client part
 

Detailed Description

EDNS data storage rdata is parsed in a list (has accessor functions).

allocated in a region.


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