Home
last modified time | relevance | path

Searched refs:FIB_RES_NH (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/include/net/
Dip_fib.h101 #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) macro
106 #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) macro
112 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw)
113 #define FIB_RES_DEV(res) (FIB_RES_NH(res).nh_dev)
114 #define FIB_RES_OIF(res) (FIB_RES_NH(res).nh_oif)
165 if (FIB_RES_GW(*res) && FIB_RES_NH(*res).nh_scope == RT_SCOPE_LINK) in fib_select_default()
250 *itag = FIB_RES_NH(*res).nh_tclassid<<16; in fib_combine_itag()
/linux-2.4.37.9/net/ipv4/
Dfib_frontend.c246 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in fib_validate_source()
261 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in fib_validate_source()
Dfib_rules.c375 FIB_RES_GW(*res) && FIB_RES_NH(*res).nh_scope == RT_SCOPE_LINK) { in fib_select_default()
Droute.c1271 FIB_RES_NH(*res).nh_scope == RT_SCOPE_LINK) in rt_set_nexthop()
1283 rt->u.dst.tclassid = FIB_RES_NH(*res).nh_tclassid; in rt_set_nexthop()