The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
rehook.c File Reference
#include "includes.h"
#include "common.h"
#include "hash.h"
#include "llist.c"
#include "libnetlink.h"
#include "ll_map.h"
#include "inet.h"
#include "if.h"
#include "krnl_route.h"
#include "endianness.h"
#include "bmap.h"
#include "route.h"
#include "iptunnel.h"
#include "request.h"
#include "pkts.h"
#include "tracer.h"
#include "qspn.h"
#include "andna.h"
#include "hook.h"
#include "rehook.h"
#include "radar.h"
#include "netsukuku.h"
Include dependency graph for rehook.c:

Data Structures

struct  rehook_argv
 

Functions

void rehook_init (void)
 
void rehook_compute_new_gnode (inet_prefix *old_ip, inet_prefix *new_ip, int hook_level)
 
int send_challenge (int gnode, int level, int gnode_count)
 
int update_rehook_time (int level)
 
void wait_new_rnode (struct rehook_argv *rargv)
 
void * new_rehook_thread (void *r)
 
void new_rehook (map_gnode *gnode, int gid, int level, int gnode_count)
 
int rehook (map_gnode *hook_gnode, int hook_level)
 

Variables

pthread_attr_t new_rehook_thread_attr
 

Function Documentation

void new_rehook ( map_gnode gnode,
int  gid,
int  level,
int  gnode_count 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void* new_rehook_thread ( void *  r)

Here is the call graph for this function:

Here is the caller graph for this function:

int rehook ( map_gnode hook_gnode,
int  hook_level 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void rehook_compute_new_gnode ( inet_prefix old_ip,
inet_prefix new_ip,
int  hook_level 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void rehook_init ( void  )

Here is the caller graph for this function:

int send_challenge ( int  gnode,
int  level,
int  gnode_count 
)

Here is the caller graph for this function:

int update_rehook_time ( int  level)

Here is the caller graph for this function:

void wait_new_rnode ( struct rehook_argv rargv)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

pthread_attr_t new_rehook_thread_attr