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

Go to the source code of this file.

Data Structures

struct  nexthop
 
struct  rt_request
 

Macros

#define RTPROT_NETSUKUKU   15
 
#define ROUTE_CMD_VARS
 

Functions

int route_add (int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
 
int route_del (int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
 
int route_replace (int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
 
int route_change (int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
 
int route_append (int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
 
int route_get_exact_prefix_dst (inet_prefix, inet_prefix *, char *)
 
int route_flush_cache (int family)
 
int route_ip_forward (int family, int enable)
 
int route_rp_filter (int family, char *dev, int enable)
 
int route_rp_filter_all_dev (int family, interface *ifs, int ifs_n, int enable)
 

Macro Definition Documentation

#define ROUTE_CMD_VARS
Value:
int type, int scope, inet_prefix *src, inet_prefix *to, \
struct nexthop *nhops, char *dev, u_char table
Definition: inet.h:73
int type
Definition: krnl_route.c:49
int scope
Definition: if.c:38
Definition: krnl_route.h:26
#define RTPROT_NETSUKUKU   15

Function Documentation

int route_add ( int  type,
int  scope,
inet_prefix src,
inet_prefix to,
struct nexthop nhops,
char *  dev,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_append ( int  type,
int  scope,
inet_prefix src,
inet_prefix to,
struct nexthop nhops,
char *  dev,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_change ( int  type,
int  scope,
inet_prefix src,
inet_prefix to,
struct nexthop nhops,
char *  dev,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_del ( int  type,
int  scope,
inet_prefix src,
inet_prefix to,
struct nexthop nhops,
char *  dev,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_flush_cache ( int  family)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_get_exact_prefix_dst ( inet_prefix  ,
inet_prefix ,
char *   
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_ip_forward ( int  family,
int  enable 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_replace ( int  type,
int  scope,
inet_prefix src,
inet_prefix to,
struct nexthop nhops,
char *  dev,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_rp_filter ( int  family,
char *  dev,
int  enable 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int route_rp_filter_all_dev ( int  family,
interface ifs,
int  ifs_n,
int  enable 
)

Here is the call graph for this function:

Here is the caller graph for this function: