Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
fib_rules.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/module.h>
#include <net/net_namespace.h>
#include <net/sock.h>
#include <net/fib_rules.h>

Go to the source code of this file.

Functions

int fib_default_rule_add (struct fib_rules_ops *ops, u32 pref, u32 table, u32 flags)
 
 EXPORT_SYMBOL (fib_default_rule_add)
 
u32 fib_default_rule_pref (struct fib_rules_ops *ops)
 
 EXPORT_SYMBOL (fib_default_rule_pref)
 
struct fib_rules_opsfib_rules_register (const struct fib_rules_ops *tmpl, struct net *net)
 
 EXPORT_SYMBOL_GPL (fib_rules_register)
 
void fib_rules_unregister (struct fib_rules_ops *ops)
 
 EXPORT_SYMBOL_GPL (fib_rules_unregister)
 
int fib_rules_lookup (struct fib_rules_ops *ops, struct flowi *fl, int flags, struct fib_lookup_arg *arg)
 
 EXPORT_SYMBOL_GPL (fib_rules_lookup)
 
 subsys_initcall (fib_rules_init)
 

Function Documentation

EXPORT_SYMBOL ( fib_default_rule_add  )
EXPORT_SYMBOL ( fib_default_rule_pref  )
EXPORT_SYMBOL_GPL ( fib_rules_register  )
EXPORT_SYMBOL_GPL ( fib_rules_unregister  )
EXPORT_SYMBOL_GPL ( fib_rules_lookup  )
int fib_default_rule_add ( struct fib_rules_ops ops,
u32  pref,
u32  table,
u32  flags 
)

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 ops,
struct flowi fl,
int  flags,
struct fib_lookup_arg arg 
)

Definition at line 201 of file fib_rules.c.

struct fib_rules_ops* fib_rules_register ( const struct fib_rules_ops tmpl,
struct net net 
)
read

Definition at line 126 of file fib_rules.c.

void fib_rules_unregister ( struct fib_rules_ops ops)

Definition at line 169 of file fib_rules.c.

subsys_initcall ( fib_rules_init  )