Jump to main content

##

# TCPIP_DHCPS_CONFIG_FLAGS Enumeration

## C

    typedef enum {
    TCPIP_DHCPS_CONFIG_FLAG_NONE = 0,
    TCPIP_DHCPS_CONFIG_FLAG_DISABLED = 0x0001,
    TCPIP_DHCPS_CONFIG_FLAG_DELETE_OLD = 0x0002,
    TCPIP_DHCPS_CONFIG_FLAG_NO_CONFLICT_DETECT = 0x0004,
    TCPIP_DHCPS_CONFIG_FLAG_NO_LEASE_EXTEND = 0x0008,
    TCPIP_DHCPS_CONFIG_FLAG_KEEP_UNREQ_OFFERS = 0x0010,
    TCPIP_DHCPS_CONFIG_FLAG_ABORT_IF_PROBE_FAILED = 0x0020,
    }TCPIP_DHCPS_CONFIG_FLAGS;

## Description

Enumeration: TCPIP_DHCPS_CONFIG_FLAGS

DHCP server configuration flags for a specific interface.

## Remarks

Only 16 bits are used for the flags implementation.

## Members

Members | Description
--- | ---
TCPIP_DHCPS_CONFIG_FLAG_NONE | No flag set
TCPIP_DHCPS_CONFIG_FLAG_DISABLED | DHCP server should start disabled on this interface.
| Note: this setting is currently not used and overridden by the TCPIP_NETWORK_CONFIG:: startFlags.TCPIP_NETWORK_CONFIG_DHCP_SERVER_ON
TCPIP_DHCPS_CONFIG_FLAG_DELETE_OLD | DHCP server should delete the existent info for leases when the interface is restarted
TCPIP_DHCPS_CONFIG_FLAG_NO_CONFLICT_DETECT | Disable DHCP server conflict detection of newly allocated addresses.
| By default the server should send an ICMP echo request when using a new IP address
TCPIP_DHCPS_CONFIG_FLAG_NO_LEASE_EXTEND | Disable DHCP clients request for extending the lease.
| By default the server grants lease extension to the clients.
TCPIP_DHCPS_CONFIG_FLAG_KEEP_UNREQ_OFFERS | Keep DB info for offers that have not been requested by the client.
| i.e. when client selected another server (multi-server environment)
| By default the info for these clients is deleted to free some space in the DB
TCPIP_DHCPS_CONFIG_FLAG_ABORT_IF_PROBE_FAILED | When DHCP server conflict detection is enabled, if sending echo requests failed(ICMP module rejected the calls, TCPIP_DHCPS_EVENT_ECHO_FAIL event)
| abort offering the lease to the client
| By default the server will send the offer to the client