Searched refs:nh_weight (Results 1 – 3 of 3) sorted by relevance
126 nh->nh_weight != onh->nh_weight || in dn_fib_nh_comp()178 nh->nh_weight = nhp->rtnh_hops + 1; in dn_fib_get_nhs()338 nh->nh_weight = 1; in dn_fib_create_info()468 power += nh->nh_weight; in dn_fib_select_multipath()469 nh->nh_power = nh->nh_weight; in dn_fib_select_multipath()
360 nhp->rtnh_hops = nh->nh_weight - 1; in dn_fib_dump_info()
603 struct fib_config *cfg, int nh_weight, in fib_nh_init() argument630 nh->fib_nh_weight = nh_weight; in fib_nh_init()1657 int nh_weight, u8 rt_family) in fib_add_nexthop() argument1667 rtnh->rtnh_hops = nh_weight - 1; in fib_add_nexthop()