decoders/decode_dns.h File Reference

#include "../config.h"
#include "../engine/hlbr.h"
#include "decode.h"

Go to the source code of this file.

Data Structures

struct  dns_header_1
struct  dns_qestion
struct  dns_data

Defines

#define MAX_DNS_QUESTIONS   5
#define MAX_DNS_QUERY_LEN   1024
#define DNS_FLAG_QUERY   0x80

Typedefs

typedef dns_header_1 DNSHeader1
typedef dns_qestion DNSQuestion
typedef dns_data DNSData

Functions

int InitDecoderDNS ()


Define Documentation

#define DNS_FLAG_QUERY   0x80

Definition at line 31 of file decode_dns.h.

Referenced by DecodeDNS().

#define MAX_DNS_QUERY_LEN   1024

Definition at line 9 of file decode_dns.h.

Referenced by DecodeDNS().

#define MAX_DNS_QUESTIONS   5

Definition at line 8 of file decode_dns.h.

Referenced by DecodeDNS().


Typedef Documentation

typedef struct dns_data DNSData

typedef struct dns_header_1 DNSHeader1

typedef struct dns_qestion DNSQuestion


Function Documentation

int InitDecoderDNS (  ) 

Definition at line 123 of file decode_dns.c.

References CreateDecoder(), DecodeDNS(), decoder_rec::DecodeFunc, DECODER_NONE, DecoderAddDecoder(), global_vars::Decoders, FALSE, GetDecoderByName(), Globals, TRUE, and UDPDecoderID.

Referenced by InitDecoders().


Generated on Sat Jul 7 23:33:10 2007 for HLBR by  doxygen 1.5.2