prf::net::pool::PoolAllocation struct final

One allocated contiguous IPv4 block associated with one client identity.

Public variables

uint64_t expires_at_ms
Absolute expiration time in milliseconds, or UINT64_MAX for infinite.
uint32_t generation
Pool generation this allocation belongs to.
uint16_t ip_count
Number of contiguous addresses in the block.
uint32_t ip_start
First address in the allocated block.
PoolAllocationState state
Current allocation state.
bool valid
true when the structure contains a real allocation.