Kea  2.3.5-git
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

 isc
 Defines the logger used by the top-level component of kea-lfc.
 
 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. More...
 
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::getKey > >, 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::getKey > > >, boost::multi_index::ordered_non_unique< boost::multi_index::member< HostResrv6Tuple, const SubnetID, &HostResrv6Tuple::subnet_id_ > > >> isc::dhcp::HostContainer6
 Multi-index container holding IPv6 reservations. More...
 
typedef HostContainer6::nth_index< 0 >::type isc::dhcp::HostContainer6Index0
 First index type in the HostContainer6. More...
 
typedef std::pair< HostContainer6Index0::iterator, HostContainer6Index0::iterator > isc::dhcp::HostContainer6Index0Range
 Results range returned using the HostContainer6Index0. More...
 
typedef HostContainer6::nth_index< 1 >::type isc::dhcp::HostContainer6Index1
 Second index type in the HostContainer6. More...
 
typedef std::pair< HostContainer6Index1::iterator, HostContainer6Index1::iterator > isc::dhcp::HostContainer6Index1Range
 Results range returned using the HostContainer6Index1. More...
 
typedef HostContainer6::nth_index< 2 >::type isc::dhcp::HostContainer6Index2
 Third index type in the HostContainer6. More...
 
typedef std::pair< HostContainer6Index2::iterator, HostContainer6Index2::iterator > isc::dhcp::HostContainer6Index2Range
 Results range returned using the HostContainer6Index2. More...
 
typedef HostContainer::nth_index< 0 >::type isc::dhcp::HostContainerIndex0
 First index type in the HostContainer. More...
 
typedef std::pair< HostContainerIndex0::iterator, HostContainerIndex0::iterator > isc::dhcp::HostContainerIndex0Range
 Results range returned using the HostContainerIndex0. More...
 
typedef HostContainer::nth_index< 1 >::type isc::dhcp::HostContainerIndex1
 Second index type in the HostContainer. More...
 
typedef std::pair< HostContainerIndex1::iterator, HostContainerIndex1::iterator > isc::dhcp::HostContainerIndex1Range
 Results range returned using the HostContainerIndex1. More...
 
typedef HostContainer::nth_index< 2 >::type isc::dhcp::HostContainerIndex2
 Third index type in the HostContainer. More...
 
typedef std::pair< HostContainerIndex2::iterator, HostContainerIndex2::iterator > isc::dhcp::HostContainerIndex2Range
 Results range returned using the HostContainerIndex2. More...
 
typedef HostContainer::nth_index< 3 >::type isc::dhcp::HostContainerIndex3
 Forth index type in the HostContainer. More...
 
typedef std::pair< HostContainerIndex3::iterator, HostContainerIndex3::iterator > isc::dhcp::HostContainerIndex3Range
 Results range returned using the HostContainerIndex3. More...
 
typedef HostContainer::nth_index< 4 >::type isc::dhcp::HostContainerIndex4
 Fifth index type in the HostContainer. More...
 
typedef std::pair< HostContainerIndex4::iterator, HostContainerIndex4::iterator > isc::dhcp::HostContainerIndex4Range
 Results range returned using the HostContainerIndex4. More...
 
typedef HostContainer::nth_index< 5 >::type isc::dhcp::HostContainerIndex5
 Sixth index type in the HostContainer. More...