Home
last modified time | relevance | path

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

/include/net/
Dnexthop.h152 const struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); in nexthop_mpath_select() local
157 if (nhsel >= nhg->num_nh) in nexthop_mpath_select()
160 return nhg->nh_entries[nhsel].nh; in nexthop_mpath_select()
167 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nexthop_mpath_fill_node() local
170 for (i = 0; i < nhg->num_nh; i++) { in nexthop_mpath_fill_node()
171 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_mpath_fill_node()
174 int weight = nhg->nh_entries[i].weight; in nexthop_mpath_fill_node()