 |
Kea
1.5.0
|
Go to the documentation of this file.
54 if (subnets->empty()) {
62 if (registered_user) {
73 }
catch (
const std::exception& ex) {
108 if (subnets->empty()) {
116 if (registered_user) {
127 }
catch (
const std::exception& ex) {
UserRegistryPtr user_registry
Pointer to the registry instance.
int subnet6_select(CalloutHandle &handle)
This callout is called at the "subnet6_select" hook.
boost::multi_index_container< Subnet6Ptr, boost::multi_index::indexed_by< boost::multi_index::random_access< boost::multi_index::tag< SubnetRandomAccessIndexTag > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetSubnetIdIndexTag >, boost::multi_index::const_mem_fun< Subnet, SubnetID, &Subnet::getID > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetPrefixIndexTag >, boost::multi_index::const_mem_fun< Subnet, std::string, &Subnet::toText > > >> Subnet6Collection
A collection of Subnet6 objects.
void setArgument(const std::string &name, T value)
Set argument.
#define LOG_ERROR(LOGGER, MESSAGE)
Macro to conveniently test error output and log it.
void getContext(const std::string &name, T &value) const
Get context.
Per-packet callout handle.
const char * registered_user_label
Text label of registered user pointer in callout context.
void getArgument(const std::string &name, T &value) const
Get argument.
boost::shared_ptr< Subnet4 > Subnet4Ptr
A pointer to a Subnet4 object.
isc::log::Logger user_chk_logger("user_chk")
User Check Logger.
Defines the logger used by the user check hooks library.
boost::shared_ptr< Subnet6 > Subnet6Ptr
A pointer to a Subnet6 object.
int subnet4_select(CalloutHandle &handle)
This callout is called at the "subnet4_select" hook.
boost::shared_ptr< User > UserPtr
Defines a smart pointer to a User.
boost::multi_index_container< Subnet4Ptr, boost::multi_index::indexed_by< boost::multi_index::random_access< boost::multi_index::tag< SubnetRandomAccessIndexTag > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetSubnetIdIndexTag >, boost::multi_index::const_mem_fun< Subnet, SubnetID, &Subnet::getID > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetPrefixIndexTag >, boost::multi_index::const_mem_fun< Subnet, std::string, &Subnet::toText > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< SubnetServerIdIndexTag >, boost::multi_index::const_mem_fun< Network4, asiolink::IOAddress, &Network4::getServerId > > >> Subnet4Collection
A collection of Subnet4 objects.