ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
DnsWireMsgArgs Struct Reference

The message a name is read out of, and where its dotted text lands (RFC 1035 sec 4.1). More...

#include <dns_wire.h>

Public Attributes

const uint8_t * pkt
 the message the name sits in
 
size_t len
 octets in that message
 
size_t off
 where the name's first length octet sits
 
char * out
 where the dotted, NUL-terminated name is written
 
size_t out_cap
 octets that buffer holds
 
proto_bool allow_ptr
 follow a pointer (RFC 1035 sec 4.1.4); false makes one a decode failure
 

Detailed Description

The message a name is read out of, and where its dotted text lands (RFC 1035 sec 4.1).

Definition at line 43 of file dns_wire.h.

Member Data Documentation

◆ pkt

const uint8_t* DnsWireMsgArgs::pkt

the message the name sits in

Definition at line 45 of file dns_wire.h.

◆ len

size_t DnsWireMsgArgs::len

octets in that message

Definition at line 46 of file dns_wire.h.

◆ off

size_t DnsWireMsgArgs::off

where the name's first length octet sits

Definition at line 47 of file dns_wire.h.

◆ out

char* DnsWireMsgArgs::out

where the dotted, NUL-terminated name is written

Definition at line 48 of file dns_wire.h.

◆ out_cap

size_t DnsWireMsgArgs::out_cap

octets that buffer holds

Definition at line 49 of file dns_wire.h.

◆ allow_ptr

proto_bool DnsWireMsgArgs::allow_ptr

follow a pointer (RFC 1035 sec 4.1.4); false makes one a decode failure

Definition at line 50 of file dns_wire.h.


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