Partager via


2.2.1.2.159 DHCPV6R_IF_CONFIG

The DHCPV6R_IF_CONFIG structure is an MIB entry and describes the per-interface configuration. This structure is used in DHCPV6R_MIB_GET_INPUT_DATA (section 2.2.1.2.160) and DHCPV6R_MIB_GET_OUTPUT_DATA (section 2.2.1.2.156) structures.  

 typedef struct _DHCPV6R_IF_CONFIG {
   DWORD IC_State;
   DWORD IC_RelayMode;
   DWORD IC_MaxHopCount;
   DWORD IC_MinElapsedTime;
 } DHCPV6R_IF_CONFIG,
  *PDHCPV6R_IF_CONFIG;

IC_State: Contains the status of the DHCPV6 relay. This member is read-only and MUST be a combination of one or more of the following values.

Value

Meaning

DHCPV6R_STATE_ENABLED

0x00000001

The interface is enabled

DHCPV6R_STATE_BOUND

0x00000002

The socket is bound and can listen to the DHCPv6 relay agent packets [RFC3315].

IC_RelayMode: Contains the DHCPV6 relay mode status. It MUST be one of the following values.

Value

Meaning

DHCPV6R_RELAY_DISABLED

0x00000000

The relay is configured.

DHCPV6R_RELAY_ENABLED

0x00000001

The relay is not configured.

IC_MaxHopCount: The maximum number of DHCPv6 relay agents that will handle the DHCPv6 relayed traffic. It MUST be less than 33.

IC_MinElapsedTime: The number of seconds the relay agent waits before forwarding the DHCPv6 messages.