7 #ifndef ITERATIVE_ALLOCATOR_H 8 #define ITERATIVE_ALLOCATOR_H 70 uint8_t hint_prefix_length);
103 const uint8_t prefix_len);
117 const uint8_t prefix_len);
123 #endif // ITERATIVE_ALLOCATOR_H boost::shared_ptr< DUID > DuidPtr
Base class for all address/prefix allocation algorithms.
boost::shared_ptr< PoolIterativeAllocationState > PoolIterativeAllocationStatePtr
Type of the pointer to the PoolIterativeAllocationState.
IterativeAllocator(Lease::Type type, const WeakSubnetPtr &subnet)
Constructor.
boost::shared_ptr< Pool6 > Pool6Ptr
a pointer an IPv6 Pool
boost::shared_ptr< Pool > PoolPtr
a pointer to either IPv4 or IPv6 Pool
Address/prefix allocator that iterates over all addresses.
PrefixLenMatchType
Type of preferred PD-pool prefix length selection criteria.
boost::weak_ptr< Subnet > WeakSubnetPtr
Weak pointer to the Subnet.
boost::shared_ptr< SubnetIterativeAllocationState > SubnetIterativeAllocationStatePtr
Type of the pointer to the SubnetIterativeAllocationState.
static asiolink::IOAddress increaseAddress(const asiolink::IOAddress &address, bool prefix, const uint8_t prefix_len)
Returns the next address or prefix.
Defines the logger used by the top-level component of kea-lfc.
static asiolink::IOAddress increasePrefix(const asiolink::IOAddress &prefix, const uint8_t prefix_len)
Returns the next prefix.
Type
Type of lease or pool.
The IOAddress class represents an IP addresses (version agnostic)
Container for storing client class names.