NetNDP_CfgReachabilityTimeout

Configure one of the NDP neighbor timeouts associated with the Neighbors Unreachability Detection. 

Files

net_ndp.h/net_ndp.c

Prototype

          CPU_BOOLEAN NetNDP_CfgReachabilityTimeout(NET_NDP_TIMEOUT  timeout_type,
												    CPU_INT16U       timeout_sec);

Arguments

timeout_type

NDP timeout type:
NET_NDP_TIMEOUT_REACHABLE
NET_NDP_TIMEOUT_DELAY
NET_NDP_TIMEOUT_SOLICIT

timeout_sec

Desired value for NDP timeout (in seconds).

Returned Value

DEF_OK,

NDP neighbor cache timeout 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.