Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dnexthop.c181 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in nh_notifier_res_table_info_init()
321 info->nh_res_bucket = kzalloc_obj(*info->nh_res_bucket); in nh_notifier_res_bucket_info_init()
322 if (!info->nh_res_bucket) in nh_notifier_res_bucket_info_init()
325 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()
326 info->nh_res_bucket->idle_timer_ms = idle_timer_ms; in nh_notifier_res_bucket_info_init()
327 info->nh_res_bucket->force = force; in nh_notifier_res_bucket_info_init()
328 __nh_notifier_single_info_init(&info->nh_res_bucket->old_nh, oldi); in nh_notifier_res_bucket_info_init()
329 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi); in nh_notifier_res_bucket_info_init()
335 kfree(info->nh_res_bucket); in nh_notifier_res_bucket_info_fini()
1115 static unsigned long nh_res_bucket_used_time(const struct nh_res_bucket *bucket) in nh_res_bucket_used_time()
[all …]
/linux/include/net/
H A Dnexthop.h76 struct nh_res_bucket { struct
99 struct nh_res_bucket nh_buckets[] __counted_by(num_nh_buckets); argument
244 struct nh_notifier_res_bucket_info *nh_res_bucket; member