Home
last modified time | relevance | path

Searched refs:nh_weight (Results 1 – 6 of 6) sorted by relevance

/linux/net/decnet/
A Ddn_fib.c125 nh->nh_weight != onh->nh_weight || in dn_fib_nh_comp()
177 nh->nh_weight = nhp->rtnh_hops + 1; in dn_fib_get_nhs()
337 nh->nh_weight = 1; in dn_fib_create_info()
467 power += nh->nh_weight; in dn_fib_select_multipath()
468 nh->nh_power = nh->nh_weight; in dn_fib_select_multipath()
A Ddn_table.c360 nhp->rtnh_hops = nh->nh_weight - 1; in dn_fib_dump_info()
/linux/include/net/
A Ddn_fib.h23 int nh_weight; member
A Dip_fib.h523 struct fib_config *cfg, int nh_weight,
600 int nh_weight, u8 rt_family, u32 nh_tclassid);
/linux/net/ipv4/
A Dfib_semantics.c611 struct fib_config *cfg, int nh_weight, in fib_nh_init() argument
638 nh->fib_nh_weight = nh_weight; in fib_nh_init()
1701 int nh_weight, u8 rt_family, u32 nh_tclassid) in fib_add_nexthop() argument
1711 rtnh->rtnh_hops = nh_weight - 1; in fib_add_nexthop()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c2942 int nh_weight; member
3233 if (nh->ifindex == ifindex && nh->nh_weight == weight && in mlxsw_sp_nexthop6_group_has_nexthop()
3740 g = gcd(nh->nh_weight, g); in mlxsw_sp_nexthop_group_normalize()
3742 g = nh->nh_weight; in mlxsw_sp_nexthop_group_normalize()
3750 nh->norm_nh_weight = nh->nh_weight / g; in mlxsw_sp_nexthop_group_normalize()
4324 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
4326 nh->nh_weight = 1; in mlxsw_sp_nexthop4_init()
4799 nh->nh_weight = weight; in mlxsw_sp_nexthop_obj_init()
6684 nh->nh_weight = rt->fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_init()

Completed in 32 milliseconds