Electroneum
edns_option Struct Reference

#include <msgparse.h>

Collaboration diagram for edns_option:

Public Attributes

struct edns_optionnext
 
uint16_t opt_code
 
size_t opt_len
 
uint8_topt_data
 

Detailed Description

EDNS option

Definition at line 227 of file msgparse.h.

Member Data Documentation

◆ next

struct edns_option* edns_option::next

next item in list

Definition at line 229 of file msgparse.h.

◆ opt_code

uint16_t edns_option::opt_code

type of this edns option

Definition at line 231 of file msgparse.h.

◆ opt_data

uint8_t* edns_option::opt_data

data of this edns option; allocated in region, or NULL if len=0

Definition at line 235 of file msgparse.h.

◆ opt_len

size_t edns_option::opt_len

length of this edns option (cannot exceed uint16 in encoding)

Definition at line 233 of file msgparse.h.


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