Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | dn_kern_rta |
struct | dn_fib_res |
struct | dn_fib_nh |
struct | dn_fib_info |
struct | dn_fib_key_t |
struct | dn_fib_hash_t |
struct | dn_fib_idx_t |
struct | dn_fib_node |
struct | dn_fib_table |
Macros | |
#define | dn_fib_dev fib_nh[0].nh_dev |
#define | DN_FIB_RES_RESET(res) ((res).nh_sel = 0) |
#define | DN_FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) |
#define | DN_FIB_RES_PREFSRC(res) ((res).fi->fib_prefsrc ? : __dn_fib_res_prefsrc(&res)) |
#define | DN_FIB_RES_GW(res) (DN_FIB_RES_NH(res).nh_gw) |
#define | DN_FIB_RES_DEV(res) (DN_FIB_RES_NH(res).nh_dev) |
#define | DN_FIB_RES_OIF(res) (DN_FIB_RES_NH(res).nh_oif) |
#define | DN_FIB_INFO(f) ((f)->fn_info) |
#define | dn_fib_init() do { } while(0) |
#define | dn_fib_cleanup() do { } while(0) |
#define | dn_fib_lookup(fl, res) (-ESRCH) |
#define | dn_fib_info_put(fi) do { } while(0) |
#define | dn_fib_select_multipath(fl, res) do { } while(0) |
#define | dn_fib_rules_policy(saddr, res, flags) (0) |
#define | dn_fib_res_put(res) do { } while(0) |
#define DN_FIB_RES_DEV | ( | res | ) | (DN_FIB_RES_NH(res).nh_dev) |
#define DN_FIB_RES_GW | ( | res | ) | (DN_FIB_RES_NH(res).nh_gw) |
#define DN_FIB_RES_OIF | ( | res | ) | (DN_FIB_RES_NH(res).nh_oif) |