Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/net/route/
HDfib_algo.c168 uint32_t number_nhops; /* current # of nhops */ member
892 fd->number_nhops = 16; in estimate_nhop_scale()
896 if (old_fd->hit_nhops && old_fd->number_nhops < FIB_MAX_NHOPS) in estimate_nhop_scale()
897 fd->number_nhops = 2 * old_fd->number_nhops; in estimate_nhop_scale()
899 fd->number_nhops = old_fd->number_nhops; in estimate_nhop_scale()
1107 for (int i = 0; i < fd->number_nhops; i++) { in destroy_fd_instance()
1187 size = fd->number_nhops * sizeof(void *); in try_setup_fd_instance()
1196 size += fd->number_nhops * sizeof(uint32_t); in try_setup_fd_instance()
1202 FD_PRINTF(LOG_DEBUG, fd, "Allocated %u nhop indexes", fd->number_nhops); in try_setup_fd_instance()
1793 if (idx >= fd->number_nhops) { in fib_ref_nhop()
[all …]