summaryrefslogtreecommitdiffstats
path: root/src/hooks/dhcp/high_availability
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2024-01-05 15:43:34 +0100
committerMarcin Siodelski <marcin@isc.org>2024-01-05 19:04:19 +0100
commit14273bb6bdf0dd80c99f9bc6baa7e6c9b065bffb (patch)
tree62080006e8750b09f4606ce7e48ea794b9564c17 /src/hooks/dhcp/high_availability
parent[#3178] Small ARM edits after review (diff)
downloadkea-14273bb6bdf0dd80c99f9bc6baa7e6c9b065bffb.tar.xz
kea-14273bb6bdf0dd80c99f9bc6baa7e6c9b065bffb.zip
[#3178] Added missing comments to ha_impl.h
Diffstat (limited to 'src/hooks/dhcp/high_availability')
-rw-r--r--src/hooks/dhcp/high_availability/ha_impl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/hooks/dhcp/high_availability/ha_impl.h b/src/hooks/dhcp/high_availability/ha_impl.h
index fcf398309a..5339bc9f02 100644
--- a/src/hooks/dhcp/high_availability/ha_impl.h
+++ b/src/hooks/dhcp/high_availability/ha_impl.h
@@ -102,6 +102,12 @@ public:
void buffer4Receive(hooks::CalloutHandle& callout_handle);
/// @brief Implementation of the "subnet4_select" callout.
+ ///
+ /// This callout decides whether the received packet should be processed
+ /// by the server when the server has multiple HA relationships. The
+ /// relationship selection is based on the selected subnet.
+ ///
+ /// @param callout_handle Callout handle provided to the callout.
void subnet4Select(hooks::CalloutHandle& callout_handle);
/// @brief Implementation of the "leases4_committed" callout.
@@ -137,6 +143,12 @@ public:
/// @brief Implementation of the "subnet6_select" callout.
+ ///
+ /// This callout decides whether the received packet should be processed
+ /// by the server when the server has multiple HA relationships. The
+ /// relationship selection is based on the selected subnet.
+ ///
+ /// @param callout_handle Callout handle provided to the callout.
void subnet6Select(hooks::CalloutHandle& callout_handle);
/// @brief Implementation of the "leases6_committed" callout.