The Netsukuku Project
0.0.9
An Alternative routing method
|
Go to the source code of this file.
Macros | |
#define | REHOOK_PER_INSTANCE 8 |
#define | REHOOK_INSTANCE_TIME(level) (REHOOK_PER_INSTANCE*(level)*60) |
#define | REHOOK_WAIT_TIME(level) (( (8<<(level)) - (1<<(level)) ) * 60) |
#define | CHALLENGE_THRESHOLD |
Functions | |
void | rehook_init (void) |
void | new_rehook (map_gnode *gnode, int gid, int level, int gnode_count) |
int | rehook (map_gnode *hook_gnode, int hook_level) |
Variables | |
int | rehook_mutex |
time_t | last_instance_rehook |
int | total_rehooks |
inet_prefix | rk_gnode_ip |
#define CHALLENGE_THRESHOLD |
#define REHOOK_INSTANCE_TIME | ( | level | ) | (REHOOK_PER_INSTANCE*(level)*60) |
#define REHOOK_PER_INSTANCE 8 |
#define REHOOK_WAIT_TIME | ( | level | ) | (( (8<<(level)) - (1<<(level)) ) * 60) |
void new_rehook | ( | map_gnode * | gnode, |
int | gid, | ||
int | level, | ||
int | gnode_count | ||
) |
int rehook | ( | map_gnode * | hook_gnode, |
int | hook_level | ||
) |
void rehook_init | ( | void | ) |
time_t last_instance_rehook |
int rehook_mutex |
inet_prefix rk_gnode_ip |
int total_rehooks |