NetIPv6_CfgAddrHookSet

Description

Set IPv6 Address Static Configuration hook function. This hook function will be called each time an IPv6 Address Static Configuration process ends if the configuration process was non-blocking.

Files

net_ipv6.h/net_ipv6.c

Prototype


          void  NetIPv6_CfgAddrHookSet(NET_IF_NBR                 if_nbr,
                                       NET_IPv6_ADDR_HOOK_FNCT    fnct,
                                       NET_ERR                   *p_err);

Arguments

if_nbr

Interface number to configure.

fnct

Pointer to hook function. 

p_err

Pointer to variable that will receive the error code from this function:

NET_IPv6_ERR_NONE
NET_INIT_ERR_NOT_COMPLETED

NET_IF_ERR_INVALID_IF
NET_ERR_FAULT_LOCK_ACQUIRE

Returned Value

None.

Required Configuration

None.

Notes / Warnings

None.