Kea  1.9.9-git
addr_utilities.cc File Reference
#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

 isc
 Defines the logger used by the top-level component of kea-dhcp-ddns.
 
 

Functions

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