Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
dn_fib.h File Reference

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)
 

Macro Definition Documentation

#define dn_fib_cleanup (   void)    do { } while(0)

Definition at line 167 of file dn_fib.h.

#define dn_fib_dev   fib_nh[0].nh_dev

Definition at line 56 of file dn_fib.h.

#define DN_FIB_INFO (   f)    ((f)->fn_info)

Definition at line 83 of file dn_fib.h.

#define dn_fib_info_put (   fi)    do { } while(0)

Definition at line 170 of file dn_fib.h.

#define dn_fib_init (   void)    do { } while(0)

Definition at line 166 of file dn_fib.h.

#define dn_fib_lookup (   fl,
  res 
)    (-ESRCH)

Definition at line 169 of file dn_fib.h.

#define DN_FIB_RES_DEV (   res)    (DN_FIB_RES_NH(res).nh_dev)

Definition at line 65 of file dn_fib.h.

#define DN_FIB_RES_GW (   res)    (DN_FIB_RES_NH(res).nh_gw)

Definition at line 64 of file dn_fib.h.

#define DN_FIB_RES_NH (   res)    ((res).fi->fib_nh[(res).nh_sel])

Definition at line 61 of file dn_fib.h.

#define DN_FIB_RES_OIF (   res)    (DN_FIB_RES_NH(res).nh_oif)

Definition at line 66 of file dn_fib.h.

#define DN_FIB_RES_PREFSRC (   res)    ((res).fi->fib_prefsrc ? : __dn_fib_res_prefsrc(&res))

Definition at line 63 of file dn_fib.h.

#define dn_fib_res_put (   res)    do { } while(0)

Definition at line 173 of file dn_fib.h.

#define DN_FIB_RES_RESET (   res)    ((res).nh_sel = 0)

Definition at line 60 of file dn_fib.h.

#define dn_fib_rules_policy (   saddr,
  res,
  flags 
)    (0)

Definition at line 172 of file dn_fib.h.

#define dn_fib_select_multipath (   fl,
  res 
)    do { } while(0)

Definition at line 171 of file dn_fib.h.