Kea 3.1.8
sflq_allocation_state.h
Go to the documentation of this file.
1// Copyright (C) 2026 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef SFQL_ALLOCATION_STATE_H
8#define SFQL_ALLOCATION_STATE_H
9
10#include <asiolink/io_address.h>
12#include <dhcpsrv/lease.h>
13#include <dhcpsrv/subnet.h>
14#include <boost/shared_ptr.hpp>
15#include <cstdint>
16#include <map>
17
18namespace isc {
19namespace dhcp {
20
23
25typedef boost::shared_ptr<SubnetSflqAllocationState> SubnetSflqAllocationStatePtr;
26
34public:
35
38
41
46 void setLastAllocatedTime(boost::posix_time::ptime last_time =
47 boost::posix_time::not_a_date_time);
48};
49
50} // end of namespace isc::dhcp
51} // end of namespace isc
52
53#endif // SFQL_ALLOCATION_STATE_H
Subnet allocation state used by the shared-flq allocator.
void setLastAllocatedTime(boost::posix_time::ptime last_time=boost::posix_time::not_a_date_time)
Set last allocated time.
boost::shared_ptr< SubnetSflqAllocationState > SubnetSflqAllocationStatePtr
Type of the pointer to the SubnetSflqAllocationState.
Defines the logger used by the top-level component of kea-lfc.