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

Data Structures

struct  idxmap
 

Functions

void ll_free_index (void)
 
int ll_remember_index (struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
 
const char * ll_idx_n2a (int idx, char *buf)
 
const char * ll_index_to_name (int idx)
 
int ll_index_to_type (int idx)
 
unsigned ll_index_to_flags (int idx)
 
int ll_name_to_index (const char *name)
 
int ll_nth_up_if (int n)
 
int ll_first_up_if (void)
 
int ll_init_map (struct rtnl_handle *rth)
 

Variables

static struct idxmapidxmap [16]
 

Function Documentation

int ll_first_up_if ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void ll_free_index ( void  )

Here is the caller graph for this function:

const char* ll_idx_n2a ( int  idx,
char *  buf 
)

Here is the caller graph for this function:

unsigned ll_index_to_flags ( int  idx)

Here is the caller graph for this function:

const char* ll_index_to_name ( int  idx)

Here is the call graph for this function:

Here is the caller graph for this function:

int ll_index_to_type ( int  idx)
int ll_init_map ( struct rtnl_handle rth)

Here is the call graph for this function:

Here is the caller graph for this function:

int ll_name_to_index ( const char *  name)

Here is the caller graph for this function:

int ll_nth_up_if ( int  n)

Here is the call graph for this function:

Here is the caller graph for this function:

int ll_remember_index ( struct sockaddr_nl *  who,
struct nlmsghdr *  n,
void *  arg 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

struct idxmap* idxmap[16]
static