![]() |
Kea 1.5.0
|
#include <config.h>#include <asiolink/addr_utilities.h>#include <exceptions/exceptions.h>#include <vector>#include <limits>#include <string.h>
Include dependency graph for addr_utilities.cc:Go to the source code of this file.
Namespaces | |
| namespace | isc |
| Defines the logger used by the top-level component of kea-dhcp-ddns. | |
| namespace | isc::dhcp |
Functions | |
| uint64_t | isc::dhcp::addrsInRange (const isc::asiolink::IOAddress &min, const isc::asiolink::IOAddress &max) |
| Returns number of available addresses in the specified range (min - max). | |
| isc::asiolink::IOAddress | isc::dhcp::firstAddrInPrefix (const isc::asiolink::IOAddress &prefix, uint8_t len) |
| This code is based on similar code from the Dibbler project. | |
| isc::asiolink::IOAddress | isc::dhcp::getNetmask4 (uint8_t len) |
| Generates an IPv4 netmask of specified length. | |
| isc::asiolink::IOAddress | isc::dhcp::lastAddrInPrefix (const isc::asiolink::IOAddress &prefix, uint8_t len) |
| returns a last address in a given prefix | |
| uint64_t | isc::dhcp::prefixesInRange (const uint8_t pool_len, const uint8_t delegated_len) |
| Returns number of available IPv6 prefixes in the specified prefix. | |
| int | isc::dhcp::prefixLengthFromRange (const isc::asiolink::IOAddress &min, const isc::asiolink::IOAddress &max) |
| Returns prefix length from the specified range (min - max). | |