Kea 2.7.6
|
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::IOAddress & | getPrefix () 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. | |
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.
|
inline |
Default constructor.
resrv | IPv6 address/prefix reservation |
host | pointer to the host object |
Definition at line 169 of file host_container.h.
|
inline |
Key extractor used in the fourth composite key.
Definition at line 188 of file host_container.h.
References host_.
|
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_.
HostPtr isc::dhcp::HostResrv6Tuple::host_ |
Pointer to the host object.
Definition at line 177 of file host_container.h.
Referenced by getHostId().
const IPv6Resrv isc::dhcp::HostResrv6Tuple::resrv_ |
Address or prefix reservation.
Definition at line 174 of file host_container.h.
Referenced by getPrefix().
const SubnetID isc::dhcp::HostResrv6Tuple::subnet_id_ |
Value of the IPv6 Subnet-id.
Definition at line 180 of file host_container.h.