Home
last modified time | relevance | path

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

/linux/include/net/
H A Dnexthop.h98 u16 num_nh_buckets; member
99 struct nh_res_bucket nh_buckets[] __counted_by(num_nh_buckets);
219 u16 num_nh_buckets; member
221 struct nh_notifier_single_info nhs[] __counted_by(num_nh_buckets);
/linux/net/ipv4/
H A Dnexthop.c166 u16 num_nh_buckets = res_table->num_nh_buckets; in nh_notifier_res_table_info_init() local
171 size = struct_size(info->nh_res_table, nhs, num_nh_buckets); in nh_notifier_res_table_info_init()
177 info->nh_res_table->num_nh_buckets = num_nh_buckets; in nh_notifier_res_table_info_init()
180 for (i = 0; i < num_nh_buckets; i++) { in nh_notifier_res_table_info_init()
564 const u16 num_nh_buckets = cfg->nh_grp_res_num_buckets; in nexthop_res_table_alloc() local
568 size = struct_size(res_table, nh_buckets, num_nh_buckets); in nexthop_res_table_alloc()
579 res_table->num_nh_buckets = num_nh_buckets; in nexthop_res_table_alloc()
655 res_table->num_nh_buckets) || in nla_put_nh_group_res()
1486 u16 bucket_index = hash % res_table->num_nh_buckets; in nexthop_select_path_res()
1874 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_upkeep()
[all …]