Kea  1.5.0
constants.h
Go to the documentation of this file.
1 // Copyright (C) 2018 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 SUBNET_PREFIX_BUF_LENGTH = 32;
20 
21 constexpr unsigned long DHCP4O6_INTERFACE_BUF_LENGTH = 128;
22 
23 constexpr unsigned long DHCP4O6_INTERFACE_ID_BUF_LENGTH = 128;
24 
25 constexpr unsigned long DHCP4O6_SUBNET_BUF_LENGTH = 64;
26 
27 constexpr unsigned long BOOT_FILE_NAME_BUF_LENGTH = 512;
28 
29 constexpr unsigned long CLIENT_CLASS_BUF_LENGTH = 128;
30 
31 constexpr unsigned long INTERFACE_BUF_LENGTH = 128;
32 
33 constexpr unsigned long RELAY_BUF_LENGTH = 65536;
34 
35 constexpr unsigned long REQUIRE_CLIENT_CLASSES_BUF_LENGTH = 65536;
36 
37 constexpr unsigned long SERVER_HOSTNAME_BUF_LENGTH = 512;
38 
39 constexpr unsigned long SHARED_NETWORK_NAME_BUF_LENGTH = 128;
40 
41 constexpr unsigned long USER_CONTEXT_BUF_LENGTH = 65536;
42 
43 constexpr unsigned long OPTION_VALUE_BUF_LENGTH = 65536;
44 
45 constexpr unsigned long FORMATTED_OPTION_VALUE_BUF_LENGTH = 8192;
46 
47 constexpr unsigned long OPTION_SPACE_BUF_LENGTH = 128;
48 
49 constexpr unsigned long OPTION_NAME_BUF_LENGTH = 128;
50 
51 constexpr unsigned long OPTION_ENCAPSULATE_BUF_LENGTH = 128;
52 
53 constexpr unsigned long OPTION_RECORD_TYPES_BUF_LENGTH = 512;
54 
55 constexpr unsigned long GLOBAL_PARAMETER_NAME_BUF_LENGTH = 128;
56 
57 constexpr unsigned long GLOBAL_PARAMETER_VALUE_BUF_LENGTH = 65536;
58 
59 //*}
60 
61 } // end of namespace isc::cb
62 } // end of namespace isc
63 
64 #endif
isc::cb::USER_CONTEXT_BUF_LENGTH
constexpr unsigned long USER_CONTEXT_BUF_LENGTH
Definition: constants.h:41
isc::cb::DHCP4O6_INTERFACE_BUF_LENGTH
constexpr unsigned long DHCP4O6_INTERFACE_BUF_LENGTH
Definition: constants.h:21
isc::cb::OPTION_ENCAPSULATE_BUF_LENGTH
constexpr unsigned long OPTION_ENCAPSULATE_BUF_LENGTH
Definition: constants.h:51
isc::cb::BOOT_FILE_NAME_BUF_LENGTH
constexpr unsigned long BOOT_FILE_NAME_BUF_LENGTH
Definition: constants.h:27
isc::cb::RELAY_BUF_LENGTH
constexpr unsigned long RELAY_BUF_LENGTH
Definition: constants.h:33
isc::cb::OPTION_NAME_BUF_LENGTH
constexpr unsigned long OPTION_NAME_BUF_LENGTH
Definition: constants.h:49
isc::cb::SUBNET_PREFIX_BUF_LENGTH
constexpr unsigned long SUBNET_PREFIX_BUF_LENGTH
Definition: constants.h:19
isc::cb::REQUIRE_CLIENT_CLASSES_BUF_LENGTH
constexpr unsigned long REQUIRE_CLIENT_CLASSES_BUF_LENGTH
Definition: constants.h:35
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition: agent_parser.cc:144
isc::cb::FORMATTED_OPTION_VALUE_BUF_LENGTH
constexpr unsigned long FORMATTED_OPTION_VALUE_BUF_LENGTH
Definition: constants.h:45
isc::cb::DHCP4O6_INTERFACE_ID_BUF_LENGTH
constexpr unsigned long DHCP4O6_INTERFACE_ID_BUF_LENGTH
Definition: constants.h:23
isc::cb::GLOBAL_PARAMETER_VALUE_BUF_LENGTH
constexpr unsigned long GLOBAL_PARAMETER_VALUE_BUF_LENGTH
Definition: constants.h:57
isc::cb::OPTION_VALUE_BUF_LENGTH
constexpr unsigned long OPTION_VALUE_BUF_LENGTH
Definition: constants.h:43
isc::cb::GLOBAL_PARAMETER_NAME_BUF_LENGTH
constexpr unsigned long GLOBAL_PARAMETER_NAME_BUF_LENGTH
Definition: constants.h:55
isc::cb::CLIENT_CLASS_BUF_LENGTH
constexpr unsigned long CLIENT_CLASS_BUF_LENGTH
Definition: constants.h:29
isc::cb::INTERFACE_BUF_LENGTH
constexpr unsigned long INTERFACE_BUF_LENGTH
Definition: constants.h:31
isc::cb::SERVER_HOSTNAME_BUF_LENGTH
constexpr unsigned long SERVER_HOSTNAME_BUF_LENGTH
Definition: constants.h:37
isc::cb::OPTION_RECORD_TYPES_BUF_LENGTH
constexpr unsigned long OPTION_RECORD_TYPES_BUF_LENGTH
Definition: constants.h:53
isc::cb::OPTION_SPACE_BUF_LENGTH
constexpr unsigned long OPTION_SPACE_BUF_LENGTH
Definition: constants.h:47
isc::cb::SHARED_NETWORK_NAME_BUF_LENGTH
constexpr unsigned long SHARED_NETWORK_NAME_BUF_LENGTH
Definition: constants.h:39
isc::cb::DHCP4O6_SUBNET_BUF_LENGTH
constexpr unsigned long DHCP4O6_SUBNET_BUF_LENGTH
Definition: constants.h:25