NetIPv6_IsAddrsCfgdOnIF

Description

Validate if any IPv6 host addresses are configured on a specific interface.

Files

net_ipv6.h/net_ipv6.c

Prototype

          CPU_BOOLEAN NetIPv6_IsAddrsCfgdOnIF(NET_IF_NBR   if_nbr,
                                              NET_ERR     *p_err);

Arguments

if_nbr

Interface number on which to check for configured IPv6 host address(es).

p_err

Pointer to variable that will receive the return 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

DEF_YES, if any IPv6 host addresses are configured on interface.
DEF_NO, otherwise.

Required Configuration

None.

Notes / Warnings

None.