The Netsukuku Project
0.0.9
An Alternative routing method
|
#include "includes.h"
#include "libnetlink.h"
#include "inet.h"
#include "krnl_route.h"
#include "krnl_rule.h"
#include "common.h"
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) |
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_exec | ( | int | rtm_cmd, |
inet_prefix * | from, | ||
inet_prefix * | to, | ||
char * | dev, | ||
int | prio, | ||
u_int | fwmark, | ||
u_char | table | ||
) |
int rule_flush_table_range | ( | int | family, |
int | a, | ||
int | b | ||
) |
int rule_flush_table_range_filter | ( | const struct sockaddr_nl * | who, |
struct nlmsghdr * | n, | ||
void * | arg | ||
) |
int rule_replace | ( | inet_prefix * | from, |
inet_prefix * | to, | ||
char * | dev, | ||
int | prio, | ||
u_int | fwmark, | ||
u_char | table | ||
) |