suricata
DNSAnswerEntry_ Struct Reference

DNS Answer storage. Stored in TX list. More...

#include <app-layer-dns-common.h>

Public Member Functions

 TAILQ_ENTRY (DNSAnswerEntry_) next
 

Data Fields

uint16_t type
 
uint16_t class
 
uint32_t ttl
 
uint16_t fqdn_len
 
uint16_t data_len
 

Detailed Description

DNS Answer storage. Stored in TX list.

Layout is: [list ptr][2 byte type][2 byte class][2 byte ttl] \ [2 byte fqdn len][2 byte data len][...fqdn...][...data...]

Definition at line 181 of file app-layer-dns-common.h.

Member Function Documentation

DNSAnswerEntry_::TAILQ_ENTRY ( DNSAnswerEntry_  )

Field Documentation

uint16_t DNSAnswerEntry_::class

Definition at line 185 of file app-layer-dns-common.h.

Referenced by DNSStoreAnswerInState().

uint16_t DNSAnswerEntry_::data_len

Definition at line 190 of file app-layer-dns-common.h.

Referenced by DNSSetEvent(), and DNSStoreAnswerInState().

uint16_t DNSAnswerEntry_::fqdn_len

Definition at line 189 of file app-layer-dns-common.h.

Referenced by DNSSetEvent(), and DNSStoreAnswerInState().

uint32_t DNSAnswerEntry_::ttl

Definition at line 187 of file app-layer-dns-common.h.

Referenced by DNSStoreAnswerInState().

uint16_t DNSAnswerEntry_::type

Definition at line 184 of file app-layer-dns-common.h.

Referenced by DNSStoreAnswerInState().


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