7 #ifndef IP_RANGE_PERMUTATION_H
8 #define IP_RANGE_PERMUTATION_H
13 #include <boost/shared_ptr.hpp>
121 std::map<uint64_t, asiolink::IOAddress> state_;
127 std::mt19937 generator_;
136 #endif // IP_RANGE_PERMUTATION_H
Structure representing delegated prefix range.
bool exhausted() const
Checks if the range has been exhausted.
IPRangePermutation(const AddressRange &range)
Constructor for address ranges.
Random IP address/prefix permutation based on Fisher-Yates shuffle.
asiolink::IOAddress next(bool &done)
Returns next random address or prefix from the permutation.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Structure representing IP address range.
boost::shared_ptr< IPRangePermutation > IPRangePermutationPtr
Pointer to the IPRangePermutation.
The IOAddress class represents an IP addresses (version agnostic)