Kea 2.7.6
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.
 
HostID getHostId () const
 Key extractor used in the fourth composite key.
 
const asiolink::IOAddressgetPrefix () const
 Key extractor used in the second composite key.
 

Public Attributes

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

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

◆ HostResrv6Tuple()

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

◆ getHostId()

HostID isc::dhcp::HostResrv6Tuple::getHostId ( ) const
inline

Key extractor used in the fourth composite key.

Definition at line 188 of file host_container.h.

References host_.

◆ getPrefix()

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

Key extractor used in the second composite key.

Definition at line 183 of file host_container.h.

References isc::dhcp::IPv6Resrv::getPrefix(), and resrv_.

+ Here is the call graph for this function:

Member Data Documentation

◆ host_

HostPtr isc::dhcp::HostResrv6Tuple::host_

Pointer to the host object.

Definition at line 177 of file host_container.h.

Referenced by getHostId().

◆ resrv_

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

Address or prefix reservation.

Definition at line 174 of file host_container.h.

Referenced by getPrefix().

◆ subnet_id_

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: