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

/linux-master/net/ipv4/
H A Dnexthop.c134 struct nh_group *nhg)
136 u16 num_nh = nhg->num_nh;
146 info->nh_grp->is_fdb = nhg->fdb_nh;
147 info->nh_grp->hw_stats = nhg->hw_stats;
150 struct nh_grp_entry *nhge = &nhg->nh_entries[i];
163 struct nh_group *nhg)
165 struct nh_res_table *res_table = rtnl_dereference(nhg->res_table);
178 info->nh_res_table->hw_stats = nhg->hw_stats;
197 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); local
199 if (nhg
133 nh_notifier_mpath_info_init(struct nh_notifier_info *info, struct nh_group *nhg) argument
162 nh_notifier_res_table_info_init(struct nh_notifier_info *info, struct nh_group *nhg) argument
209 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); local
271 struct nh_group *nhg; local
412 struct nh_group *nhg; local
484 struct nh_group *nhg; local
550 struct nh_group *nhg; local
645 nla_put_nh_group_res(struct sk_buff *skb, struct nh_group *nhg) argument
709 struct nh_group *nhg; local
750 struct nh_group *nhg; local
828 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); local
870 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); local
935 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); local
992 nh_nlmsg_size_grp_res(struct nh_group *nhg) argument
1003 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); local
1211 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); local
1267 struct nexthop_grp *nhg; local
1388 nexthop_select_path_fdb(struct nh_group *nhg, int hash) argument
1406 nexthop_select_path_hthr(struct nh_group *nhg, int hash) argument
1439 nexthop_select_path_res(struct nh_group *nhg, int hash) argument
1458 struct nh_group *nhg; local
1482 struct nh_group *nhg; local
1531 struct nh_group *nhg; local
1603 struct nh_group *nhg; local
1879 nh_res_group_rebalance(struct nh_group *nhg, struct nh_res_table *res_table) argument
1915 nh_res_table_migrate_buckets(struct nh_res_table *res_table, struct nh_group *nhg) argument
1962 nh_hthr_group_rebalance(struct nh_group *nhg) argument
1988 struct nh_group *nhg, *newg; local
2073 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); local
2157 struct nh_group *nhg; local
2269 nh_group_v4_update(struct nh_group *nhg) argument
2335 struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp); local
2405 struct nh_group *nhg; local
2576 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); local
2664 struct nh_group *nhg; local
3512 struct nh_group *nhg; local
3617 struct nh_group *nhg; local
3657 struct nh_group *nhg; local
3759 struct nh_group *nhg; local
3933 struct nh_group *nhg; local
3966 struct nh_group *nhg; local
[all...]
/linux-master/include/net/
H A Dnexthop.h334 struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel) argument
339 if (nhsel >= nhg->num_nh)
342 return nhg->nh_entries[nhsel].nh;
349 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); local
352 for (i = 0; i < nhg->num_nh; i++) {
353 struct nexthop *nhe = nhg->nh_entries[i].nh;
356 int weight = nhg->nh_entries[i].weight;
428 struct nh_group *nhg = rcu_dereference(nh->nh_grp); local
431 for (i = 0; i < nhg->num_nh; i++) {
432 struct nexthop *nhe = nhg
457 struct nh_group *nhg = rcu_dereference(nh->nh_grp); local
[all...]

Completed in 123 milliseconds