Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
Dfib_semantics.c299 nh->fib_nh_weight != onh->fib_nh_weight || in nh_comp()
630 nh->fib_nh_weight = nh_weight; in fib_nh_init()
774 total += nh->fib_nh_weight; in fib_rebalance()
787 w += nexthop_nh->fib_nh_weight; in fib_rebalance()
1702 if (fib_add_nexthop(skb, &nh->nh_common, nh->fib_nh_weight, in fib_add_multipath()
/Linux-v5.4/include/net/
Dip_fib.h121 #define fib_nh_weight nh_common.nhc_weight macro
/Linux-v5.4/net/ipv6/
Droute.c3420 fib6_nh->fib_nh_weight = 1; in fib6_nh_init()
4531 total += rt->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4535 total += iter->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4546 *weight += rt->fib6_nh->fib_nh_weight; in rt6_upper_bound_set()
5088 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5478 rt->fib6_nh->fib_nh_weight, AF_INET6) < 0) in rt6_fill_node()
5484 sibling->fib6_nh->fib_nh_weight, in rt6_fill_node()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2879 weight = fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_group_cmp()
3756 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
5101 nh->nh_weight = rt->fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_init()