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
10namespace isc {
11namespace cb {
12
18
19constexpr unsigned long SUBNET_PREFIX_BUF_LENGTH = 32;
20
21constexpr unsigned long DHCP4O6_INTERFACE_BUF_LENGTH = 128;
22
23constexpr unsigned long DHCP4O6_INTERFACE_ID_BUF_LENGTH = 128;
24
25constexpr unsigned long DHCP4O6_SUBNET_BUF_LENGTH = 64;
26
27constexpr unsigned long BOOT_FILE_NAME_BUF_LENGTH = 512;
28
29constexpr unsigned long CLIENT_CLASS_BUF_LENGTH = 128;
30
31constexpr unsigned long INTERFACE_BUF_LENGTH = 128;
32
33constexpr unsigned long RELAY_BUF_LENGTH = 65536;
34
35constexpr unsigned long REQUIRE_CLIENT_CLASSES_BUF_LENGTH = 65536;
36
37constexpr unsigned long SERVER_HOSTNAME_BUF_LENGTH = 512;
38
39constexpr unsigned long SHARED_NETWORK_NAME_BUF_LENGTH = 128;
40
41constexpr unsigned long USER_CONTEXT_BUF_LENGTH = 65536;
42
43constexpr unsigned long OPTION_VALUE_BUF_LENGTH = 65536;
44
45constexpr unsigned long FORMATTED_OPTION_VALUE_BUF_LENGTH = 8192;
46
47constexpr unsigned long OPTION_SPACE_BUF_LENGTH = 128;
48
49constexpr unsigned long OPTION_NAME_BUF_LENGTH = 128;
50
51constexpr unsigned long OPTION_ENCAPSULATE_BUF_LENGTH = 128;
52
53constexpr unsigned long OPTION_RECORD_TYPES_BUF_LENGTH = 512;
54
55constexpr unsigned long GLOBAL_PARAMETER_NAME_BUF_LENGTH = 128;
56
57constexpr 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
constexpr unsigned long SERVER_HOSTNAME_BUF_LENGTH
Definition: constants.h:37
constexpr unsigned long DHCP4O6_INTERFACE_ID_BUF_LENGTH
Definition: constants.h:23
constexpr unsigned long BOOT_FILE_NAME_BUF_LENGTH
Definition: constants.h:27
constexpr unsigned long GLOBAL_PARAMETER_VALUE_BUF_LENGTH
Definition: constants.h:57
constexpr unsigned long SHARED_NETWORK_NAME_BUF_LENGTH
Definition: constants.h:39
constexpr unsigned long CLIENT_CLASS_BUF_LENGTH
Definition: constants.h:29
constexpr unsigned long OPTION_VALUE_BUF_LENGTH
Definition: constants.h:43
constexpr unsigned long DHCP4O6_SUBNET_BUF_LENGTH
Definition: constants.h:25
constexpr unsigned long OPTION_ENCAPSULATE_BUF_LENGTH
Definition: constants.h:51
constexpr unsigned long OPTION_RECORD_TYPES_BUF_LENGTH
Definition: constants.h:53
constexpr unsigned long RELAY_BUF_LENGTH
Definition: constants.h:33
constexpr unsigned long INTERFACE_BUF_LENGTH
Definition: constants.h:31
constexpr unsigned long DHCP4O6_INTERFACE_BUF_LENGTH
Definition: constants.h:21
constexpr unsigned long REQUIRE_CLIENT_CLASSES_BUF_LENGTH
Definition: constants.h:35
constexpr unsigned long OPTION_SPACE_BUF_LENGTH
Definition: constants.h:47
constexpr unsigned long USER_CONTEXT_BUF_LENGTH
Definition: constants.h:41
constexpr unsigned long FORMATTED_OPTION_VALUE_BUF_LENGTH
Definition: constants.h:45
constexpr unsigned long GLOBAL_PARAMETER_NAME_BUF_LENGTH
Definition: constants.h:55
constexpr unsigned long OPTION_NAME_BUF_LENGTH
Definition: constants.h:49
constexpr unsigned long SUBNET_PREFIX_BUF_LENGTH
Definition: constants.h:19
Defines the logger used by the top-level component of kea-dhcp-ddns.