Lines Matching refs:number_nhops
169 uint32_t number_nhops; /* current # of nhops */
893 fd->number_nhops = 16;
897 if (old_fd->hit_nhops && old_fd->number_nhops < FIB_MAX_NHOPS)
898 fd->number_nhops = 2 * old_fd->number_nhops;
900 fd->number_nhops = old_fd->number_nhops;
1108 for (int i = 0; i < fd->number_nhops; i++) {
1186 size = fd->number_nhops * sizeof(void *);
1195 size += fd->number_nhops * sizeof(uint32_t);
1201 FD_PRINTF(LOG_DEBUG, fd, "Allocated %u nhop indexes", fd->number_nhops);
1794 if (idx >= fd->number_nhops) {
1855 KASSERT((idx < fd->number_nhops), ("invalid nhop index"));