Kea
2.7.7
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
m
n
o
p
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerations
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
y
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
a
b
c
d
e
g
h
i
l
m
n
p
q
r
s
u
v
w
y
Variables
b
c
d
e
f
h
l
n
o
p
q
r
s
t
u
y
Typedefs
Enumerations
Enumerator
d
s
Macros
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
y
▼
Kea
►
Kea Developer's Guide
►
Kea Bootp Hooks Library
►
Kea Flexible Option Hooks Library
►
Kea PerfMon Hooks Library
►
libkea-d2srv - Kea D2 Server Library
►
libkea-kea_tcp - TCP Listener Library
Todo List
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
►
bin
►
hooks
▼
lib
►
asiodns
►
asiolink
►
cc
►
config
►
config_backend
►
cryptolink
►
d2srv
►
database
►
dhcp
►
dhcp_ddns
▼
dhcpsrv
►
parsers
alloc_engine.cc
►
alloc_engine.h
►
alloc_engine_log.cc
alloc_engine_log.h
►
alloc_engine_messages.cc
alloc_engine_messages.h
allocation_state.cc
►
allocation_state.h
allocator.cc
►
allocator.h
►
base_host_data_source.h
►
cache_host_data_source.h
►
callout_handle_store.h
►
cb_ctl_dhcp.h
cb_ctl_dhcp4.cc
►
cb_ctl_dhcp4.h
cb_ctl_dhcp6.cc
►
cb_ctl_dhcp6.h
cfg_4o6.cc
►
cfg_4o6.h
cfg_consistency.cc
►
cfg_consistency.h
cfg_db_access.cc
►
cfg_db_access.h
cfg_duid.cc
►
cfg_duid.h
cfg_expiration.cc
►
cfg_expiration.h
cfg_globals.cc
►
cfg_globals.h
cfg_host_operations.cc
►
cfg_host_operations.h
cfg_hosts.cc
►
cfg_hosts.h
cfg_hosts_util.cc
►
cfg_hosts_util.h
cfg_iface.cc
►
cfg_iface.h
cfg_mac_source.cc
►
cfg_mac_source.h
cfg_multi_threading.cc
►
cfg_multi_threading.h
cfg_option.cc
►
cfg_option.h
cfg_option_def.cc
►
cfg_option_def.h
cfg_rsoo.cc
►
cfg_rsoo.h
cfg_shared_networks.cc
►
cfg_shared_networks.h
cfg_subnets4.cc
►
cfg_subnets4.h
cfg_subnets6.cc
►
cfg_subnets6.h
cfgmgr.cc
►
cfgmgr.h
►
client_class_def.cc
►
client_class_def.h
►
config_backend_dhcp4.h
config_backend_dhcp4_mgr.cc
►
config_backend_dhcp4_mgr.h
►
config_backend_dhcp6.h
config_backend_dhcp6_mgr.cc
►
config_backend_dhcp6_mgr.h
config_backend_pool_dhcp4.cc
►
config_backend_pool_dhcp4.h
config_backend_pool_dhcp6.cc
►
config_backend_pool_dhcp6.h
csv_lease_file4.cc
►
csv_lease_file4.h
csv_lease_file6.cc
►
csv_lease_file6.h
►
d2_client_cfg.cc
►
d2_client_cfg.h
d2_client_mgr.cc
►
d2_client_mgr.h
►
db_type.h
ddns_params.cc
►
ddns_params.h
dhcp4o6_ipc.cc
►
dhcp4o6_ipc.h
►
dhcpsrv_exceptions.h
►
dhcpsrv_log.cc
dhcpsrv_log.h
►
dhcpsrv_messages.cc
dhcpsrv_messages.h
flq_allocation_state.cc
►
flq_allocation_state.h
flq_allocator.cc
►
flq_allocator.h
►
fuzz_log.cc
fuzz_log.h
►
fuzz_messages.cc
fuzz_messages.h
host.cc
►
host.h
►
host_container.h
host_data_source_factory.cc
►
host_data_source_factory.h
host_mgr.cc
►
host_mgr.h
►
hosts_log.cc
hosts_log.h
►
hosts_messages.cc
hosts_messages.h
ip_range.cc
►
ip_range.h
ip_range_permutation.cc
►
ip_range_permutation.h
iterative_allocation_state.cc
►
iterative_allocation_state.h
iterative_allocator.cc
►
iterative_allocator.h
►
key_from_key.h
►
lease.cc
►
lease.h
►
lease_file_loader.h
►
lease_file_stats.h
lease_mgr.cc
►
lease_mgr.h
lease_mgr_factory.cc
►
lease_mgr_factory.h
legal_log_db_log.cc
►
legal_log_db_log.h
►
legal_log_mgr.cc
►
legal_log_mgr.h
legal_log_mgr_factory.cc
►
legal_log_mgr_factory.h
memfile_lease_limits.cc
►
memfile_lease_limits.h
►
memfile_lease_mgr.cc
►
memfile_lease_mgr.h
►
memfile_lease_storage.h
►
ncr_generator.cc
►
ncr_generator.h
network.cc
►
network.h
►
network_state.cc
►
network_state.h
packet_fuzzer.cc
packet_fuzzer.h
pool.cc
►
pool.h
random_allocation_state.cc
►
random_allocation_state.h
random_allocator.cc
►
random_allocator.h
resource_handler.cc
►
resource_handler.h
sanity_checker.cc
►
sanity_checker.h
shared_network.cc
►
shared_network.h
srv_config.cc
►
srv_config.h
subnet.cc
►
subnet.h
►
subnet_id.h
►
subnet_selector.h
►
timer_mgr.cc
►
timer_mgr.h
tracking_lease_mgr.cc
►
tracking_lease_mgr.h
►
utils.h
►
writable_host_data_source.h
►
dns
►
eval
►
exceptions
►
hooks
►
http
►
log
►
mysql
►
pgsql
►
process
►
stats
►
tcp
►
testutils
►
util
►
yang
►
File Members
legal_log_db_log.cc
Go to the documentation of this file.
1
// Copyright (C) 2018-2022 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
8
9
#include <config.h>
10
11
#include <
legal_log_db_log.h
>
12
#include <mutex>
13
14
using namespace
isc::db
;
15
using namespace
std;
16
17
namespace
isc
{
18
19
namespace
db {
20
21
extern
mutex
db_logger_mutex
;
22
23
}
// namespace db
24
25
namespace
dhcp {
26
27
LegalLogDbLogger::LegalLogDbLogger
(
DbLogger
& legal_log_db_logger) {
28
lock_guard<mutex> lk(
db_logger_mutex
);
29
db_logger_stack
.push_back(legal_log_db_logger);
30
}
27
LegalLogDbLogger::LegalLogDbLogger
(
DbLogger
& legal_log_db_logger) {
…
}
31
32
LegalLogDbLogger::~LegalLogDbLogger
() {
33
lock_guard<mutex> lk(
db_logger_mutex
);
34
db_logger_stack
.pop_back();
35
}
32
LegalLogDbLogger::~LegalLogDbLogger
() {
…
}
36
37
}
// namespace dhcp
38
}
// namespace isc
isc::db::DbLogger
Database logger class.
Definition
db_log.h:74
isc::dhcp::LegalLogDbLogger::LegalLogDbLogger
LegalLogDbLogger(isc::db::DbLogger &legal_log_db_logger)
Constructor.
Definition
legal_log_db_log.cc:27
isc::dhcp::LegalLogDbLogger::~LegalLogDbLogger
~LegalLogDbLogger()
Destructor.
Definition
legal_log_db_log.cc:32
legal_log_db_log.h
isc::db
Definition
audit_entry.cc:14
isc::db::db_logger_stack
DbLoggerStack db_logger_stack
Global database logger stack (initialized to database logger)
Definition
db_log.cc:48
isc::db::db_logger_mutex
std::mutex db_logger_mutex
Global mutex to protect logger stack.
Definition
db_log.cc:50
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
src
lib
dhcpsrv
legal_log_db_log.cc
Generated on Fri Mar 14 2025 19:04:55 for Kea by
1.12.0