The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
netsukuku.c File Reference
#include "includes.h"
#include "common.h"
#include "conf.h"
#include "libnetlink.h"
#include "ll_map.h"
#include "request.h"
#include "pkts.h"
#include "if.h"
#include "bmap.h"
#include "netsukuku.h"
#include "qspn.h"
#include "accept.h"
#include "daemon.h"
#include "crypto.h"
#include "andna_cache.h"
#include "andna.h"
#include "radar.h"
#include "hook.h"
#include "rehook.h"
Include dependency graph for netsukuku.c:

Macros

#define FATAL_NOT_SPECIFIED(str)
 

Functions

void save_pid (void)
 
int is_ntkd_already_running (void)
 
int ntk_load_maps (void)
 
int ntk_save_maps (void)
 
int ntk_free_maps (void)
 
void usage (void)
 
void fill_default_options (void)
 
void fill_loaded_cfg_options (void)
 
void free_server_opt (void)
 
void parse_options (int argc, char **argv)
 
void check_conflicting_options (void)
 
void init_netsukuku (char **argv)
 
int destroy_netsukuku (void)
 
void sigterm_handler (int sig)
 
void * reload_hostname_thread (void *null)
 
void sighup_handler (int sig)
 
void * rh_cache_flush_thread (void *null)
 
void sigalrm_handler (int sig)
 
int main (int argc, char **argv)
 

Variables

int errno
 
char * optarg
 
int optind
 
int opterr
 
int optopt
 
int destroy_netsukuku_mutex
 
int pid_saved
 
int options_parsed =0
 

Macro Definition Documentation

#define FATAL_NOT_SPECIFIED (   str)
Value:
fatal("You didn't specified the `%s' " \
"option in netsukuku.conf", \
(str)); \
void fatal(const char *fmt,...)
Definition: log.c:94

Function Documentation

void check_conflicting_options ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

int destroy_netsukuku ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void fill_default_options ( void  )

Here is the caller graph for this function:

void fill_loaded_cfg_options ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void free_server_opt ( void  )

Here is the caller graph for this function:

void init_netsukuku ( char **  argv)

Here is the call graph for this function:

Here is the caller graph for this function:

int is_ntkd_already_running ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)
int ntk_free_maps ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

int ntk_load_maps ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

int ntk_save_maps ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void parse_options ( int  argc,
char **  argv 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void* reload_hostname_thread ( void *  null)

Here is the call graph for this function:

Here is the caller graph for this function:

void* rh_cache_flush_thread ( void *  null)

Here is the call graph for this function:

Here is the caller graph for this function:

void save_pid ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void sigalrm_handler ( int  sig)

Here is the call graph for this function:

Here is the caller graph for this function:

void sighup_handler ( int  sig)

Here is the call graph for this function:

Here is the caller graph for this function:

void sigterm_handler ( int  sig)

Here is the call graph for this function:

Here is the caller graph for this function:

void usage ( void  )

Here is the caller graph for this function:

Variable Documentation

int destroy_netsukuku_mutex
int errno
char* optarg
int opterr
int optind
int options_parsed =0
int optopt
int pid_saved