djbdnscurve6 53
djbdnscurve6
Loading...
Searching...
No Matches
Macros | Functions | Variables
dnsq.c File Reference
#include "uint_t.h"
#include "logmsg.h"
#include "buffer.h"
#include "scan.h"
#include "str.h"
#include "byte.h"
#include "ip.h"
#include "iopause.h"
#include "printpacket.h"
#include "parsetype.h"
#include "dns.h"
#include "exit.h"
#include "curvedns.h"
Include dependency graph for dnsq.c:

Go to the source code of this file.

Macros

#define WHO   "dnsq"
 

Functions

void usage (void)
 
void oops (void)
 
int resolve (char *q, char qtype[2], char servers[QUERY_MAXIPLEN])
 
int main (int argc, char **argv)
 

Variables

unsigned int msgsize = MSGSIZE
 
unsigned int flagedns0 = 0
 
char servers [QUERY_MAXIPLEN]
 
char type [2]
 

Macro Definition Documentation

◆ WHO

#define WHO   "dnsq"

Definition at line 16 of file dnsq.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 67 of file dnsq.c.

Here is the call graph for this function:

◆ oops()

void oops ( void  )

Definition at line 25 of file dnsq.c.

Here is the caller graph for this function:

◆ resolve()

int resolve ( char *  q,
char  qtype[2],
char  servers[QUERY_MAXIPLEN] 
)

Definition at line 32 of file dnsq.c.

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

◆ usage()

void usage ( void  )

Definition at line 21 of file dnsq.c.

Here is the caller graph for this function:

Variable Documentation

◆ flagedns0

unsigned int flagedns0 = 0

Definition at line 19 of file dnsq.c.

◆ msgsize

unsigned int msgsize = MSGSIZE

Definition at line 18 of file dnsq.c.

◆ servers

char servers[QUERY_MAXIPLEN]

Definition at line 56 of file dnsq.c.

◆ type

char type[2]

Definition at line 60 of file dnsq.c.