The Netsukuku Project
0.0.9
An Alternative routing method
|
#include "includes.h"
#include "config.h"
#include <fcntl.h>
#include "iptunnel.h"
#include "mark.h"
#include "err_errno.h"
#include "log.h"
Functions | |
int | table_init (const char *table, iptc_handle_t *t) |
int | insert_rule (const char *rule, iptc_handle_t *t, const char *chain, int pos) |
int | append_rule (const char *rule, iptc_handle_t *t, const char *chain) |
int | commit_rules (iptc_handle_t *t) |
void | restore_output_rule_init (char *rule) |
void | ntk_forward_rule_init (char *rule) |
void | mark_rule_init (char *rule, char *outiface, int outiface_num) |
void | igw_mark_rule_init (char *rule) |
int | ntk_mark_chain_init (iptc_handle_t *t) |
int | store_rules () |
int | dump_rules () |
int | load_dump_rules () |
int | mark_init (int igw) |
int | count_ntk_mark_chain (iptc_handle_t *t) |
int | create_mark_rules (int n) |
int | delete_ntk_forward_chain (iptc_handle_t *t) |
int | delete_first_rule (iptc_handle_t *t, const char *chain) |
int | rule_position (rule_store *rule, iptc_handle_t *t) |
int | delete_rule (rule_store *rule, iptc_handle_t *t) |
int | mark_close () |
Variables | |
static int | death_loop_rule |
static int | clean_on_exit |
static rule_store | rr |
static rule_store | fr |
static rule_store | dr |
static int | dumped |
int append_rule | ( | const char * | rule, |
iptc_handle_t * | t, | ||
const char * | chain | ||
) |
int commit_rules | ( | iptc_handle_t * | t | ) |
int count_ntk_mark_chain | ( | iptc_handle_t * | t | ) |
int create_mark_rules | ( | int | n | ) |
int delete_first_rule | ( | iptc_handle_t * | t, |
const char * | chain | ||
) |
int delete_ntk_forward_chain | ( | iptc_handle_t * | t | ) |
int delete_rule | ( | rule_store * | rule, |
iptc_handle_t * | t | ||
) |
int dump_rules | ( | ) |
void igw_mark_rule_init | ( | char * | rule | ) |
int insert_rule | ( | const char * | rule, |
iptc_handle_t * | t, | ||
const char * | chain, | ||
int | pos | ||
) |
int load_dump_rules | ( | ) |
int mark_close | ( | ) |
int mark_init | ( | int | igw | ) |
void mark_rule_init | ( | char * | rule, |
char * | outiface, | ||
int | outiface_num | ||
) |
void ntk_forward_rule_init | ( | char * | rule | ) |
int ntk_mark_chain_init | ( | iptc_handle_t * | t | ) |
void restore_output_rule_init | ( | char * | rule | ) |
int rule_position | ( | rule_store * | rule, |
iptc_handle_t * | t | ||
) |
int store_rules | ( | ) |
int table_init | ( | const char * | table, |
iptc_handle_t * | t | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |