NetNDP_CfgSolicitMaxNbr

Configure one of the NDP neighbor maximum solicitations number. There is three different types of NDP Solicitation message : NET_NDP_SOLICIT_MULTICAST, NET_NDP_SOLICIT_UNICAST, NET_NDP_SOLICIT_DAD

NET_NDP_SOLICIT_MULTICAST is used when NDP solicitations are send to a solicited-node multicast IPv6 address.
NET_NDP_SOLICIT_UNICAST is used when NDP solicitations are send to a specific host IPv6 unicast address.
NET_NDP_SOLICIT_DAD is used when NDP solicitations are send as a part of the Duplication Address Detection process. 

Files

net_ndp.h/net_ndp.c

Prototype

          CPU_BOOLEAN NetNDP_CfgSolicitMaxNbr(NET_NDP_SOLICIT  solicit_type,
										      CPU_INT08U       max_nbr);

Arguments

solicit_type

NDP solicitation type:
NET_NDP_SOLICIT_MULTICAST
NET_NDP_SOLICIT_UNICAST
NET_NDP_SOLICIT_DAD

max_nbr

Desired value for NDP timeout (in seconds).

Returned Value

DEF_OK,

NDP neighbor maximum Solicitation number successfully configured;

DEF_FAIL,

otherwise.

Required Configuration

Available only if IPv6 is enabled, see IPv6 Layer Configuration

Available only if an appropriate network interface layer is present (e.g., Ethernet; see section Network Interfaces Configuration).

Notes / Warnings

None.