TCPIP_DHCPS_EVENT_HANDLER Type

C

typedef void    (*TCPIP_DHCPS_EVENT_HANDLER)(TCPIP_NET_HANDLE hNet, TCPIP_DHCPS_EVENT_TYPE evType, uint32_t evInfo1, uint32_t evInfo2, const void* param);

Description

DHCP event handler prototype.

Prototype of a DHCP server event handler. Clients can register a handler with the DHCP service.

Once an DHCP event occurs the DHCP service will called the registered handler.

Remarks

The handler has to be short and fast. It is meant for setting an event flag, not for lengthy processing!

Parameters

ParametersDescription
hNetInterface handle on which the event has occurred
evTypethe type of event that has occurred
evInfo1additional info associated with the event
See the TCPIP_DHCPS_EVENT_TYPE definition
evInfo2additional info associated with the event
See the TCPIP_DHCPS_EVENT_TYPE definition
hParamuser supplied handle parameter
Not used by the DHCP module.