Home
last modified time | relevance | path

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

/netbsd/external/mpl/dhcp/dist/server/
H A Dmdb6.c197 int num_pools; variable
1995 new_pools = dmalloc(sizeof(struct ipv6_pool *) * (num_pools+1), MDL); in add_ipv6_pool()
2000 if (num_pools > 0) { in add_ipv6_pool()
2002 sizeof(struct ipv6_pool *) * num_pools); in add_ipv6_pool()
2007 pools[num_pools] = NULL; in add_ipv6_pool()
2008 ipv6_pool_reference(&pools[num_pools], pool, MDL); in add_ipv6_pool()
2009 num_pools++; in add_ipv6_pool()
2179 for (i=0; i<num_pools; i++) { in schedule_all_ipv6_lease_timeouts()
2272 for (i=0; i<num_pools; i++) { in find_ipv6_pool()
H A Dconfpars.c3950 int num_pools; in add_ipv6_pool_to_subnet() local
3989 num_pools = 0; in add_ipv6_pool_to_subnet()
3991 num_pools = 0; in add_ipv6_pool_to_subnet()
3992 while (pond->ipv6_pools[num_pools] != NULL) { in add_ipv6_pool_to_subnet()
3993 num_pools++; in add_ipv6_pool_to_subnet()
3996 tmp = dmalloc(sizeof(struct ipv6_pool *) * (num_pools + 2), MDL); in add_ipv6_pool_to_subnet()
4000 if (num_pools > 0) { in add_ipv6_pool_to_subnet()
4002 sizeof(struct ipv6_pool *) * num_pools); in add_ipv6_pool_to_subnet()
4012 ipv6_pool_reference(&pond->ipv6_pools[num_pools], pool, MDL); in add_ipv6_pool_to_subnet()
4013 pond->ipv6_pools[num_pools+1] = NULL; in add_ipv6_pool_to_subnet()