Home
last modified time | relevance | path

Searched refs:fib_nh_weight (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_semantics.c305 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()
1779 if (fib_add_nexthop(skb, &nh->nh_common, nh->fib_nh_weight, in fib_add_multipath()
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_semantics.c305 nh->fib_nh_weight != onh->fib_nh_weight || in nh_comp()
650 nh->fib_nh_weight = nh_weight; in fib_nh_init()
819 total += nh->fib_nh_weight; in fib_rebalance()
832 w += nexthop_nh->fib_nh_weight; in fib_rebalance()
1760 if (fib_add_nexthop(skb, &nh->nh_common, nh->fib_nh_weight, in fib_add_multipath()
/kernel/linux/linux-5.10/include/net/
H A Dip_fib.h121 #define fib_nh_weight nh_common.nhc_weight macro
/kernel/linux/linux-6.6/include/net/
H A Dip_fib.h124 #define fib_nh_weight nh_common.nhc_weight macro
/kernel/linux/linux-5.10/net/ipv6/
H A Droute.c3456 fib6_nh->fib_nh_weight = 1; in fib6_nh_init()
4607 total += rt->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4611 total += iter->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4622 *weight += rt->fib6_nh->fib_nh_weight; in rt6_upper_bound_set()
5210 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5619 rt->fib6_nh->fib_nh_weight, AF_INET6, in rt6_fill_node()
5626 sibling->fib6_nh->fib_nh_weight, in rt6_fill_node()
/kernel/linux/linux-6.6/net/ipv6/
H A Droute.c3556 fib6_nh->fib_nh_weight = 1; in fib6_nh_init()
4694 total += rt->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4698 total += iter->fib6_nh->fib_nh_weight; in rt6_multipath_total_weight()
4709 *weight += rt->fib6_nh->fib_nh_weight; in rt6_upper_bound_set()
5303 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5716 rt->fib6_nh->fib_nh_weight, AF_INET6, in rt6_fill_node()
5723 sibling->fib6_nh->fib_nh_weight, in rt6_fill_node()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c2954 weight = fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_group_cmp()
3884 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
5140 nh->nh_weight = rt->fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3396 weight = fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_group_cmp()
4499 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
6731 nh->nh_weight = rt->fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_init()

Completed in 54 milliseconds