djbdnscurve6 45
djbdnscurve6
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
dnstrace.c File Reference
#include "uint_t.h"
#include "fmt.h"
#include "str.h"
#include "byte.h"
#include "ip.h"
#include "exit.h"
#include "buffer.h"
#include "genalloc.h"
#include "stralloc.h"
#include "scan.h"
#include "logmsg.h"
#include "iopause.h"
#include "printrecord.h"
#include "alloc.h"
#include "parsetype.h"
#include "dd.h"
#include "dns.h"
Include dependency graph for dnstrace.c:

Go to the source code of this file.

Data Structures

struct  address
 

Macros

#define WHO   "dnstrace"
 

Functions

void nomem (void)
 
void usage (void)
 
void printdomain (const char *d)
 
int resolve (char *q, char qtype[2], char ip[16])
 
 GEN_ALLOC_typedef (GEN_ALLOC_readyplus(address_alloc, GEN_ALLOC_readyplus(struct address, GEN_ALLOC_readyplus(s, GEN_ALLOC_readyplus(len, GEN_ALLOC_readyplus(a)
 
void query_add (const char *owner, const char type[2])
 
void ns_add (const char *owner, const char *server)
 
void address_add (const char *owner, const char ip[16])
 
void parsepacket (const char *buf, unsigned int len, const char *d, const char dtype[2], const char *control)
 
int main (int argc, char **argv)
 

Variables

char ipstr [IP6_FMT]
 
char seed [128]
 

Macro Definition Documentation

◆ WHO

#define WHO   "dnstrace"

Definition at line 19 of file dnstrace.c.

Function Documentation

◆ address_add()

void address_add ( const char *  owner,
const char  ip[16] 
)

Definition at line 205 of file dnstrace.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GEN_ALLOC_typedef()

GEN_ALLOC_typedef ( GEN_ALLOC_readyplus(  address_alloc,
GEN_ALLOC_readyplus(  struct address,
GEN_ALLOC_readyplus(  s,
GEN_ALLOC_readyplus(  len,
GEN_ALLOC_readyplus(  a 
)

Definition at line 86 of file dnstrace.c.

Here is the call graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 397 of file dnstrace.c.

Here is the call graph for this function:

◆ nomem()

void nomem ( void  )

Definition at line 21 of file dnstrace.c.

Here is the caller graph for this function:

◆ ns_add()

void ns_add ( const char *  owner,
const char *  server 
)

Definition at line 172 of file dnstrace.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parsepacket()

void parsepacket ( const char *  buf,
unsigned int  len,
const char *  d,
const char  dtype[2],
const char *  control 
)

Definition at line 253 of file dnstrace.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printdomain()

void printdomain ( const char *  d)

Definition at line 34 of file dnstrace.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ query_add()

void query_add ( const char *  owner,
const char  type[2] 
)

Definition at line 149 of file dnstrace.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolve()

int resolve ( char *  q,
char  qtype[2],
char  ip[16] 
)

Definition at line 43 of file dnstrace.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ usage()

void usage ( void  )

Definition at line 25 of file dnstrace.c.

Here is the caller graph for this function:

Variable Documentation

◆ ipstr

char ipstr[IP6_FMT]

Definition at line 31 of file dnstrace.c.

◆ seed

char seed[128]

Definition at line 241 of file dnstrace.c.