22 #define MAX_RADAR_SCANS 16
23 #define MAX_RADAR_WAIT 5
26 #define RTT_DELTA 1000
32 #define MAX_RADAR_WAIT 3
56 #define RADQ_VOID_RNODE 0
57 #define RADQ_EXT_RNODE 1
156 PACKET *pkt,
int pkt_flags, u_char rq,
int rq_id, u_char re,
157 int check_ack,
PACKET *rpkt);
160 int *gid,
int min_lvl,
int max_lvl);
interface ** rnl_get_dev(struct rnode_list *rnlist, map_node *node)
Definition: radar.c:369
int dev_n
Definition: radar.h:98
void new_rnode_allowed(struct allowed_rnode **alr, int *alr_counter, int *gid, int min_lvl, int max_lvl)
Definition: radar.c:560
struct radar_queue * add_radar_q(PACKET pkt)
Definition: radar.c:1156
void init_radar(void)
Definition: radar.c:70
void free_new_node(void)
Definition: radar.c:107
int rnl_send_rq(map_node *rnode, PACKET *pkt, int pkt_flags, u_char rq, int rq_id, u_char re, int check_ack, PACKET *rpkt)
Definition: radar.c:502
LLIST_HDR(struct rnode_list)
u_char tot_level
Definition: radar.h:120
interface * dev[MAX_INTERFACES]
Definition: radar.h:95
void rnl_close_all_sk(struct rnode_list *rnlist)
Definition: radar.c:454
int tcp_sk
Definition: radar.h:100
struct rnode_list * rlist
Definition: radar.h:103
int rnl_fill_rq(map_node *rnode, PACKET *pkt)
Definition: radar.c:471
char pongs
Definition: radar.h:74
void * radar_daemon(void *null)
Definition: radar.c:1639
int my_echo_id
Definition: radar.h:45
struct radar_queue * find_node_radar_q(map_node *node)
Definition: radar.c:125
int rlist_counter
Definition: radar.h:104
void reset_rnode_allowed(struct allowed_rnode **alr, int *alr_counter)
Definition: radar.c:579
u_char send_qspn_now[MAX_LEVELS]
Definition: radar.h:46
#define MAX_LEVELS
Definition: gmap.h:107
int radar_daemon_ctl
Definition: radar.h:52
void final_radar_queue(void)
Definition: radar.c:616
int count_hooking_nodes(void)
Definition: radar.c:592
struct radar_queue * find_ip_radar_q(inet_prefix *ip)
Definition: radar.c:142
void reset_radar(void)
Definition: radar.c:90
map_node * node
Definition: radar.h:69
#define MAX_INTERFACES
Definition: if.h:25
struct timeval rtt[16]
Definition: radar.h:75
#define MAX_RADAR_SCANS
Definition: radar.h:22
int refresh_hook_root_node(void)
Definition: radar.c:1604
quadro_group quadg
Definition: radar.h:70
int radar_scan(int activate_qspn)
Definition: radar.c:1370
map_node * node
Definition: radar.h:93
u_char min_level
Definition: radar.h:119
struct radar_queue * radar_q
Definition: radar.h:80
struct allowed_rnode * alwd_rnodes
Definition: radar.h:123
u_short flags
Definition: radar.h:71
int total_radar_scans
Definition: radar.h:41
inet_prefix ip
Definition: radar.h:63
int rnl_get_sk(struct rnode_list *rnlist, map_node *node)
Definition: radar.c:394
interface * rnl_get_rand_dev(struct rnode_list *rnlist, map_node *node)
Definition: radar.c:377
char pings
Definition: radar.h:73
int max_radar_wait
Definition: radar.h:35
int radard(PACKET rpkt)
Definition: radar.c:1487
interface * dev[MAX_INTERFACES]
Definition: radar.h:64
void last_close_radar(void)
Definition: radar.c:64
struct timeval scan_start
Definition: radar.h:83
LLIST_HDR(struct radar_queue)
int radar_q_counter
Definition: radar.h:81
int radar_recv_reply(PACKET pkt)
Definition: radar.c:1301
LLIST_HDR(struct allowed_rnode)
struct timeval final_rtt
Definition: radar.h:76
int radar_wait_counter
Definition: radar.h:36
int radar_exec_reply(PACKET pkt)
Definition: radar.c:1243
int total_radars
Definition: radar.h:54
void close_radar(void)
Definition: radar.c:84
int dev_n
Definition: radar.h:67
void rnl_reset(struct rnode_list **rnlist, int *rnlist_counter)
Definition: radar.c:199
int radar_scan_mutex
Definition: radar.h:43
void radar_wait_new_scan(void)
Definition: radar.c:1659
int alwd_rnodes_counter
Definition: radar.h:124
void first_init_radar(void)
Definition: radar.c:46
void radar_update_map(void)
Definition: radar.c:877
u_int gid[MAX_LEVELS]
Definition: radar.h:121
int hook_retry
Definition: radar.h:49
int radar_scans[MAX_INTERFACES]
Definition: radar.h:39