The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
andns_snsd.h File Reference
#include "dnslib.h"
#include "andns_lib.h"
#include "andna_cache.h"
Include dependency graph for andns_snsd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ANDNS_SNSD_PROTO_TCP   1
 
#define ANDNS_SNSD_PROTO_UDP   2
 

Functions

int snsd_main_ip (u_int *hname_hash, snsd_node *dst)
 
int snsd_node_to_data (char *buf, snsd_node *sn, u_char prio, int iplen, int recursion)
 
size_t snsd_node_to_aansw (char *buf, snsd_node *sn, u_char prio, int iplen)
 
int snsd_prio_to_aansws (char *buf, snsd_prio *sp, int iplen, int recursion, int *count)
 
int snsd_service_to_aansws (char *buf, snsd_service *ss, int iplen, int *count, int recursion)
 
int snsd_node_to_dansw (dns_pkt *dp, snsd_node *sn, int iplen)
 
int snsd_prio_to_dansws (dns_pkt *dp, snsd_prio *sp, int iplen)
 
int lcl_cache_to_dansws (dns_pkt *dp, lcl_cache *lc)
 
size_t lcl_cache_to_aansws (char *buf, lcl_cache *lc, int *count)
 

Macro Definition Documentation

#define ANDNS_SNSD_PROTO_TCP   1
#define ANDNS_SNSD_PROTO_UDP   2

Function Documentation

size_t lcl_cache_to_aansws ( char *  buf,
lcl_cache lc,
int *  count 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int lcl_cache_to_dansws ( dns_pkt dp,
lcl_cache lc 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int snsd_main_ip ( u_int *  hname_hash,
snsd_node dst 
)

Here is the call graph for this function:

Here is the caller graph for this function:

size_t snsd_node_to_aansw ( char *  buf,
snsd_node sn,
u_char  prio,
int  iplen 
)
int snsd_node_to_dansw ( dns_pkt dp,
snsd_node sn,
int  iplen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int snsd_node_to_data ( char *  buf,
snsd_node sn,
u_char  prio,
int  iplen,
int  recursion 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int snsd_prio_to_aansws ( char *  buf,
snsd_prio sp,
int  iplen,
int  recursion,
int *  count 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int snsd_prio_to_dansws ( dns_pkt dp,
snsd_prio sp,
int  iplen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int snsd_service_to_aansws ( char *  buf,
snsd_service ss,
int  iplen,
int *  count,
int  recursion 
)

Here is the call graph for this function:

Here is the caller graph for this function: