PoolAllocation struct final
#include <net/pool/pool_types.hpp>
One allocated contiguous IPv4 block associated with one client identity.
Public variables
- uint64_t expires_at_ms
- Absolute expiration time in milliseconds, or
UINT64_MAXfor 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
truewhen the structure contains a real allocation.