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

Functions

int rule_exec (int rtm_cmd, inet_prefix *from, inet_prefix *to, char *dev, int prio, u_int fwmark, u_char table)
 
int rule_add (inet_prefix *from, inet_prefix *to, char *dev, int prio, u_int fwmark, u_char table)
 
int rule_del (inet_prefix *from, inet_prefix *to, char *dev, int prio, u_int fwmark, u_char table)
 
int rule_replace (inet_prefix *from, inet_prefix *to, char *dev, int prio, u_int fwmark, u_char table)
 
int rule_flush_table_range_filter (const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
 
int rule_flush_table_range (int family, int a, int b)
 

Function Documentation

int rule_add ( inet_prefix from,
inet_prefix to,
char *  dev,
int  prio,
u_int  fwmark,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int rule_del ( inet_prefix from,
inet_prefix to,
char *  dev,
int  prio,
u_int  fwmark,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int rule_exec ( int  rtm_cmd,
inet_prefix from,
inet_prefix to,
char *  dev,
int  prio,
u_int  fwmark,
u_char  table 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int rule_flush_table_range ( int  family,
int  a,
int  b 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int rule_flush_table_range_filter ( const 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:

int rule_replace ( inet_prefix from,
inet_prefix to,
char *  dev,
int  prio,
u_int  fwmark,
u_char  table 
)

Here is the call graph for this function: