28static const SubnetID SUBNET_ID_GLOBAL = 0;
30static const SubnetID SUBNET_ID_MAX = std::numeric_limits<uint32_t>::max()-1;
32static const SubnetID SUBNET_ID_UNUSED = std::numeric_limits<uint32_t>::max();
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Exception thrown upon attempt to add subnet with an ID that belongs to the subnet that already exists...
DuplicateSubnetID(const char *file, size_t line, const char *what)
std::set< dhcp::SubnetID > SubnetIDSet
Ordered list aka set of subnetIDs.
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
Defines the logger used by the top-level component of kea-lfc.