ekg2
Struktury danych | Definicje | Funkcje | Zmienne
Dokumentacja pliku plugins/sniff/sniff_dns.h

Idź do kodu źródłowego tego pliku.

Struktury danych

struct  DNS_HEADER

Definicje

#define DNS_HFIXEDSZ   12
#define DNS_QFIXEDSZ   4
#define NOERROR   0
#define FORMERR   1
#define SERVFAIL   2
#define NXDOMAIN   3
#define NOTIMP   4
#define REFUSED   5
#define T_A   1
#define T_NS   2
#define T_CNAME   5
#define T_PTR   12
#define T_MX   15
#define T_AAAA   28
#define T_SRV   33
#define NS_MAXCDNAME   255
#define NS_CMPRSFLGS   0xc0

Funkcje

void * mempcpy (void *dest, const void *src, size_t n)
static int special (int ch)
static int printable (int ch)
int ns_name_unpack (const u_char *msg, const u_char *eom, const u_char *src, u_char *dst, size_t dstsiz)
int ns_name_ntop (const u_char *src, char *dst, size_t dstsiz)
int ns_name_uncompress (const u_char *msg, const u_char *eom, const u_char *src, char *dst, size_t dstsiz)
int dn_expand (const char *msg, const char *eom, const char *src, char *dst, int dstsiz)

Zmienne

static const char digits [] = "0123456789"

Dokumentacja definicji

#define DNS_HFIXEDSZ   12
#define DNS_QFIXEDSZ   4
#define FORMERR   1
#define NOERROR   0
#define NOTIMP   4
#define NS_CMPRSFLGS   0xc0
#define NS_MAXCDNAME   255
#define NXDOMAIN   3
#define REFUSED   5
#define SERVFAIL   2
#define T_A   1
#define T_AAAA   28
#define T_CNAME   5
#define T_MX   15
#define T_NS   2
#define T_PTR   12
#define T_SRV   33

Dokumentacja funkcji

int dn_expand ( const char *  msg,
const char *  eom,
const char *  src,
char *  dst,
int  dstsiz 
)
void* mempcpy ( void *  dest,
const void *  src,
size_t  n 
)
int ns_name_ntop ( const u_char *  src,
char *  dst,
size_t  dstsiz 
)
int ns_name_uncompress ( const u_char *  msg,
const u_char *  eom,
const u_char *  src,
char *  dst,
size_t  dstsiz 
)
int ns_name_unpack ( const u_char *  msg,
const u_char *  eom,
const u_char *  src,
u_char *  dst,
size_t  dstsiz 
)
static int printable ( int  ch) [static]
static int special ( int  ch) [static]

Dokumentacja zmiennych

const char digits[] = "0123456789" [static]
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje