Searched refs:FIB_RES_NH (Results 1 – 4 of 4) sorted by relevance
101 #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) macro106 #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) macro112 #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()
246 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()
375 FIB_RES_GW(*res) && FIB_RES_NH(*res).nh_scope == RT_SCOPE_LINK) { in fib_select_default()
1271 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()