![]() |
Kea
1.5.0
|
#include <config.h>#include <ha_impl.h>#include <ha_log.h>#include <asiolink/io_service.h>#include <cc/command_interpreter.h>#include <dhcpsrv/network_state.h>#include <hooks/hooks.h>
Include dependency graph for ha_callouts.cc:Go to the source code of this file.
Namespaces | |
| isc | |
| Defines the logger used by the top-level component of kea-dhcp-ddns. | |
| isc::ha | |
Functions | |
| int | buffer4_receive (CalloutHandle &handle) |
| buffer4_receive callout implementation. More... | |
| int | buffer6_receive (CalloutHandle &handle) |
| buffer6_receive callout implementation. More... | |
| int | command_processed (CalloutHandle &handle) |
| comand_processed callout implementation. More... | |
| int | continue_command (CalloutHandle &handle) |
| ha-continue command handler implementation. More... | |
| int | dhcp4_srv_configured (CalloutHandle &handle) |
| dhcp4_srv_configured callout implementation. More... | |
| int | dhcp6_srv_configured (CalloutHandle &handle) |
| dhcp6_srv_configured callout implementation. More... | |
| int | heartbeat_command (CalloutHandle &handle) |
| Heartbeat command handler implementation. More... | |
| int | leases4_committed (CalloutHandle &handle) |
| leases4_committed callout implementation. More... | |
| int | leases6_committed (CalloutHandle &handle) |
| leases6_committed callout implementation. More... | |
| int | load (LibraryHandle &handle) |
| This function is called when the library is loaded. More... | |
| int | scopes_command (CalloutHandle &handle) |
| ha-scopes command handler implementation. More... | |
| int | sync_command (CalloutHandle &handle) |
| ha-sync command handler implementation. More... | |
| int | unload () |
| This function is called when the library is unloaded. More... | |
Variables | |
| HAImplPtr | isc::ha::impl |
| int buffer4_receive | ( | CalloutHandle & | handle | ) |
buffer4_receive callout implementation.
| handle | callout handle. |
Definition at line 57 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
| int buffer6_receive | ( | CalloutHandle & | handle | ) |
buffer6_receive callout implementation.
| handle | callout handle. |
Definition at line 108 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
| int command_processed | ( | CalloutHandle & | handle | ) |
comand_processed callout implementation.
| handle | callout handle. |
Definition at line 140 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
| int continue_command | ( | CalloutHandle & | handle | ) |
ha-continue command handler implementation.
Definition at line 194 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
Referenced by load().
| int dhcp4_srv_configured | ( | CalloutHandle & | handle | ) |
dhcp4_srv_configured callout implementation.
| handle | callout handle. |
Definition at line 38 of file ha_callouts.cc.
References isc::hooks::CalloutHandle::getArgument(), isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
Here is the call graph for this function:| int dhcp6_srv_configured | ( | CalloutHandle & | handle | ) |
dhcp6_srv_configured callout implementation.
| handle | callout handle. |
Definition at line 89 of file ha_callouts.cc.
References isc::hooks::CalloutHandle::getArgument(), isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
Here is the call graph for this function:| int heartbeat_command | ( | CalloutHandle & | handle | ) |
Heartbeat command handler implementation.
Definition at line 154 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
Referenced by load().
| int leases4_committed | ( | CalloutHandle & | handle | ) |
leases4_committed callout implementation.
| handle | callout handle. |
Definition at line 73 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
| int leases6_committed | ( | CalloutHandle & | handle | ) |
leases6_committed callout implementation.
| handle | callout handle. |
Definition at line 124 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
| int load | ( | LibraryHandle & | handle | ) |
This function is called when the library is loaded.
| handle | library handle |
Definition at line 210 of file ha_callouts.cc.
References continue_command(), isc::config::CONTROL_RESULT_ERROR, isc::hooks::LibraryHandle::getParameter(), isc::ha::ha_logger, heartbeat_command(), isc::ha::impl, LOG_ERROR, LOG_INFO, isc::hooks::LibraryHandle::registerCommandCallout(), scopes_command(), and sync_command().
Here is the call graph for this function:| int scopes_command | ( | CalloutHandle & | handle | ) |
ha-scopes command handler implementation.
Definition at line 181 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
Referenced by load().
| int sync_command | ( | CalloutHandle & | handle | ) |
ha-sync command handler implementation.
Definition at line 168 of file ha_callouts.cc.
References isc::ha::ha_logger, isc::ha::impl, and LOG_ERROR.
Referenced by load().
| int unload | ( | ) |
This function is called when the library is unloaded.
Definition at line 239 of file ha_callouts.cc.
References isc::ha::ha_logger, and LOG_INFO.