![]() |
Kea 2.2.0
|
#include <config.h>#include <lease_cmds.h>#include <lease_cmds_log.h>#include <cc/command_interpreter.h>#include <hooks/hooks.h>
Include dependency graph for lease_cmds_callouts.cc:Go to the source code of this file.
Functions | |
| int | lease4_add (CalloutHandle &handle) |
| This is a command callout for 'lease4-add' command. More... | |
| int | lease4_del (CalloutHandle &handle) |
| This is a command callout for 'lease4-del' command. More... | |
| int | lease4_get (CalloutHandle &handle) |
| This is a command callout for 'lease4-get' command. More... | |
| int | lease4_get_all (CalloutHandle &handle) |
| This is a command callout for 'lease4-get-all' command. More... | |
| int | lease4_get_by_client_id (CalloutHandle &handle) |
| This is a command callout for 'lease4-get-by-client-id' command. More... | |
| int | lease4_get_by_hostname (CalloutHandle &handle) |
| This is a command callout for 'lease4-get-by-hostname' command. More... | |
| int | lease4_get_by_hw_address (CalloutHandle &handle) |
| This is a command callout for 'lease4-get-by-hw-address' command. More... | |
| int | lease4_get_page (CalloutHandle &handle) |
| This is a command callout for 'lease4-get-page' command. More... | |
| int | lease4_resend_ddns (CalloutHandle &handle) |
| This is a command callout for 'lease4-resend-ddns' command. More... | |
| int | lease4_update (CalloutHandle &handle) |
| This is a command callout for 'lease4-update' command. More... | |
| int | lease4_wipe (CalloutHandle &handle) |
| This is a command callout for 'lease4-wipe' command. More... | |
| int | lease6_add (CalloutHandle &handle) |
| This is a command callout for 'lease6-add' command. More... | |
| int | lease6_bulk_apply (CalloutHandle &handle) |
| This is a command callout for 'lease6-bulk-apply' command. More... | |
| int | lease6_del (CalloutHandle &handle) |
| This is a command callout for 'lease6-del' command. More... | |
| int | lease6_get (CalloutHandle &handle) |
| This is a command callout for 'lease6-get' command. More... | |
| int | lease6_get_all (CalloutHandle &handle) |
| This is a command callout for 'lease6-get-all' command. More... | |
| int | lease6_get_by_duid (CalloutHandle &handle) |
| This is a command callout for 'lease6-get-by-duid' command. More... | |
| int | lease6_get_by_hostname (CalloutHandle &handle) |
| This is a command callout for 'lease6-get-by-hostname' command. More... | |
| int | lease6_get_page (CalloutHandle &handle) |
| This is a command callout for 'lease6-get-page' command. More... | |
| int | lease6_resend_ddns (CalloutHandle &handle) |
| This is a command callout for 'lease6-resend-ddns' command. More... | |
| int | lease6_update (CalloutHandle &handle) |
| This is a command callout for 'lease6-update' command. More... | |
| int | lease6_wipe (CalloutHandle &handle) |
| This is a command callout for 'lease6-wipe' command. More... | |
| int | load (LibraryHandle &handle) |
| This function is called when the library is loaded. More... | |
| int | multi_threading_compatible () |
| This function is called to retrieve the multi-threading compatibility. More... | |
| int | unload () |
| This function is called when the library is unloaded. More... | |
| int lease4_add | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-add' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 31 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseAddHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_del | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-del' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 185 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease4DelHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_get | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-get' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 64 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_get_all | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-get-all' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 86 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetAllHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_get_by_client_id | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-get-by-client-id' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 141 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetByClientIdHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_get_by_hostname | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-get-by-hostname' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 163 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetByHostnameHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_get_by_hw_address | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-get-by-hw-address' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 130 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetByHwAddressHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_get_page | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-get-page' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 108 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetPageHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_resend_ddns | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-resend-ddns' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 251 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease4ResendDdnsHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_update | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-update' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 207 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease4UpdateHandler().
Referenced by load().
Here is the call graph for this function:| int lease4_wipe | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease4-wipe' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 229 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease4WipeHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_add | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-add' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 42 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseAddHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_bulk_apply | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-bulk-apply' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 53 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease6BulkApplyHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_del | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-del' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 196 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease6DelHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_get | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-get' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 75 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_get_all | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-get-all' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 97 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetAllHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_get_by_duid | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-get-by-duid' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 152 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetByDuidHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_get_by_hostname | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-get-by-hostname' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 174 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetByHostnameHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_get_page | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-get-page' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 119 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::leaseGetPageHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_resend_ddns | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-resend-ddns' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 262 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease6ResendDdnsHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_update | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-update' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 218 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease6UpdateHandler().
Referenced by load().
Here is the call graph for this function:| int lease6_wipe | ( | CalloutHandle & | handle | ) |
This is a command callout for 'lease6-wipe' command.
| handle | Callout handle used to retrieve a command and provide a response. |
Definition at line 240 of file lease_cmds_callouts.cc.
References isc::lease_cmds::LeaseCmds::lease6WipeHandler().
Referenced by load().
Here is the call graph for this function:| int load | ( | LibraryHandle & | handle | ) |
This function is called when the library is loaded.
| handle | library handle |
Definition at line 271 of file lease_cmds_callouts.cc.
References lease4_add(), lease4_del(), lease4_get(), lease4_get_all(), lease4_get_by_client_id(), lease4_get_by_hostname(), lease4_get_by_hw_address(), lease4_get_page(), lease4_resend_ddns(), lease4_update(), lease4_wipe(), lease6_add(), lease6_bulk_apply(), lease6_del(), lease6_get(), lease6_get_all(), lease6_get_by_duid(), lease6_get_by_hostname(), lease6_get_page(), lease6_resend_ddns(), lease6_update(), lease6_wipe(), LEASE_CMDS_INIT_OK, isc::lease_cmds::lease_cmds_logger, LOG_INFO, and isc::hooks::LibraryHandle::registerCommandCallout().
Here is the call graph for this function:| int multi_threading_compatible | ( | ) |
This function is called to retrieve the multi-threading compatibility.
Definition at line 314 of file lease_cmds_callouts.cc.
| int unload | ( | ) |
This function is called when the library is unloaded.
Definition at line 306 of file lease_cmds_callouts.cc.
References LEASE_CMDS_DEINIT_OK, isc::lease_cmds::lease_cmds_logger, and LOG_INFO.