Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/fib_rules.h>
#include <net/flow.h>
#include <net/rtnetlink.h>
Go to the source code of this file.
Data Structures | |
struct | fib_rule |
struct | fib_lookup_arg |
struct | fib_rules_ops |
Macros | |
#define | FIB_LOOKUP_NOREF 1 |
#define | FRA_GENERIC_POLICY |
Functions | |
struct fib_rules_ops * | fib_rules_register (const struct fib_rules_ops *, struct net *) |
void | fib_rules_unregister (struct fib_rules_ops *) |
int | fib_rules_lookup (struct fib_rules_ops *, struct flowi *, int flags, struct fib_lookup_arg *) |
int | fib_default_rule_add (struct fib_rules_ops *, u32 pref, u32 table, u32 flags) |
u32 | fib_default_rule_pref (struct fib_rules_ops *ops) |
#define FIB_LOOKUP_NOREF 1 |
Definition at line 35 of file fib_rules.h.
#define FRA_GENERIC_POLICY |
Definition at line 76 of file fib_rules.h.
Definition at line 20 of file fib_rules.c.
u32 fib_default_rule_pref | ( | struct fib_rules_ops * | ops | ) |
Definition at line 43 of file fib_rules.c.
int fib_rules_lookup | ( | struct fib_rules_ops * | , |
struct flowi * | , | ||
int | flags, | ||
struct fib_lookup_arg * | |||
) |
Definition at line 201 of file fib_rules.c.
|
read |
Definition at line 126 of file fib_rules.c.
void fib_rules_unregister | ( | struct fib_rules_ops * | ) |
Definition at line 169 of file fib_rules.c.