djbdnscurve6 45
djbdnscurve6
Loading...
Searching...
No Matches
Macros | Functions | Variables
response.c File Reference
#include "dns.h"
#include "byte.h"
#include "uint_t.h"
#include "response.h"
Include dependency graph for response.c:

Go to the source code of this file.

Macros

#define NAMES   100
 

Functions

int response_addbytes (const char *buf, unsigned int len)
 
int response_addname (const char *d)
 
int response_query (const char *q, const char qtype[2], const char qclass[2])
 
void response_hidettl (void)
 
int response_rstart (const char *d, const char type[2], uint32 ttl)
 
void response_rfinish (int x)
 
int response_cname (const char *c, const char *d, uint32 ttl)
 
void response_nxdomain (void)
 
void response_servfail (void)
 
void response_id (const char id[2])
 
void response_tc (void)
 

Variables

char response [65535]
 
unsigned int response_len = 0
 
unsigned int max_response_len
 
unsigned int do_dnssec = 0
 

Macro Definition Documentation

◆ NAMES

#define NAMES   100

Definition at line 12 of file response.c.

Function Documentation

◆ response_addbytes()

int response_addbytes ( const char *  buf,
unsigned int  len 
)

Definition at line 17 of file response.c.

Here is the caller graph for this function:

◆ response_addname()

int response_addname ( const char *  d)

Definition at line 25 of file response.c.

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

◆ response_cname()

int response_cname ( const char *  c,
const char *  d,
uint32  ttl 
)

Definition at line 95 of file response.c.

Here is the call graph for this function:

◆ response_hidettl()

void response_hidettl ( void  )

Definition at line 70 of file response.c.

Here is the caller graph for this function:

◆ response_id()

void response_id ( const char  id[2])

Definition at line 114 of file response.c.

◆ response_nxdomain()

void response_nxdomain ( void  )

Definition at line 103 of file response.c.

◆ response_query()

int response_query ( const char *  q,
const char  qtype[2],
const char  qclass[2] 
)

Definition at line 54 of file response.c.

Here is the call graph for this function:

◆ response_rfinish()

void response_rfinish ( int  x)

Definition at line 89 of file response.c.

Here is the caller graph for this function:

◆ response_rstart()

int response_rstart ( const char *  d,
const char  type[2],
uint32  ttl 
)

Definition at line 75 of file response.c.

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

◆ response_servfail()

void response_servfail ( void  )

Definition at line 109 of file response.c.

◆ response_tc()

void response_tc ( void  )

Definition at line 119 of file response.c.

Here is the caller graph for this function:

Variable Documentation

◆ do_dnssec

unsigned int do_dnssec = 0

Definition at line 9 of file response.c.

◆ max_response_len

unsigned int max_response_len

Definition at line 8 of file response.c.

◆ response

char response[65535]

Definition at line 6 of file response.c.

◆ response_len

unsigned int response_len = 0

Definition at line 7 of file response.c.