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_;
The IOAddress class represents an IP addresses (version agnostic)
Random IP address/prefix permutation based on Fisher-Yates shuffle.
asiolink::IOAddress next(bool &done)
Returns next random address or prefix from the permutation.
IPRangePermutation(const AddressRange &range)
Constructor for address ranges.
bool exhausted() const
Checks if the range has been exhausted.
boost::shared_ptr< IPRangePermutation > IPRangePermutationPtr
Pointer to the IPRangePermutation.
Defines the logger used by the top-level component of kea-lfc.
Structure representing IP address range.
Structure representing delegated prefix range.