Home
last modified time | relevance | path

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

/linux-4.1.27/net/decnet/
Ddn_fib.c465 nh->nh_power = nh->nh_weight; in dn_fib_select_multipath()
479 if (!(nh->nh_flags&RTNH_F_DEAD) && nh->nh_power) { in dn_fib_select_multipath()
480 if ((w -= nh->nh_power) <= 0) { in dn_fib_select_multipath()
481 nh->nh_power--; in dn_fib_select_multipath()
717 fi->fib_power -= nh->nh_power; in dn_fib_sync_down()
718 nh->nh_power = 0; in dn_fib_sync_down()
754 nh->nh_power = 0; in dn_fib_sync_up()
/linux-4.1.27/net/ipv4/
Dfib_semantics.c1139 fi->fib_power -= nexthop_nh->nh_power; in fib_sync_down_dev()
1140 nexthop_nh->nh_power = 0; in fib_sync_down_dev()
1262 nexthop_nh->nh_power = 0; in fib_sync_up()
1291 nexthop_nh->nh_power = nexthop_nh->nh_weight; in fib_select_multipath()
1312 nexthop_nh->nh_power) { in fib_select_multipath()
1313 w -= nexthop_nh->nh_power; in fib_select_multipath()
1315 nexthop_nh->nh_power--; in fib_select_multipath()
/linux-4.1.27/include/net/
Ddn_fib.h22 int nh_power; member
Dip_fib.h81 int nh_power; member