kea-custom-hooks
FeM custom hooks libraries for Kea DHCP
|
Declarations for Kea callout functions. More...
#include <dhcp/dhcp4.h>
#include <hooks/hooks.h>
Go to the source code of this file.
Functions | |
int | lease4_select (isc::hooks::CalloutHandle &) |
int | lease4_renew (isc::hooks::CalloutHandle &) |
Declarations for Kea callout functions.
These callout functions are called by Kea upon reaching the respective hook points. The function-names are pre-defined according to the Kea naming conventions, since Kea calls the respective symbols directly. For this reason, callouts need to be defined as extern "C"
.
All callouts which are run during lease assingment must run fast to prevent congestion during the normal DHCP operation.
Definition in file callout.hpp.
int lease4_renew | ( | isc::hooks::CalloutHandle & | handle | ) |
Definition at line 22 of file callout.cpp.
int lease4_select | ( | isc::hooks::CalloutHandle & | handle | ) |
Definition at line 11 of file callout.cpp.