2.2.5.28 DhcpOptionType

The DhcpOptionType simple type is an enumeration that specifies the type of the DHCP option.

 <xs:simpleType name="DhcpOptionType">
   <xs:restriction base="xsd:string">
     <xs:enumeration value="None" />
     <xs:enumeration value="Byte" />
     <xs:enumeration value="Word" />
     <xs:enumeration value="DWord" />
     <xs:enumeration value="DWordDWord" />
     <xs:enumeration value="Encapsulated" />
     <xs:enumeration value="String" />
     <xs:enumeration value="IPAddress" />
     <xs:enumeration value="BinaryData" />
     <xs:enumeration value="IPv6Address" />
   </xs:restriction>
 </xs:simpleType>

The following table specifies the valid values for this type.

Value

Description

None

Unspecified or an invalid value.

Byte

The option value is a byte (8-bit) unsigned value.

Word

The option value is a 2-byte unsigned value.

DWord

The option value is a 4-byte unsigned value.

DWordDWord

The option value is an 8-byte unsigned value.

Encapsulated

The option value is encapsulated and stored as a variable length Binary large object (BLOB).

String

The option value is a null-terminated Unicode string.

IPAddress

The option value is an IPv4 address represented as a 4-byte value.

BinaryData

The option value is stored as a variable length binary BLOB.

IPv6Address

The option value is an IPv6 address represented as a null-terminated Unicode string.