Kea  1.9.9-git
isc::dhcp::AddressRange Struct Reference

Structure representing IP address range. More...

#include <ip_range.h>

Public Member Functions

 AddressRange (const asiolink::IOAddress &start, const asiolink::IOAddress &end)
 Constructor. More...
 

Public Attributes

asiolink::IOAddress end_
 IP address denoting the end of the address range. More...
 
asiolink::IOAddress start_
 IP address denoting the start of the address range. More...
 

Detailed Description

Structure representing IP address range.

Definition at line 16 of file ip_range.h.

Constructor & Destructor Documentation

isc::dhcp::AddressRange::AddressRange ( const asiolink::IOAddress start,
const asiolink::IOAddress end 
)

Constructor.

Parameters
startbeginning of the address range.
endend of the address range.
Exceptions
BadValueif the start is greater than the end or specified boundaries do not belong to the same family.

Definition at line 18 of file ip_range.cc.

References end_, isc::asiolink::IOAddress::getFamily(), isc_throw, and start_.

+ Here is the call graph for this function:

Member Data Documentation

asiolink::IOAddress isc::dhcp::AddressRange::end_

IP address denoting the end of the address range.

Definition at line 20 of file ip_range.h.

Referenced by isc::dhcp::FreeLeaseQueue::addRange(), and AddressRange().

asiolink::IOAddress isc::dhcp::AddressRange::start_

IP address denoting the start of the address range.

Definition at line 18 of file ip_range.h.

Referenced by isc::dhcp::FreeLeaseQueue::addRange(), and AddressRange().


The documentation for this struct was generated from the following files: