Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dnexthop.h129 struct nh_grp_entry nh_entries[]; member
190 struct nh_notifier_grp_entry_info nh_entries[]; member
312 return nhg->nh_entries[nhsel].nh; in nexthop_mpath_select()
323 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_mpath_fill_node()
326 int weight = nhg->nh_entries[i].weight; in nexthop_mpath_fill_node()
347 nh = nh_grp->nh_entries[0].nh; in nexthop_is_blackhole()
402 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_get_nhc_lookup()
431 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_uses_dev()
/openbmc/linux/net/ipv4/
H A Dnexthop.c679 p->id = nhg->nh_entries[i].nh->id; in nla_put_nh_group()
1212 return rc ? : nhg->nh_entries[0].nh; in nexthop_select_path_hthr()
1665 total += nhg->nh_entries[i].weight; in nh_res_group_rebalance()
1744 total += nhg->nh_entries[i].weight; in nh_hthr_group_rebalance()
1785 nhges = nhg->nh_entries; in remove_nh_grp_entry()
1786 new_nhges = newg->nh_entries; in remove_nh_grp_entry()
1791 if (nhg->nh_entries[i].nh == nh) { in remove_nh_grp_entry()
2048 nhges = nhg->nh_entries; in nh_group_v4_update()
2480 nhg->nh_entries[i].nh = nhe; in nexthop_create_group()
2483 nhg->nh_entries[i].nh_parent = nh; in nexthop_create_group()
[all …]
/openbmc/linux/drivers/net/netdevsim/
H A Dfib.c1135 occ += info->nh_grp->nh_entries[i].weight; in nsim_nexthop_create()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4832 nh = &nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_validate()
5093 nh_obj = &info->nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_info_init()
5094 weight = info->nh_grp->nh_entries[i].weight; in mlxsw_sp_nexthop_obj_group_info_init()