|
|
fad460 |
diff -up dhcp-4.2.5b1/common/dhcp-options.5.rfc5970 dhcp-4.2.5b1/common/dhcp-options.5
|
|
|
fad460 |
--- dhcp-4.2.5b1/common/dhcp-options.5.rfc5970 2012-12-17 13:43:44.000000000 +0100
|
|
|
fad460 |
+++ dhcp-4.2.5b1/common/dhcp-options.5 2012-12-17 13:45:18.777638579 +0100
|
|
|
fad460 |
@@ -1771,7 +1771,48 @@ The \fBlq-relay-data\fR option is used i
|
|
|
fad460 |
The \fBlq-client-link\fR option is used internally by for lease query.
|
|
|
fad460 |
.RE
|
|
|
fad460 |
.PP
|
|
|
fad460 |
+
|
|
|
fad460 |
+.B option
|
|
|
fad460 |
+.B dhcp6.bootfile-url
|
|
|
fad460 |
+.I string
|
|
|
fad460 |
+.B ;
|
|
|
fad460 |
+.RS 0.25i
|
|
|
fad460 |
+.PP
|
|
|
fad460 |
+The server sends this option to inform the client about a URL to a
|
|
|
fad460 |
+boot file. Used primarily for UEFI network booting, it contains an RFC3986
|
|
|
fad460 |
+compliant URI which the client may use to boot an operating system. This option
|
|
|
fad460 |
+is defined in RFC5970
|
|
|
fad460 |
.RE
|
|
|
fad460 |
+.PP
|
|
|
fad460 |
+
|
|
|
fad460 |
+.B option
|
|
|
fad460 |
+.B dhcp6.arch-type
|
|
|
fad460 |
+.I arch-id \fR[\fB,\fR arch-id\fR...]
|
|
|
fad460 |
+.B ;
|
|
|
fad460 |
+.RS 0.25i
|
|
|
fad460 |
+.PP
|
|
|
fad460 |
+A client will send this option to a server so that the server may make decisions
|
|
|
fad460 |
+on what options and addresses to offer the requesting client. The option
|
|
|
fad460 |
+consists of a list of 16 bit unsigned values that represent the architecture of
|
|
|
fad460 |
+the requesting client. These values corespond to the values available to the
|
|
|
fad460 |
+dhcpv4 option architecture-type, as defined in RFC4578, section 2.1.
|
|
|
fad460 |
+This option is defined in RFC5970
|
|
|
fad460 |
+ .RE
|
|
|
fad460 |
+.PP
|
|
|
fad460 |
+
|
|
|
fad460 |
+.B option
|
|
|
fad460 |
+.B dhcp6.net-id
|
|
|
fad460 |
+.I uint8 uint8 uint8
|
|
|
fad460 |
+.B ;
|
|
|
fad460 |
+.RS 0.25i
|
|
|
fad460 |
+.PP
|
|
|
fad460 |
+A client will send this option to a server to inform it about the clients level
|
|
|
fad460 |
+of UNDI support. The option consists of 3 octets (a type, major and minor
|
|
|
fad460 |
+value). Specific meanings of these values are doumented in section 2.2 of
|
|
|
fad460 |
+RFC4578.
|
|
|
fad460 |
+This option is defined in RFC5970
|
|
|
fad460 |
+.RE
|
|
|
fad460 |
+.PP
|
|
|
fad460 |
.SH DEFINING NEW OPTIONS
|
|
|
fad460 |
The Internet Systems Consortium DHCP client and server provide the
|
|
|
fad460 |
capability to define new options. Each DHCP option has a name, a
|
|
|
fad460 |
diff -up dhcp-4.2.5b1/common/tables.c.rfc5970 dhcp-4.2.5b1/common/tables.c
|
|
|
fad460 |
--- dhcp-4.2.5b1/common/tables.c.rfc5970 2012-12-17 13:43:44.204939024 +0100
|
|
|
fad460 |
+++ dhcp-4.2.5b1/common/tables.c 2012-12-17 13:43:44.286937948 +0100
|
|
|
fad460 |
@@ -463,6 +463,18 @@ static struct option dhcpv6_options[] =
|
|
|
fad460 |
{ "lq-relay-data", "6X", &dhcpv6_universe, 47, 1 },
|
|
|
fad460 |
{ "lq-client-link", "6A", &dhcpv6_universe, 48, 1 },
|
|
|
fad460 |
|
|
|
fad460 |
+ /* RFC5970 OPTIONS */
|
|
|
fad460 |
+
|
|
|
fad460 |
+ { "bootfile-url", "t", &dhcpv6_universe, 59, 1},
|
|
|
fad460 |
+#if 0
|
|
|
fad460 |
+ /* Can't implement this until arrays of strings with length "StA"
|
|
|
fad460 |
+ * are implemented
|
|
|
fad460 |
+ */
|
|
|
fad460 |
+ { "bootfile-param", "StA", &dhcpv6_universe, 60, 1},
|
|
|
fad460 |
+#endif
|
|
|
fad460 |
+ { "arch-type", "Sa", &dhcpv6_universe, 61, 1},
|
|
|
fad460 |
+ { "net-id", "BBB", &dhcpv6_universe, 62, 1},
|
|
|
fad460 |
+
|
|
|
fad460 |
{ NULL, NULL, NULL, 0, 0 }
|
|
|
fad460 |
};
|
|
|
fad460 |
|
|
|
fad460 |
diff -up dhcp-4.2.5b1/includes/dhcp6.h.rfc5970 dhcp-4.2.5b1/includes/dhcp6.h
|
|
|
fad460 |
--- dhcp-4.2.5b1/includes/dhcp6.h.rfc5970 2012-12-04 20:45:42.000000000 +0100
|
|
|
fad460 |
+++ dhcp-4.2.5b1/includes/dhcp6.h 2012-12-17 13:43:44.286937948 +0100
|
|
|
fad460 |
@@ -75,6 +75,11 @@
|
|
|
fad460 |
#define D6O_CLT_TIME 46 /* RFC5007 */
|
|
|
fad460 |
#define D6O_LQ_RELAY_DATA 47 /* RFC5007 */
|
|
|
fad460 |
#define D6O_LQ_CLIENT_LINK 48 /* RFC5007 */
|
|
|
fad460 |
+/* 49-58 Not yet assigned */
|
|
|
fad460 |
+#define D60_BOOT_URL 59 /* RFC5970 */
|
|
|
fad460 |
+#define D60_BOOT_PARAMS 60 /* RFC5970 */
|
|
|
fad460 |
+#define D60_CLIENT_ARCH 61 /* RFC5970 */
|
|
|
fad460 |
+#define D60_CLIENT_NII 62 /* RFC5970 */
|
|
|
fad460 |
|
|
|
fad460 |
/*
|
|
|
fad460 |
* Status Codes, from RFC 3315 section 24.4, and RFC 3633, 5007.
|