The Netsukuku Project
0.0.9
An Alternative routing method
|
#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>
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_pkt * | create_andns_pkt (void) |
andns_pkt_data * | create_andns_pkt_data (void) |
andns_pkt_data * | andns_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) |
int a_answ_p | ( | andns_pkt * | ap, |
andns_pkt_data * | apd, | ||
char * | buf, | ||
int | limitlen | ||
) |
int a_answ_u | ( | char * | buf, |
andns_pkt * | ap, | ||
int | limitlen | ||
) |
int a_answs_p | ( | andns_pkt * | ap, |
char * | buf, | ||
int | limitlen | ||
) |
int a_answs_u | ( | char * | buf, |
andns_pkt * | ap, | ||
int | limitlen | ||
) |
int a_hdr_p | ( | andns_pkt * | ap, |
char * | buf | ||
) |
int a_hdr_u | ( | char * | buf, |
andns_pkt * | ap | ||
) |
int a_p | ( | andns_pkt * | ap, |
char * | buf | ||
) |
int a_qst_p | ( | andns_pkt * | ap, |
char * | buf, | ||
int | limitlen | ||
) |
int a_qst_u | ( | char * | buf, |
andns_pkt * | ap, | ||
int | limitlen | ||
) |
int a_u | ( | char * | buf, |
int | pktlen, | ||
andns_pkt ** | app | ||
) |
andns_pkt_data* andns_add_answ | ( | andns_pkt * | ap | ) |
int andns_compress | ( | char * | src, |
int | srclen | ||
) |
void andns_del_answ | ( | andns_pkt * | ap | ) |
char* andns_uncompress | ( | char * | src, |
int | srclen, | ||
int * | dstlen | ||
) |
andns_pkt* create_andns_pkt | ( | void | ) |
andns_pkt_data* create_andns_pkt_data | ( | void | ) |
void destroy_andns_pkt | ( | andns_pkt * | ap | ) |
void destroy_andns_pkt_data | ( | andns_pkt_data * | apd | ) |
void destroy_andns_pkt_datas | ( | andns_pkt * | ap | ) |