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