The Netsukuku Project
0.0.9
An Alternative routing method
|
#include <errno.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | ERR_UFOERR -1 |
#define | ERR_DNSMLO -2 |
#define | ERR_DNSMSL -3 |
#define | ERR_DNSMDP -4 |
#define | ERR_DNSMDD -5 |
#define | ERR_DNSTRP -6 |
#define | ERR_DNSPLB -7 |
#define | ERR_DNSPTP -8 |
#define | ERR_DNSMDA -9 |
#define | ERR_DNSPDS -10 |
#define | ERR_ANDMAP -11 |
#define | ERR_ANDPLB -12 |
#define | ERR_ANDMAD -13 |
#define | ERR_ANDNCQ -14 |
#define | ERR_RSLERC -15 |
#define | ERR_RSLAIE -16 |
#define | ERR_RSLNNS -17 |
#define | ERR_RSLFDQ -18 |
#define | ERR_RSLRSL -19 |
#define | ERR_RSLAQD -20 |
#define | ERR_MRKINI -21 |
#define | ERR_NETFIL -22 |
#define | ERR_NETRUL -23 |
#define | ERR_NETCOM -24 |
#define | ERR_NETCHA -25 |
#define | ERR_NETDEL -26 |
#define | ERR_NETSTO -27 |
#define | ERR_NETRST -28 |
#define | ERR_SNDMRF -29 |
#define | ERR_SNDRCS -30 |
#define | ERR_ZLIBCP -31 |
#define | ERR_ZLIBUP -32 |
#define | ERR_ZLIBNU -33 |
#define | ERR_TOTAL_ERRS (-(ERR_ZLIBNU)) |
#define | ERR_OVERFLOW "Error number does not exist." |
#define | ERR_NERR (ERR_TOTAL_ERRS) |
#define | err_seterrno(n) |
#define | err_ret(n, ret) {err_seterrno(n);return ret;} |
#define | err_intret(n) {err_seterrno(n);return -1;} |
#define | err_voidret(n) {err_seterrno(n);return NULL;} |
#define | err_strerror(e) |
#define | ERR_FORMAT "In %s(): %s() returns -> %s" |
#define | err_str |
Functions | |
const char * | __err_strerror (int n) |
Variables | |
const char * | err_func |
const char * | err_file |
#define ERR_ANDMAD -13 |
#define ERR_ANDMAP -11 |
#define ERR_ANDNCQ -14 |
#define ERR_ANDPLB -12 |
#define ERR_DNSMDA -9 |
#define ERR_DNSMDD -5 |
#define ERR_DNSMDP -4 |
#define ERR_DNSMLO -2 |
#define ERR_DNSMSL -3 |
#define ERR_DNSPDS -10 |
#define ERR_DNSPLB -7 |
#define ERR_DNSPTP -8 |
#define ERR_DNSTRP -6 |
#define ERR_FORMAT "In %s(): %s() returns -> %s" |
#define err_intret | ( | n | ) | {err_seterrno(n);return -1;} |
#define ERR_MRKINI -21 |
#define ERR_NERR (ERR_TOTAL_ERRS) |
#define ERR_NETCHA -25 |
#define ERR_NETCOM -24 |
#define ERR_NETDEL -26 |
#define ERR_NETFIL -22 |
#define ERR_NETRST -28 |
#define ERR_NETRUL -23 |
#define ERR_NETSTO -27 |
#define ERR_OVERFLOW "Error number does not exist." |
#define err_ret | ( | n, | |
ret | |||
) | {err_seterrno(n);return ret;} |
#define ERR_RSLAIE -16 |
#define ERR_RSLAQD -20 |
#define ERR_RSLERC -15 |
#define ERR_RSLFDQ -18 |
#define ERR_RSLNNS -17 |
#define ERR_RSLRSL -19 |
#define err_seterrno | ( | n | ) |
#define ERR_SNDMRF -29 |
#define ERR_SNDRCS -30 |
#define err_str |
#define err_strerror | ( | e | ) |
#define ERR_TOTAL_ERRS (-(ERR_ZLIBNU)) |
#define ERR_UFOERR -1 |
#define err_voidret | ( | n | ) | {err_seterrno(n);return NULL;} |
#define ERR_ZLIBCP -31 |
#define ERR_ZLIBNU -33 |
#define ERR_ZLIBUP -32 |
const char* __err_strerror | ( | int | n | ) |
const char * err_file |
const char* err_func |