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

Defines one entry for the Host Container for v6 hosts. More...

#include <host_container.h>

Public Member Functions

 HostResrv6Tuple (const IPv6Resrv &resrv, const HostPtr &host)
 Default constructor. More...
 
const asiolink::IOAddressgetKey () const
 Key extractor (used in the second composite key) More...
 

Public Attributes

HostPtr host_
 Pointer to the host object. More...
 
const IPv6Resrv resrv_
 Address or prefix reservation. More...
 
const SubnetID subnet_id_
 Value of the IPv6 Subnet-id. More...
 

Detailed Description

Defines one entry for the Host Container for v6 hosts.

It's essentially a pair of (IPv6 reservation, Host pointer). This structure is used as an intermediate structure in HostContainer6. For a single host that has reservations for X addresses or prefixes, there will be X HostResrv6Tuple structures.

Definition at line 163 of file host_container.h.

Constructor & Destructor Documentation

isc::dhcp::HostResrv6Tuple::HostResrv6Tuple ( const IPv6Resrv resrv,
const HostPtr host 
)
inline

Default constructor.

Parameters
resrvIPv6 address/prefix reservation
hostpointer to the host object

Definition at line 169 of file host_container.h.

Member Function Documentation

const asiolink::IOAddress& isc::dhcp::HostResrv6Tuple::getKey ( ) const
inline

Key extractor (used in the second composite key)

Definition at line 183 of file host_container.h.

References isc::dhcp::IPv6Resrv::getPrefix().

+ Here is the call graph for this function:

Member Data Documentation

HostPtr isc::dhcp::HostResrv6Tuple::host_

Pointer to the host object.

Definition at line 177 of file host_container.h.

const IPv6Resrv isc::dhcp::HostResrv6Tuple::resrv_

Address or prefix reservation.

Definition at line 174 of file host_container.h.

const SubnetID isc::dhcp::HostResrv6Tuple::subnet_id_

Value of the IPv6 Subnet-id.

Definition at line 180 of file host_container.h.


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