Kea 2.7.0
addr_utilities.h File Reference
#include <asiolink/io_address.h>
#include <util/bigints.h>
+ Include dependency graph for addr_utilities.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  isc
 Defines the logger used by the top-level component of kea-lfc.


uint128_t isc::asiolink::addrsInRange (const IOAddress &min, const IOAddress &max)
 Returns number of available addresses in the specified range (min - max).
IOAddress isc::asiolink::firstAddrInPrefix (const IOAddress &prefix, uint8_t len)
 This code is based on similar code from the Dibbler project.
IOAddress isc::asiolink::getNetmask4 (uint8_t len)
 Generates an IPv4 netmask of specified length.
IOAddress isc::asiolink::lastAddrInPrefix (const IOAddress &prefix, uint8_t len)
 returns a last address in a given prefix
IOAddress isc::asiolink::offsetAddress (const IOAddress &addr, isc::util::uint128_t offset)
 Finds the address increased by offset.
uint128_t isc::asiolink::prefixesInRange (const uint8_t pool_len, const uint8_t delegated_len)
 Returns number of available IPv6 prefixes in the specified prefix.
int isc::asiolink::prefixLengthFromRange (const IOAddress &min, const IOAddress &max)
 Returns prefix length from the specified range (min - max).