2.2.1.2.150 IPBOOTP_IF_CONFIG

The IPBOOTP_IF_CONFIG structure is used to set or retrieve the per-interface configuration. This is used in the following methods:

All IP address are in network order.

 typedef struct _IPBOOTP_IF_CONFIG {
   DWORD IC_State;
   DWORD IC_RelayMode;
   DWORD IC_MaxHopCount;
   DWORD IC_MinSecondsSinceBoot;
 } IPBOOTP_IF_CONFIG,
  *PIPBOOTP_IF_CONFIG;

IC_State: Contains the status of the IPBOOTP. This member is read only.

Value

Meaning

IPBOOTP_STATE_ENABLED

0x00000001

The interface is enabled.

IPBOOTP_STATE_BOUND

0x00000002

The socket is bound and can listen to the IP BOOTP packets [RFC1542].

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

Value

Meaning

IPBOOTP_RELAY_DISABLED

0x00000000

The relay is configured.

IPBOOTP_RELAY_ENABLED

0x00000001

The relay is not configured.

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

IC_MinSecondsSinceBoot: The number of seconds the relay agent waits before forwarding the DHCP messages; no validation is done while setting this value.