The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
dns_wrapper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dns_exec_pkt_argv
 

Macros

#define DNS_WRAPPER_PORT   53
 
#define MAX_DNS_PKT_SZ   512
 
#define MIN_PKT_SZ   7
 

Functions

void resolver_process (const char *question, unsigned question_length, char *answer, unsigned *answer_length, int(*callback)(const char *name, uint32_t *ip))
 
void * dns_wrapper_thread (void *null)
 

Variables

pthread_mutex_t dns_exec_lock
 

Macro Definition Documentation

#define DNS_WRAPPER_PORT   53
#define MAX_DNS_PKT_SZ   512
#define MIN_PKT_SZ   7

Function Documentation

void* dns_wrapper_thread ( void *  null)

Here is the caller graph for this function:

void resolver_process ( const char *  question,
unsigned  question_length,
char *  answer,
unsigned *  answer_length,
int(*)(const char *name, uint32_t *ip)  callback 
)

Variable Documentation

pthread_mutex_t dns_exec_lock