Home
last modified time | relevance | path

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

/linux/include/net/netns/
A Dnexthop.h16 u32 last_id_allocated; member
/linux/net/ipv4/
A Dnexthop.c601 u32 id_start = net->nexthop.last_id_allocated; in nh_find_unused_id()
604 net->nexthop.last_id_allocated++; in nh_find_unused_id()
605 if (net->nexthop.last_id_allocated == id_start) in nh_find_unused_id()
608 if (!nexthop_find_by_id(net, net->nexthop.last_id_allocated)) in nh_find_unused_id()
609 return net->nexthop.last_id_allocated; in nh_find_unused_id()

Completed in 9 milliseconds