Kea 2.7.6
docsis3_option_defs.h
Go to the documentation of this file.
1// Copyright (C) 2013-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 DOCSIS3_OPTION_DEFS_H
8#define DOCSIS3_OPTION_DEFS_H
9
12
14#define DOCSIS3_V4_OPTION_SPACE "docsis3-v4"
15#define DOCSIS3_V6_OPTION_SPACE "docsis3-v6"
16
17namespace isc {
18namespace dhcp {
19
20#define VENDOR_ID_CABLE_LABS 4491
21
22#define DOCSIS3_V4_ORO 1
23#define DOCSIS3_V4_TFTP_SERVERS 2
24
32
37
39#define DOCSIS3_V6_ORO 1
40#define DOCSIS3_V6_DEVICE_TYPE 2
41#define DOCSIS3_V6_VENDOR_NAME 10
42#define DOCSIS3_V6_TFTP_SERVERS 32
43#define DOCSIS3_V6_CONFIG_FILE 33
44#define DOCSIS3_V6_SYSLOG_SERVERS 34
45#define DOCSIS3_V6_DEVICE_ID 36
46#define DOCSIS3_V6_TIME_SERVERS 37
47#define DOCSIS3_V6_TIME_OFFSET 38
48
49// The following DOCSIS3 options are inserted by the CMTS (which acts as
50// a relay agent)
51#define DOCSIS3_V6_CMTS_CM_MAC 1026
52
77
82
84extern const char* DOCSIS3_CLASS_EROUTER;
85extern const char* DOCSIS3_CLASS_MODEM;
86
87} // namespace dhcp
88} // namespace isc
89
90#endif // DOCSIS3_OPTION_DEFS_H
#define DOCSIS3_V6_TFTP_SERVERS
#define DOCSIS3_V6_SYSLOG_SERVERS
#define DOCSIS3_V6_VENDOR_NAME
#define DOCSIS3_V6_ORO
#define DOCSIS3_V4_ORO
#define DOCSIS3_V6_OPTION_SPACE
#define DOCSIS3_V4_OPTION_SPACE
global docsis3 option spaces
#define DOCSIS3_V6_CMTS_CM_MAC
#define DOCSIS3_V6_TIME_OFFSET
#define DOCSIS3_V6_TIME_SERVERS
#define DOCSIS3_V6_DEVICE_TYPE
#define DOCSIS3_V4_TFTP_SERVERS
#define DOCSIS3_V6_DEVICE_ID
#define DOCSIS3_V6_CONFIG_FILE
const OptionDefParams DOCSIS3_V4_OPTION_DEFINITIONS[]
Definitions of standard DHCPv4 options.
const char * DOCSIS3_CLASS_EROUTER
The class as specified in vendor-class option by the devices.
Definition libdhcp++.cc:94
const int DOCSIS3_V6_OPTION_DEFINITIONS_SIZE
Number of option definitions defined.
const char * DOCSIS3_CLASS_MODEM
DOCSIS3.0 compatible cable modem.
Definition libdhcp++.cc:91
const int DOCSIS3_V4_OPTION_DEFINITIONS_SIZE
Number of option definitions defined.
const OptionDefParams DOCSIS3_V6_OPTION_DEFINITIONS[]
Definitions of standard DHCPv6 options.
Defines the logger used by the top-level component of kea-lfc.
#define NO_RECORD_DEF
Parameters being used to make up an option definition.