diff options
author | Francis Dupont <fdupont@isc.org> | 2023-01-28 09:35:45 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2023-02-08 16:52:03 +0100 |
commit | 28bf1c1b3ad4a7968eb004e9aabaedebc4819927 (patch) | |
tree | 92efacdb4a9908cb6dfab16303b154b83189e098 /src/lib/dhcpsrv/memfile_lease_mgr.h | |
parent | [#2738] Checkpoint: create methods and factor UTs, todo alloc engine and v4 UTs (diff) | |
download | kea-28bf1c1b3ad4a7968eb004e9aabaedebc4819927.tar.xz kea-28bf1c1b3ad4a7968eb004e9aabaedebc4819927.zip |
[#2738] Checkpoint: UTs to do
Diffstat (limited to 'src/lib/dhcpsrv/memfile_lease_mgr.h')
-rw-r--r-- | src/lib/dhcpsrv/memfile_lease_mgr.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/memfile_lease_mgr.h b/src/lib/dhcpsrv/memfile_lease_mgr.h index 6ddd6e7f4a..4fe336265d 100644 --- a/src/lib/dhcpsrv/memfile_lease_mgr.h +++ b/src/lib/dhcpsrv/memfile_lease_mgr.h @@ -1477,6 +1477,17 @@ private: const asiolink::IOAddress& lower_bound_address, const LeasePageSize& page_size); + /// @brief Extract extended info for v4 leases. + /// + /// For v4 relay and remote identifiers are stored inside leases vs. + /// tables for v6. + /// + /// @param update Update extended info in database. + /// @param current specify whether to use current (true) or staging + /// (false) config. + /// @return The number of updates in the database or 0. + size_t extractExtendedInfo4(bool update, bool current); + /// @brief Build extended info v6 tables. /// /// @param update Update extended info in database. |