Kea 2.7.6
host_container.h File Reference
#include <dhcpsrv/host.h>
#include <dhcpsrv/subnet_id.h>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/mem_fun.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/hashed_index.hpp>
+ Include dependency graph for host_container.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  isc::dhcp::HostResrv6Tuple
 Defines one entry for the Host Container for v6 hosts. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::dhcp
 

Typedefs

typedef boost::multi_index_container< HostPtr, boost::multi_index::indexed_by< boost::multi_index::ordered_non_unique< boost::multi_index::composite_key< Host, boost::multi_index::const_mem_fun< Host, const std::vector< uint8_t > &, &Host::getIdentifier >, boost::multi_index::const_mem_fun< Host, Host::IdentifierType, &Host::getIdentifierType > > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< Host, const asiolink::IOAddress &, &Host::getIPv4Reservation > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< Host, SubnetID, &Host::getIPv4SubnetID > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< Host, SubnetID, &Host::getIPv6SubnetID > >, boost::multi_index::ordered_unique< boost::multi_index::const_mem_fun< Host, uint64_t, &Host::getHostId > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< Host, std::string, &Host::getLowerHostname > > > > isc::dhcp::HostContainer
 Multi-index container holding host reservations.
 
typedef boost::multi_index_container< HostResrv6Tuple, boost::multi_index::indexed_by< boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< HostResrv6Tuple, const asiolink::IOAddress &, &HostResrv6Tuple::getPrefix > >, boost::multi_index::ordered_non_unique< boost::multi_index::composite_key< HostResrv6Tuple, boost::multi_index::member< HostResrv6Tuple, const SubnetID, &HostResrv6Tuple::subnet_id_ >, boost::multi_index::const_mem_fun< HostResrv6Tuple, const asiolink::IOAddress &, &HostResrv6Tuple::getPrefix > > >, boost::multi_index::ordered_non_unique< boost::multi_index::member< HostResrv6Tuple, const SubnetID, &HostResrv6Tuple::subnet_id_ > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< HostResrv6Tuple, uint64_t, &HostResrv6Tuple::getHostId > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< HostResrv6Tuple, const asiolink::IOAddress &, &HostResrv6Tuple::getPrefix > > > > isc::dhcp::HostContainer6
 Multi-index container holding IPv6 reservations.
 
typedef HostContainer6::nth_index< 0 >::type isc::dhcp::HostContainer6Index0
 First index type in the HostContainer6.
 
typedef std::pair< HostContainer6Index0::iterator, HostContainer6Index0::iterator > isc::dhcp::HostContainer6Index0Range
 Results range returned using the HostContainer6Index0.
 
typedef HostContainer6::nth_index< 1 >::type isc::dhcp::HostContainer6Index1
 Second index type in the HostContainer6.
 
typedef std::pair< HostContainer6Index1::iterator, HostContainer6Index1::iterator > isc::dhcp::HostContainer6Index1Range
 Results range returned using the HostContainer6Index1.
 
typedef HostContainer6::nth_index< 2 >::type isc::dhcp::HostContainer6Index2
 Third index type in the HostContainer6.
 
typedef std::pair< HostContainer6Index2::iterator, HostContainer6Index2::iterator > isc::dhcp::HostContainer6Index2Range
 Results range returned using the HostContainer6Index2.
 
typedef HostContainer6::nth_index< 3 >::type isc::dhcp::HostContainer6Index3
 Fourth index type in the HostContainer6.
 
typedef std::pair< HostContainer6Index3::iterator, HostContainer6Index3::iterator > isc::dhcp::HostContainer6Index3Range
 Results range returned using the HostContainer6Index3.
 
typedef HostContainer6::nth_index< 4 >::type isc::dhcp::HostContainer6Index4
 Fifth index type in the HostContainer6.
 
typedef std::pair< HostContainer6Index4::iterator, HostContainer6Index4::iterator > isc::dhcp::HostContainer6Index4Range
 Results range returned using the HostContainer6Index4.
 
typedef HostContainer::nth_index< 0 >::type isc::dhcp::HostContainerIndex0
 First index type in the HostContainer.
 
typedef std::pair< HostContainerIndex0::iterator, HostContainerIndex0::iterator > isc::dhcp::HostContainerIndex0Range
 Results range returned using the HostContainerIndex0.
 
typedef HostContainer::nth_index< 1 >::type isc::dhcp::HostContainerIndex1
 Second index type in the HostContainer.
 
typedef std::pair< HostContainerIndex1::iterator, HostContainerIndex1::iterator > isc::dhcp::HostContainerIndex1Range
 Results range returned using the HostContainerIndex1.
 
typedef HostContainer::nth_index< 2 >::type isc::dhcp::HostContainerIndex2
 Third index type in the HostContainer.
 
typedef std::pair< HostContainerIndex2::iterator, HostContainerIndex2::iterator > isc::dhcp::HostContainerIndex2Range
 Results range returned using the HostContainerIndex2.
 
typedef HostContainer::nth_index< 3 >::type isc::dhcp::HostContainerIndex3
 Forth index type in the HostContainer.
 
typedef std::pair< HostContainerIndex3::iterator, HostContainerIndex3::iterator > isc::dhcp::HostContainerIndex3Range
 Results range returned using the HostContainerIndex3.
 
typedef HostContainer::nth_index< 4 >::type isc::dhcp::HostContainerIndex4
 Fifth index type in the HostContainer.
 
typedef std::pair< HostContainerIndex4::iterator, HostContainerIndex4::iterator > isc::dhcp::HostContainerIndex4Range
 Results range returned using the HostContainerIndex4.
 
typedef HostContainer::nth_index< 5 >::type isc::dhcp::HostContainerIndex5
 Sixth index type in the HostContainer.