Searched refs:last_id_allocated (Results 1 – 2 of 2) sorted by relevance
17 u32 last_id_allocated; member
602 u32 id_start = net->nexthop.last_id_allocated; in nh_find_unused_id()605 net->nexthop.last_id_allocated++; in nh_find_unused_id()606 if (net->nexthop.last_id_allocated == id_start) in nh_find_unused_id()609 if (!nexthop_find_by_id(net, net->nexthop.last_id_allocated)) in nh_find_unused_id()610 return net->nexthop.last_id_allocated; in nh_find_unused_id()