Go to the source code of this file.
|
enum | pkt_op {
ECHO_ME,
ECHO_REPLY,
GET_FREE_NODES,
GET_QSPN_ROUND,
GET_INTERNET_GWS,
SET_FOREIGN_ROUTE,
DEL_FOREIGN_ROUTE,
NEW_BACKROUTE,
DELAYED_BROADCAST,
SPLIT_ROUTE,
SET_NO_IDENTITY,
QSPN_CLOSE,
QSPN_OPEN,
QSPN_RFR,
GET_DNODEBLOCK,
GET_DNODEIP,
TRACER_PKT,
TRACER_PKT_CONNECT,
DEL_SNODE,
DEL_GNODE,
GET_INT_MAP,
GET_EXT_MAP,
GET_BNODE_MAP,
ANDNA_REGISTER_HNAME,
ANDNA_CHECK_COUNTER,
ANDNA_RESOLVE_HNAME,
ANDNA_RESOLVE_IP,
ANDNA_RESOLVE_MX,
ANDNA_GET_ANDNA_CACHE,
ANDNA_GET_SINGLE_ACACHE,
ANDNA_SPREAD_SACACHE,
ANDNA_GET_COUNT_CACHE,
PUT_FREE_NODES,
PUT_QSPN_ROUND,
PUT_INTERNET_GWS,
PUT_DNODEIP,
EMPTY_REPLY_SLOT,
EMPTY_REPLY_SLOT1,
PUT_INT_MAP,
PUT_EXT_MAP,
PUT_BNODE_MAP,
ANDNA_RESOLVE_REPLY,
ANDNA_REV_RESOLVE_REPLY,
ANDNA_MX_RESOLVE_REPLY,
ANDNA_PUT_COUNT_CACHE,
ANDNA_PUT_ANDNA_CACHE,
ACK_AFFERMATIVE,
ACK_NEGATIVE
} |
|
enum | errors {
E_INVALID_REQUEST,
E_ACCEPT_TBL_FULL,
E_REQUEST_TBL_FULL,
E_QGROUP_FULL,
E_NTK_FULL,
E_INVALID_SIGNATURE,
E_CANNOT_FORWARD,
E_ANDNA_WRONG_HASH_GNODE,
E_ANDNA_QUEUE_FULL,
E_ANDNA_UPDATE_TOO_EARLY,
E_ANDNA_TOO_MANY_HNAME,
E_ANDNA_HUPDATE_MISMATCH,
E_ANDNA_NO_HNAME,
E_ANDNA_CHECK_COUNTER,
E_TOO_MANY_CONN
} |
|
#define OP_FILTER_ALLOW 0 |
Enumerator |
---|
E_INVALID_REQUEST |
|
E_ACCEPT_TBL_FULL |
|
E_REQUEST_TBL_FULL |
|
E_QGROUP_FULL |
|
E_NTK_FULL |
|
E_INVALID_SIGNATURE |
|
E_CANNOT_FORWARD |
|
E_ANDNA_WRONG_HASH_GNODE |
|
E_ANDNA_QUEUE_FULL |
|
E_ANDNA_UPDATE_TOO_EARLY |
|
E_ANDNA_TOO_MANY_HNAME |
|
E_ANDNA_HUPDATE_MISMATCH |
|
E_ANDNA_NO_HNAME |
|
E_ANDNA_CHECK_COUNTER |
|
E_TOO_MANY_CONN |
|
Enumerator |
---|
ECHO_ME |
|
ECHO_REPLY |
|
GET_FREE_NODES |
|
GET_QSPN_ROUND |
|
GET_INTERNET_GWS |
|
SET_FOREIGN_ROUTE |
|
DEL_FOREIGN_ROUTE |
|
NEW_BACKROUTE |
|
DELAYED_BROADCAST |
|
SPLIT_ROUTE |
|
SET_NO_IDENTITY |
|
QSPN_CLOSE |
|
QSPN_OPEN |
|
QSPN_RFR |
|
GET_DNODEBLOCK |
|
GET_DNODEIP |
|
TRACER_PKT |
|
TRACER_PKT_CONNECT |
|
DEL_SNODE |
|
DEL_GNODE |
|
GET_INT_MAP |
|
GET_EXT_MAP |
|
GET_BNODE_MAP |
|
ANDNA_REGISTER_HNAME |
|
ANDNA_CHECK_COUNTER |
|
ANDNA_RESOLVE_HNAME |
|
ANDNA_RESOLVE_IP |
|
ANDNA_RESOLVE_MX |
|
ANDNA_GET_ANDNA_CACHE |
|
ANDNA_GET_SINGLE_ACACHE |
|
ANDNA_SPREAD_SACACHE |
|
ANDNA_GET_COUNT_CACHE |
|
PUT_FREE_NODES |
|
PUT_QSPN_ROUND |
|
PUT_INTERNET_GWS |
|
PUT_DNODEIP |
|
EMPTY_REPLY_SLOT |
|
EMPTY_REPLY_SLOT1 |
|
PUT_INT_MAP |
|
PUT_EXT_MAP |
|
PUT_BNODE_MAP |
|
ANDNA_RESOLVE_REPLY |
|
ANDNA_REV_RESOLVE_REPLY |
|
ANDNA_MX_RESOLVE_REPLY |
|
ANDNA_PUT_COUNT_CACHE |
|
ANDNA_PUT_ANDNA_CACHE |
|
ACK_AFFERMATIVE |
|
ACK_NEGATIVE |
|
int add_rq |
( |
u_char |
, |
|
|
rq_tbl * |
|
|
) |
| |
int find_free_rq_wait |
( |
u_char |
, |
|
|
rq_tbl * |
|
|
) |
| |
int is_rq_full |
( |
u_char |
, |
|
|
rq_tbl * |
|
|
) |
| |
void op_filter_reset_re |
( |
int |
bit | ) |
|
void op_filter_reset_rq |
( |
int |
bit | ) |
|
const u_char* re_to_str |
( |
u_char |
re | ) |
|
const u_char* rq_strerror |
( |
int |
err | ) |
|
const u_char* rq_to_str |
( |
u_char |
rq | ) |
|
void rq_wait_idx_init |
( |
int * |
rq_wait_idx | ) |
|
void update_rq_tbl |
( |
rq_tbl * |
| ) |
|