/* these are referenced */
typedef struct hash_table ia_na_hash_t;
typedef struct hash_table iaaddr_hash_t;
- int num_inactive; /* count of inactive IAADDR */
struct iaaddr {
int refcnt; /* reference count */
iaaddr_hash_t *addrs; /* non-free IAADDR */
int num_active; /* count of active IAADDR */
isc_heap_t *active_timeouts; /* timeouts for active leases */
+ int num_inactive; /* count of inactive IAADDR */
isc_heap_t *inactive_timeouts; /* timeouts for expired or
released leases */
struct shared_network *shared_network; /* shared_network for
log_error("%s(%d): IAADDR not in IA_NA", file, line);
}
+/*
* Remove all addresses from an IA_NA.
*/
void
ia_na->num_iaaddr = 0;
}
-/*
/*
* Helper function for lease heaps.
* Makes the top of the heap the oldest lease.