The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
accept.c File Reference
#include "includes.h"
#include "request.h"
#include "inet.h"
#include "accept.h"
#include "xmalloc.h"
#include "log.h"
Include dependency graph for accept.c:

Functions

void init_accept_tbl (int startups, int accepts, int time)
 
void destroy_accept_tbl (void)
 
void update_accept_tbl (void)
 
int find_ip_acpt (inet_prefix ip)
 
int find_first_free (void)
 
int is_ip_acpt_free (inet_prefix ip, int *index)
 
int find_free_acp_t (int idx)
 
int new_accept (int idx, inet_prefix ip)
 
int add_accept (inet_prefix ip, int replace)
 
void del_accept (int idx, int *sidx)
 
int close_accept (int idx, int sidx)
 
void add_accept_pid (pid_t pid, int idx, int sidx)
 

Function Documentation

int add_accept ( inet_prefix  ip,
int  replace 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void add_accept_pid ( pid_t  pid,
int  idx,
int  sidx 
)

Here is the caller graph for this function:

int close_accept ( int  idx,
int  sidx 
)

Here is the caller graph for this function:

void del_accept ( int  idx,
int *  sidx 
)

Here is the caller graph for this function:

void destroy_accept_tbl ( void  )

Here is the caller graph for this function:

int find_first_free ( void  )

Here is the caller graph for this function:

int find_free_acp_t ( int  idx)

Here is the caller graph for this function:

int find_ip_acpt ( inet_prefix  ip)

Here is the caller graph for this function:

void init_accept_tbl ( int  startups,
int  accepts,
int  time 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int is_ip_acpt_free ( inet_prefix  ip,
int *  index 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int new_accept ( int  idx,
inet_prefix  ip 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void update_accept_tbl ( void  )

Here is the call graph for this function:

Here is the caller graph for this function: