The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
daemon.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  udp_exec_pkt_argv
 
struct  udp_daemon_argv
 

Macros

#define MAX_LISTENING_SOCKETS   MAX_INTERFACES
 
#define UDP_THREAD_FOR_EACH_PKT
 

Functions

int prepare_listen_socket (int family, int socktype, u_short port, interface *dev)
 
void * tcp_recv_loop (void *recv_pkt)
 
void * tcp_daemon (void *null)
 
void * udp_daemon (void *door)
 

Variables

pthread_mutex_t udp_daemon_lock
 
pthread_mutex_t tcp_daemon_lock
 
pthread_mutex_t udp_exec_lock
 
pthread_mutex_t tcp_exec_lock
 

Macro Definition Documentation

#define MAX_LISTENING_SOCKETS   MAX_INTERFACES
#define UDP_THREAD_FOR_EACH_PKT
Value:
1 /* For each incoming udp
packets use threads */

Function Documentation

int prepare_listen_socket ( int  family,
int  socktype,
u_short  port,
interface dev 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void* tcp_daemon ( void *  null)

Here is the call graph for this function:

Here is the caller graph for this function:

void* tcp_recv_loop ( void *  recv_pkt)

Here is the call graph for this function:

Here is the caller graph for this function:

void* udp_daemon ( void *  door)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

pthread_mutex_t tcp_daemon_lock
pthread_mutex_t tcp_exec_lock
pthread_mutex_t udp_daemon_lock
pthread_mutex_t udp_exec_lock