djbdnscurve6 45
djbdnscurve6
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
dnsfilter.c File Reference
#include <unistd.h>
#include "buffer.h"
#include "stralloc.h"
#include "alloc.h"
#include "dns.h"
#include "ip.h"
#include "byte.h"
#include "scan.h"
#include "taia.h"
#include "getoptb.h"
#include "iopause.h"
#include "logmsg.h"
#include "exit.h"
#include "str.h"
Include dependency graph for dnsfilter.c:

Go to the source code of this file.

Data Structures

struct  line
 

Macros

#define WHO   "dnsfilter"
 

Functions

void nomem (void)
 
void errout (int i)
 
int main (int argc, char **argv)
 

Variables

struct linex
 
struct line tmp
 
unsigned int xmax = 1000
 
unsigned int xnum = 0
 
unsigned int numactive = 0
 
unsigned int maxactive = 10
 
char inbuf [1024]
 
int inbuflen = 0
 
iopause_fd * inio
 
int flag0 = 1
 
iopause_fd * io
 
int iolen
 
char servers [QUERY_MAXIPLEN]
 
uint32 scopes [QUERY_MAXNS]
 
char ip4 [4]
 
char ip6 [16]
 
char name [DNS_NAME6_DOMAIN]
 

Macro Definition Documentation

◆ WHO

#define WHO   "dnsfilter"

Definition at line 16 of file dnsfilter.c.

Function Documentation

◆ errout()

void errout ( int  i)

Definition at line 54 of file dnsfilter.c.

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

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 66 of file dnsfilter.c.

Here is the call graph for this function:

◆ nomem()

void nomem ( void  )

Definition at line 18 of file dnsfilter.c.

Here is the caller graph for this function:

Variable Documentation

◆ flag0

int flag0 = 1

Definition at line 43 of file dnsfilter.c.

◆ inbuf

char inbuf[1024]

Definition at line 40 of file dnsfilter.c.

◆ inbuflen

int inbuflen = 0

Definition at line 41 of file dnsfilter.c.

◆ inio

iopause_fd* inio

Definition at line 42 of file dnsfilter.c.

◆ io

iopause_fd* io

Definition at line 45 of file dnsfilter.c.

◆ iolen

int iolen

Definition at line 46 of file dnsfilter.c.

◆ ip4

char ip4[4]

Definition at line 50 of file dnsfilter.c.

◆ ip6

char ip6[16]

Definition at line 51 of file dnsfilter.c.

◆ maxactive

unsigned int maxactive = 10

Definition at line 36 of file dnsfilter.c.

◆ name

int doit return number of added chars to name

Definition at line 52 of file dnsfilter.c.

◆ numactive

unsigned int numactive = 0

Definition at line 35 of file dnsfilter.c.

◆ scopes

uint32 scopes[QUERY_MAXNS]

Definition at line 49 of file dnsfilter.c.

◆ servers

char servers[QUERY_MAXIPLEN]

Definition at line 48 of file dnsfilter.c.

◆ tmp

struct line tmp

Definition at line 32 of file dnsfilter.c.

◆ x

struct line * x

◆ xmax

unsigned int xmax = 1000

Definition at line 33 of file dnsfilter.c.

◆ xnum

unsigned int xnum = 0

Definition at line 34 of file dnsfilter.c.