Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv4/
A Dfib_semantics.c304 nh->fib_nh_weight != onh->fib_nh_weight || in nh_comp()
649 nh->fib_nh_weight = nh_weight; in fib_nh_init()
818 total += nh->fib_nh_weight; in fib_rebalance()
831 w += nexthop_nh->fib_nh_weight; in fib_rebalance()
1753 if (fib_add_nexthop(skb, &nh->nh_common, nh->fib_nh_weight, in fib_add_multipath()
/linux-6.3-rc2/include/net/
A Dip_fib.h124 #define fib_nh_weight nh_common.nhc_weight macro
/linux-6.3-rc2/net/ipv6/
A Droute.c3548 fib6_nh->fib_nh_weight = 1; in fib6_nh_init()
4689 total += rt->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4693 total += iter->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4704 *weight += rt->fib6_nh->fib_nh_weight; in rt6_upper_bound_set()
5298 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5718 rt->fib6_nh->fib_nh_weight, AF_INET6, in rt6_fill_node()
5725 sibling->fib6_nh->fib_nh_weight, in rt6_fill_node()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c3229 weight = fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_group_cmp()
4297 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
6510 nh->nh_weight = rt->fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_init()

Completed in 42 milliseconds