Kea 2.7.5
constants.h
Go to the documentation of this file.
1// Copyright (C) 2018-2024 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 CONFIG_BACKEND_CONSTANTS_H
8#define CONFIG_BACKEND_CONSTANTS_H
9
10namespace isc {
11namespace cb {
12
18
19constexpr unsigned long SUBNET4_PREFIX_BUF_LENGTH = 32;
20
21constexpr unsigned long SUBNET6_PREFIX_BUF_LENGTH = 64;
22
23constexpr unsigned long POOL_ADDRESS6_BUF_LENGTH = 45;
24
25constexpr unsigned long DHCP4O6_INTERFACE_BUF_LENGTH = 128;
26
27constexpr unsigned long DHCP4O6_INTERFACE_ID_BUF_LENGTH = 128;
28
29constexpr unsigned long DHCP4O6_SUBNET_BUF_LENGTH = 64;
30
31constexpr unsigned long BOOT_FILE_NAME_BUF_LENGTH = 512;
32
33constexpr unsigned long CLIENT_CLASS_BUF_LENGTH = 128;
34
35constexpr unsigned long INTERFACE_BUF_LENGTH = 128;
36
37constexpr unsigned long INTERFACE_ID_BUF_LENGTH = 128;
38
39constexpr unsigned long RELAY_BUF_LENGTH = 65536;
40
41constexpr unsigned long CLIENT_CLASS_LIST_BUF_LENGTH = 65536;
42
43constexpr unsigned long SERVER_HOSTNAME_BUF_LENGTH = 512;
44
45constexpr unsigned long SHARED_NETWORK_NAME_BUF_LENGTH = 128;
46
47constexpr unsigned long USER_CONTEXT_BUF_LENGTH = 65536;
48
49constexpr unsigned long OPTION_VALUE_BUF_LENGTH = 65536;
50
51constexpr unsigned long FORMATTED_OPTION_VALUE_BUF_LENGTH = 8192;
52
53constexpr unsigned long OPTION_SPACE_BUF_LENGTH = 128;
54
55constexpr unsigned long OPTION_NAME_BUF_LENGTH = 128;
56
57constexpr unsigned long OPTION_ENCAPSULATE_BUF_LENGTH = 128;
58
59constexpr unsigned long OPTION_RECORD_TYPES_BUF_LENGTH = 512;
60
61constexpr unsigned long GLOBAL_PARAMETER_NAME_BUF_LENGTH = 128;
62
63constexpr unsigned long GLOBAL_PARAMETER_VALUE_BUF_LENGTH = 65536;
64
65constexpr unsigned long CLIENT_CLASS_NAME_BUF_LENGTH = 128;
66
67constexpr unsigned long CLIENT_CLASS_TEST_BUF_LENGTH = 2048;
68
69constexpr unsigned long CLIENT_CLASS_SNAME_BUF_LENGTH = 128;
70
71constexpr unsigned long CLIENT_CLASS_FILENAME_BUF_LENGTH = 512;
72
73constexpr unsigned long AUDIT_ENTRY_OBJECT_TYPE_BUF_LENGTH = 256;
74
75constexpr unsigned long AUDIT_ENTRY_LOG_MESSAGE_BUF_LENGTH = 65536;
76
77constexpr unsigned long SERVER_TAG_BUF_LENGTH = 64;
78
79constexpr unsigned long SERVER_DESCRIPTION_BUF_LENGTH = 65536;
80
81constexpr unsigned long DNS_NAME_BUF_LENGTH = 255;
82
83constexpr unsigned long ALLOCATOR_TYPE_BUF_LENGTH = 64;
84
85//*}
86
87} // end of namespace isc::cb
88} // end of namespace isc
89
90#endif
constexpr unsigned long SERVER_HOSTNAME_BUF_LENGTH
Definition constants.h:43
constexpr unsigned long AUDIT_ENTRY_LOG_MESSAGE_BUF_LENGTH
Definition constants.h:75
constexpr unsigned long DHCP4O6_INTERFACE_ID_BUF_LENGTH
Definition constants.h:27
constexpr unsigned long BOOT_FILE_NAME_BUF_LENGTH
Definition constants.h:31
constexpr unsigned long CLIENT_CLASS_LIST_BUF_LENGTH
Definition constants.h:41
constexpr unsigned long SUBNET4_PREFIX_BUF_LENGTH
Definition constants.h:19
constexpr unsigned long CLIENT_CLASS_NAME_BUF_LENGTH
Definition constants.h:65
constexpr unsigned long GLOBAL_PARAMETER_VALUE_BUF_LENGTH
Definition constants.h:63
constexpr unsigned long SHARED_NETWORK_NAME_BUF_LENGTH
Definition constants.h:45
constexpr unsigned long CLIENT_CLASS_SNAME_BUF_LENGTH
Definition constants.h:69
constexpr unsigned long INTERFACE_ID_BUF_LENGTH
Definition constants.h:37
constexpr unsigned long SERVER_TAG_BUF_LENGTH
Definition constants.h:77
constexpr unsigned long CLIENT_CLASS_BUF_LENGTH
Definition constants.h:33
constexpr unsigned long ALLOCATOR_TYPE_BUF_LENGTH
Definition constants.h:83
constexpr unsigned long OPTION_VALUE_BUF_LENGTH
Definition constants.h:49
constexpr unsigned long DHCP4O6_SUBNET_BUF_LENGTH
Definition constants.h:29
constexpr unsigned long OPTION_ENCAPSULATE_BUF_LENGTH
Definition constants.h:57
constexpr unsigned long DNS_NAME_BUF_LENGTH
Definition constants.h:81
constexpr unsigned long OPTION_RECORD_TYPES_BUF_LENGTH
Definition constants.h:59
constexpr unsigned long CLIENT_CLASS_FILENAME_BUF_LENGTH
Definition constants.h:71
constexpr unsigned long RELAY_BUF_LENGTH
Definition constants.h:39
constexpr unsigned long INTERFACE_BUF_LENGTH
Definition constants.h:35
constexpr unsigned long DHCP4O6_INTERFACE_BUF_LENGTH
Definition constants.h:25
constexpr unsigned long SERVER_DESCRIPTION_BUF_LENGTH
Definition constants.h:79
constexpr unsigned long OPTION_SPACE_BUF_LENGTH
Definition constants.h:53
constexpr unsigned long CLIENT_CLASS_TEST_BUF_LENGTH
Definition constants.h:67
constexpr unsigned long USER_CONTEXT_BUF_LENGTH
Definition constants.h:47
constexpr unsigned long SUBNET6_PREFIX_BUF_LENGTH
Definition constants.h:21
constexpr unsigned long FORMATTED_OPTION_VALUE_BUF_LENGTH
Definition constants.h:51
constexpr unsigned long POOL_ADDRESS6_BUF_LENGTH
Definition constants.h:23
constexpr unsigned long AUDIT_ENTRY_OBJECT_TYPE_BUF_LENGTH
Definition constants.h:73
constexpr unsigned long GLOBAL_PARAMETER_NAME_BUF_LENGTH
Definition constants.h:61
constexpr unsigned long OPTION_NAME_BUF_LENGTH
Definition constants.h:55
Defines the logger used by the top-level component of kea-lfc.