Kea  1.9.9-git
constants.h
Go to the documentation of this file.
1 // Copyright (C) 2018-2020 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 
10 namespace isc {
11 namespace 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 AUDIT_ENTRY_OBJECT_TYPE_BUF_LENGTH = 256;
66 
67 constexpr unsigned long AUDIT_ENTRY_LOG_MESSAGE_BUF_LENGTH = 65536;
68 
69 constexpr unsigned long SERVER_TAG_BUF_LENGTH = 256;
70 
71 constexpr unsigned long SERVER_DESCRIPTION_BUF_LENGTH = 65536;
72 
73 constexpr unsigned long DNS_NAME_BUF_LENGTH = 255;
74 
75 //*}
76 
77 } // end of namespace isc::cb
78 } // end of namespace isc
79 
80 #endif
constexpr unsigned long FORMATTED_OPTION_VALUE_BUF_LENGTH
Definition: constants.h:51
constexpr unsigned long SUBNET4_PREFIX_BUF_LENGTH
Definition: constants.h:19
constexpr unsigned long DHCP4O6_INTERFACE_ID_BUF_LENGTH
Definition: constants.h:27
constexpr unsigned long REQUIRE_CLIENT_CLASSES_BUF_LENGTH
Definition: constants.h:41
constexpr unsigned long AUDIT_ENTRY_LOG_MESSAGE_BUF_LENGTH
Definition: constants.h:67
constexpr unsigned long SERVER_DESCRIPTION_BUF_LENGTH
Definition: constants.h:71
constexpr unsigned long INTERFACE_ID_BUF_LENGTH
Definition: constants.h:37
constexpr unsigned long SERVER_TAG_BUF_LENGTH
Definition: constants.h:69
constexpr unsigned long CLIENT_CLASS_BUF_LENGTH
Definition: constants.h:33
constexpr unsigned long OPTION_SPACE_BUF_LENGTH
Definition: constants.h:53
constexpr unsigned long SERVER_HOSTNAME_BUF_LENGTH
Definition: constants.h:43
constexpr unsigned long DNS_NAME_BUF_LENGTH
Definition: constants.h:73
constexpr unsigned long BOOT_FILE_NAME_BUF_LENGTH
Definition: constants.h:31
constexpr unsigned long SUBNET6_PREFIX_BUF_LENGTH
Definition: constants.h:21
constexpr unsigned long OPTION_RECORD_TYPES_BUF_LENGTH
Definition: constants.h:59
constexpr unsigned long SHARED_NETWORK_NAME_BUF_LENGTH
Definition: constants.h:45
constexpr unsigned long OPTION_ENCAPSULATE_BUF_LENGTH
Definition: constants.h:57
constexpr unsigned long DHCP4O6_SUBNET_BUF_LENGTH
Definition: constants.h:29
Defines the logger used by the top-level component of kea-dhcp-ddns.
constexpr unsigned long POOL_ADDRESS6_BUF_LENGTH
Definition: constants.h:23
constexpr unsigned long AUDIT_ENTRY_OBJECT_TYPE_BUF_LENGTH
Definition: constants.h:65
constexpr unsigned long OPTION_NAME_BUF_LENGTH
Definition: constants.h:55
constexpr unsigned long INTERFACE_BUF_LENGTH
Definition: constants.h:35
constexpr unsigned long OPTION_VALUE_BUF_LENGTH
Definition: constants.h:49
constexpr unsigned long GLOBAL_PARAMETER_NAME_BUF_LENGTH
Definition: constants.h:61
constexpr unsigned long USER_CONTEXT_BUF_LENGTH
Definition: constants.h:47
constexpr unsigned long GLOBAL_PARAMETER_VALUE_BUF_LENGTH
Definition: constants.h:63
constexpr unsigned long RELAY_BUF_LENGTH
Definition: constants.h:39
constexpr unsigned long DHCP4O6_INTERFACE_BUF_LENGTH
Definition: constants.h:25