suricata
DNSTransaction_ Struct Reference

DNS Transaction, request/reply with same TX id. More...

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

Collaboration diagram for DNSTransaction_:

Public Member Functions

 TAILQ_HEAD (, DNSQueryEntry_) query_list
 
 TAILQ_HEAD (, DNSAnswerEntry_) answer_list
 
 TAILQ_HEAD (, DNSAnswerEntry_) authority_list
 
 TAILQ_ENTRY (DNSTransaction_) next
 

Data Fields

uint16_t tx_num
 
uint16_t tx_id
 
uint16_t flags
 
uint32_t logged
 
uint8_t replied
 
uint8_t reply_lost
 
uint8_t rcode
 
uint8_t recursion_desired
 
uint64_t detect_flags_ts
 
uint64_t detect_flags_tc
 
AppLayerDecoderEventsdecoder_events
 
DetectEngineStatede_state
 

Detailed Description

DNS Transaction, request/reply with same TX id.

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

Member Function Documentation

DNSTransaction_::TAILQ_ENTRY ( DNSTransaction_  )
DNSTransaction_::TAILQ_HEAD ( DNSQueryEntry_  )

list for query/queries

DNSTransaction_::TAILQ_HEAD ( DNSAnswerEntry_  )

list for answers

DNSTransaction_::TAILQ_HEAD ( DNSAnswerEntry_  )

list for authority records

Field Documentation

DetectEngineState* DNSTransaction_::de_state

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

Referenced by DNSGetTxDetectState(), DNSSetEvent(), and DNSSetTxDetectState().

AppLayerDecoderEvents* DNSTransaction_::decoder_events

per tx events

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

Referenced by DNSGetEvents(), DNSSetEvent(), and DNSStateTransactionFree().

uint64_t DNSTransaction_::detect_flags_tc

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

Referenced by DNSGetTxDetectFlags(), and DNSSetTxDetectFlags().

uint64_t DNSTransaction_::detect_flags_ts

detection engine flags

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

Referenced by DNSGetTxDetectFlags(), and DNSSetTxDetectFlags().

uint16_t DNSTransaction_::flags

dns flags

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

uint32_t DNSTransaction_::logged

flags for loggers done logging

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

Referenced by DNSGetTxLogged(), and DNSSetTxLogged().

uint8_t DNSTransaction_::rcode

response code (e.g. "no error" / "no such name")

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

uint8_t DNSTransaction_::recursion_desired

server said "recursion desired"

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

uint8_t DNSTransaction_::replied

bool indicating request is replied to.

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

Referenced by DNSGetAlstateProgress(), DNSStoreAnswerInState(), and RegisterDNSUDPParsers().

uint8_t DNSTransaction_::reply_lost
uint16_t DNSTransaction_::tx_id

transaction id

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

Referenced by DNSSetEvent(), DNSStoreQueryInState(), and DNSTransactionFindByTxId().

uint16_t DNSTransaction_::tx_num

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