Kea: constants.h Source File

| Kea 2.2.0

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