Struct DNSPacket

Nested Relationships

Nested Types

Struct Documentation

struct DNSPacket

Public Functions

inline uint16_t GetWorkerId() const
inline uint32_t GetBufferLoc() const

Public Members

IpData ip_data
uint16_t dns_id
DnsName question
DnsQType q_type
DnsRCode r_code
bool rec_capped
struct DNSPacket::Data data

Public Static Functions

static tl::expected<DNSPacket, DNSParseError> init(RTEMempool<DefaultPacket, MbufType::Raw> &mempool, RTEMbufElement<DefaultPacket, MbufType::Pkt> &pkt)
struct Data

Public Members

RTEMbufArray<ResourceRecord, MAX_RECORDS> ans
RTEMbufArray<ResourceRecord, MAX_RECORDS> auth
RTEMbufArray<ResourceRecord, MAX_RECORDS> add