1.2.1.6.6 TCPIP_DHCPV6_EVENT_HANDLER Type

C

typedef void (* TCPIP_DHCPV6_EVENT_HANDLER)(TCPIP_NET_HANDLE hNet, TCPIP_DHCPV6_CLIENT_STATE clientState, const TCPIP_DHCPV6_IA_EVENT* pDhcpIaEv, const void* param);

Description

DHCPv6 reported event structure:

Type: TCPIP_DHCPV6_EVENT_HANDLER.

Prototype of a DHCP event handler. Clients can register a handler with the DHCP service. Once an DHCP event occurs the DHCP service will called the registered handler. The handler has to be short and fast. It is meant for setting an event flag, not for lengthy processing.

if pDhcpIaEvent == 0, no info is carried for a specific IA if pDhcpIaEvent != 0, the info carried by this pointer is not persistent and is valid only within the context of this event handler.