Class: DhcpsApi::DHCP_OPTION_DATA_TYPE

Inherits:
Object
  • Object
show all
Defined in:
lib/dhcpsapi/enums.rb

Overview

typedef enum _DHCP_OPTION_DATA_TYPE {

  DhcpByteOption,
  DhcpWordOption,
  DhcpDWordOption,
  DhcpDWordDWordOption,
  DhcpIpAddressOption,
  DhcpStringDataOption,
  DhcpBinaryDataOption,
  DhcpEncapsulatedDataOption,
  DhcpIpv6AddressOption
} DHCP_OPTION_DATA_TYPE, *LPDHCP_OPTION_DATA_TYPE;

Constant Summary collapse

DhcpByteOption =
0
DhcpWordOption =
1
DhcpDWordOption =
2
DhcpDWordDWordOption =

The option data is stored as a DWORD_DWORD value.

3
DhcpIpAddressOption =

The option data is an IP address, stored as a DHCP_IP_ADDRESS value (DWORD).

4
DhcpStringDataOption =

The option data is stored as a Unicode string.

5
DhcpBinaryDataOption =

The option data is stored as a DHCP_BINARY_DATA structure.

6
DhcpEncapsulatedDataOption =

The option data is encapsulated and stored as a DHCP_BINARY_DATA structure.

7
DhcpIpv6AddressOption =

The option data is stored as a Unicode string.

8