The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
andns_lib.c File Reference
#include "andns_lib.h"
#include "andns_net.h"
#include "log.h"
#include "err_errno.h"
#include "xmalloc.h"
#include <arpa/inet.h>
#include <zlib.h>
Include dependency graph for andns_lib.c:

Functions

int andns_compress (char *src, int srclen)
 
char * andns_uncompress (char *src, int srclen, int *dstlen)
 
int a_hdr_u (char *buf, andns_pkt *ap)
 
int a_qst_u (char *buf, andns_pkt *ap, int limitlen)
 
int a_answ_u (char *buf, andns_pkt *ap, int limitlen)
 
int a_answs_u (char *buf, andns_pkt *ap, int limitlen)
 
int a_u (char *buf, int pktlen, andns_pkt **app)
 
int a_hdr_p (andns_pkt *ap, char *buf)
 
int a_qst_p (andns_pkt *ap, char *buf, int limitlen)
 
int a_answ_p (andns_pkt *ap, andns_pkt_data *apd, char *buf, int limitlen)
 
int a_answs_p (andns_pkt *ap, char *buf, int limitlen)
 
int a_p (andns_pkt *ap, char *buf)
 
andns_pktcreate_andns_pkt (void)
 
andns_pkt_datacreate_andns_pkt_data (void)
 
andns_pkt_dataandns_add_answ (andns_pkt *ap)
 
void destroy_andns_pkt_data (andns_pkt_data *apd)
 
void andns_del_answ (andns_pkt *ap)
 
void destroy_andns_pkt_datas (andns_pkt *ap)
 
void destroy_andns_pkt (andns_pkt *ap)
 

Function Documentation

int a_answ_p ( andns_pkt ap,
andns_pkt_data apd,
char *  buf,
int  limitlen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int a_answ_u ( char *  buf,
andns_pkt ap,
int  limitlen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int a_answs_p ( andns_pkt ap,
char *  buf,
int  limitlen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int a_answs_u ( char *  buf,
andns_pkt ap,
int  limitlen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int a_hdr_p ( andns_pkt ap,
char *  buf 
)

Here is the caller graph for this function:

int a_hdr_u ( char *  buf,
andns_pkt ap 
)

Here is the caller graph for this function:

int a_p ( andns_pkt ap,
char *  buf 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int a_qst_p ( andns_pkt ap,
char *  buf,
int  limitlen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int a_qst_u ( char *  buf,
andns_pkt ap,
int  limitlen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int a_u ( char *  buf,
int  pktlen,
andns_pkt **  app 
)

Here is the call graph for this function:

Here is the caller graph for this function:

andns_pkt_data* andns_add_answ ( andns_pkt ap)

Here is the call graph for this function:

Here is the caller graph for this function:

int andns_compress ( char *  src,
int  srclen 
)

Here is the caller graph for this function:

void andns_del_answ ( andns_pkt ap)

Here is the call graph for this function:

Here is the caller graph for this function:

char* andns_uncompress ( char *  src,
int  srclen,
int *  dstlen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

andns_pkt* create_andns_pkt ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

andns_pkt_data* create_andns_pkt_data ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void destroy_andns_pkt ( andns_pkt ap)

Here is the call graph for this function:

Here is the caller graph for this function:

void destroy_andns_pkt_data ( andns_pkt_data apd)

Here is the caller graph for this function:

void destroy_andns_pkt_datas ( andns_pkt ap)

Here is the call graph for this function:

Here is the caller graph for this function: