Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
6a428885
Commit
6a428885
authored
Sep 24, 2015
by
Francis Dupont
Browse files
[4015] Added a IANA / standard option leading note and some EXPERIMENTAL labels
parent
28abfaa4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/dhcp4.h
View file @
6a428885
...
...
@@ -36,6 +36,13 @@
#include
<stdint.h>
/// @note Not yet implemented but assigned by IANA code points are
/// left in a comment.
/// To implement a standard option, remove the comment,
/// add an entry in std_option_defs.h, stdOptionDefs4 unit test
/// in tests/libdhcp++_unittest.cc and dhcp4-std-options-list-part2
/// in the dhcp4-srv.xml source file of the user guide.
namespace
isc
{
namespace
dhcp
{
...
...
src/lib/dhcp/dhcp6.h
View file @
6a428885
...
...
@@ -15,6 +15,13 @@
#ifndef DHCP6_H
#define DHCP6_H
/// @note Not yet implemented but assigned by IANA code points are
/// left in a comment.
/// To implement a standard option, remove the comment,
/// add an entry in std_option_defs.h, stdOptionDefs6 unit test
/// in tests/libdhcp++_unittest.cc and dhcp6-std-options-list in
/// the dhcp6-srv.xml source file of the user guide.
/* DHCPv6 Option codes: */
#define D6O_CLIENTID 1
/* RFC3315 */
...
...
@@ -122,6 +129,8 @@
//#define D6O_LQ_END_TIME 102
/* 103-142 unassigned */
//#define D6O_IPV6_ADDRESS_ANDSF 143 /* RFC6153 */
// EXPERIMENTAL
/* secure DHCPv6 (draft-ietf-dhc-sedhcpv6-08) */
/* temporary values for hackathon 93 */
#define D6O_PUBLIC_KEY 701
...
...
@@ -149,6 +158,8 @@
//#define STATUS_CatchUpComplete 13
//#define STATUS_NotSupported 14
//#define STATUS_TLSConnectionRefused 15
// EXPERIMENTAL
/* secure DHCPv6 (draft-ietf-dhc-sedhcpv6-08) */
/* temporary values for hackathon 93 */
#define STATUS_AlgorithmNotSupported 705
...
...
@@ -199,6 +210,7 @@ extern const int dhcpv6_type_name_max;
#define HWTYPE_ETHERNET 0x0001
#define HWTYPE_INFINIBAND 0x0020
// EXPERIMENTAL
// Secure DHCPv6 (draft-ietf-dhc-sedhcpv6-08.txt)
// (can't use an enum because HashAlgorithm name is already taken)
#define SHA_256 1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment