TCPIP_DHCPS_EVENT_TYPE Enumeration
C
typedef enum
{
TCPIP_DHCPS_EVENT_NONE = 0,
TCPIP_DHCPS_EVENT_ECHO_PROBE_SENT,
TCPIP_DHCPS_EVENT_DISCOVER,
TCPIP_DHCPS_EVENT_REQUEST_OFFERRED,
TCPIP_DHCPS_EVENT_REQUEST_RENEW,
TCPIP_DHCPS_EVENT_REQUEST_REBIND,
TCPIP_DHCPS_EVENT_REQUEST_EXPIRED,
TCPIP_DHCPS_EVENT_OTHER_SELECT,
TCPIP_DHCPS_EVENT_INFORM,
TCPIP_DHCPS_EVENT_PROCESS_LOCK = -1,
TCPIP_DHCPS_EVENT_TICK_LOCK = -2,
TCPIP_DHCPS_EVENT_MSG_OVERFLOW = -3,
TCPIP_DHCPS_EVENT_MSG_UNDERFLOW = -4,
TCPIP_DHCPS_EVENT_IF_DISABLED = -5,
TCPIP_DHCPS_EVENT_IF_ERROR = -6,
TCPIP_DHCPS_EVENT_MSG_FORMAT_ERROR = -7,
TCPIP_DHCPS_EVENT_POOL_EMPTY = -8,
TCPIP_DHCPS_EVENT_CACHE_FULL = -9,
TCPIP_DHCPS_EVENT_ECHO_PROBE_FAIL = -10,
TCPIP_DHCPS_EVENT_ECHO_FAIL = -11,
TCPIP_DHCPS_EVENT_REPROBE_FAIL = -12,
TCPIP_DHCPS_EVENT_ARP_FAIL = -13,
TCPIP_DHCPS_EVENT_REQ_ADDRESS_ERROR = -14,
TCPIP_DHCPS_EVENT_REQ_UNKNOWN = -15,
TCPIP_DHCPS_EVENT_REQ_FORMAT_ERROR = -16,
TCPIP_DHCPS_EVENT_INFO_FORMAT_ERROR = -17,
TCPIP_DHCPS_EVENT_REQ_UNEXPECT = -18,
TCPIP_DHCPS_EVENT_DECLINED = -19,
TCPIP_DHCPS_EVENT_INFORM_INVALID = -20,
} TCPIP_DHCPS_EVENT_TYPE;
Description
DHCP Event Type
A DHCP Server reported event
Members
| Members | Description |
|---|---|
| TCPIP_DHCPS_EVENT_NONE | DHCP no event |
| client lease events > 0 | |
| TCPIP_DHCPS_EVENT_ECHO_PROBE_SENT, | sent an ICMP probe |
| evInfo1: probe count | |
| evInfo2: IP address (uint32_t, network order) trying to ping | |
| TCPIP_DHCPS_EVENT_DISCOVER, | DHCP discovery received |
| evInfo1: IP address that server assigned to the client | |
| evInfo2: current time at which the discovery occurred | |
| TCPIP_DHCPS_EVENT_REQUEST_OFFERRED, | lease ACK for offer request |
| evInfo1: IP address that server assigned to the client | |
| evInfo2: current time at which the request occurred | |
| TCPIP_DHCPS_EVENT_REQUEST_RENEW, | lease ACK sent for renew request |
| evInfo1: IP address that server had for the client | |
| evInfo2: current time at which the renew occurred | |
| TCPIP_DHCPS_EVENT_REQUEST_REBIND, | lease ACK sent for rebind request |
| evInfo1: IP address that server had for the client | |
| evInfo2: current time at which the rebind occurred | |
| TCPIP_DHCPS_EVENT_REQUEST_EXPIRED, | lease ACK sent for an expired request |
| evInfo1: IP address that server had for the client | |
| evInfo2: current time at which the request occurred | |
| TCPIP_DHCPS_EVENT_OTHER_SELECT, | DHCP client selected a different server |
| evInfo1: IP address that server had | |
| evInfo2: IP address requested by client | |
| TCPIP_DHCPS_EVENT_INFORM, | DHCPINFORM from a client, with an IP address already assigned |
| evInfo1: inform IP address of the client | |
| evInfo2: current time at which the inform occurred | |
| error events < 0 | |
| TCPIP_DHCPS_EVENT_PROCESS_LOCK | DHCP message processing postponed as the DB access was locked |
| evInfo1: index of the interface | |
| evInfo2: IP address (uint32_t, network order) of the client that sent the message | |
| TCPIP_DHCPS_EVENT_TICK_LOCK | DHCP timeout processing postponed as the DB access was locked |
| evInfo1: time (DHCPs second) when this occurred | |
| evInfo2: 0 | |
| TCPIP_DHCPS_EVENT_MSG_OVERFLOW | DHCP message received is > than the internally allocated buffer |
| evInfo1: sizeof the received message | |
| evInfo2: IP address (uint32_t, network order) of the client that sent the message | |
| TCPIP_DHCPS_EVENT_MSG_UNDERFLOW | DHCP message received is < than the minimum DHCP valid message |
| evInfo1: sizeof the received message | |
| evInfo2: IP address (uint32_t, network order) of the client that sent the message | |
| TCPIP_DHCPS_EVENT_IF_DISABLED | DHCP message received on an interface that has DHCP server disabled |
| evInfo1: index of the interface | |
| evInfo2: IP address (uint32_t, network order) of the client that sent the message | |
| TCPIP_DHCPS_EVENT_IF_ERROR | DHCP message received on an interface that the DHCP server has not mapped internally |
| This should not normally happen | |
| evInfo1: index of the interface | |
| evInfo2: IP address (uint32_t, network order) of the client that sent the message | |
| TCPIP_DHCPS_EVENT_MSG_FORMAT_ERROR | DHCP message received is badly formatted: |
| operation ! | |
| evInfo1: index of the interface | |
| evInfo2: IP address (uint32_t, network order) of the client that sent the message | |
| TCPIP_DHCPS_EVENT_POOL_EMPTY | DHCP pool was empty, cannot allocate a new lease |
| evInfo1: none | |
| evInfo2: none | |
| TCPIP_DHCPS_EVENT_CACHE_FULL | DHCP cache for the interface was full, cannot store a new lease |
| evInfo1: number of cache entries that are reported as full (size of the cache) | |
| evInfo2: none | |
| TCPIP_DHCPS_EVENT_ECHO_PROBE_FAIL | Attempt to send an ICMP probe failed: ICMP module rejected the call |
| evInfo1: probe count | |
| evInfo2: IP address (uint32_t, network order) trying to ping | |
| TCPIP_DHCPS_EVENT_ECHO_FAIL | ICMP probes failed completely; probes aborted |
| evInfo1: ICMP retries attempted | |
| evInfo2: IP address (uint32_t, network order) trying to ping | |
| TCPIP_DHCPS_EVENT_REPROBE_FAIL | ICMP reprobes failed completely; probes aborted |
| evInfo1: ICMP reprobes attempted | |
| evInfo2: IP address (uint32_t, network order) trying to ping | |
| TCPIP_DHCPS_EVENT_ARP_FAIL | attempt to inject to ARP cache failed |
| evInfo1: ARP reply | |
| evInfo2: IP address (uint32_t, network order) trying to inject | |
| TCPIP_DHCPS_EVENT_REQ_ADDRESS_ERROR | DHCPREQUEST from client with wrong requested IP address |
| evInfo1: IP address that server had | |
| evInfo2: IP address requested by client | |
| TCPIP_DHCPS_EVENT_REQ_UNKNOWN | DHCPREQUEST from an unknown client, no entry in the DB for it |
| evInfo1: IP address requested by client if it exists | |
| evInfo2: time at which the event occurres | |
| TCPIP_DHCPS_EVENT_REQ_FORMAT_ERROR | DHCPREQUEST from client with wrong format |
| evInfo1: IP address that server has for or requested by this client | |
| evInfo2: a TCPIP_DHCPS_REQ_FORMAT_ERR_MASK value | |
| TCPIP_DHCPS_EVENT_INFO_FORMAT_ERROR | DHCPINFORM from client with wrong format |
| evInfo1: IP address of the client | |
| evInfo2: a TCPIP_DHCPS_REQ_FORMAT_ERR_MASK value | |
| TCPIP_DHCPS_EVENT_REQ_UNEXPECT | unexpected DHCPREQUEST received a client. ignored |
| evInfo1: IP address that server has for this client | |
| evInfo2: the current TCPIP_DHCPS_LEASE_STATE for this lease | |
| TCPIP_DHCPS_EVENT_DECLINED | client issues a DHCPDECLINE; address was in use |
| evInfo1: IP address that was declined | |
| evInfo2: time at which the event occurres | |
| TCPIP_DHCPS_EVENT_INFORM_INVALID | DHCPINFORM from a client, with an IP address not in our network |
| evInfo1: inform IP address of the client | |
| evInfo2: time at which the event occurres |
