Configure one of the NDP neighbor timeouts associated with the Neighbors Unreachability Detection.
Files
net_ndp.h/net_ndp.c
Prototype
Code Block |
---|
CPU_BOOLEAN NetNDP_CfgReachabilityTimeout(NET_NDP_TIMEOUT timeout_type,
CPU_INT16U timeout_sec); |
Arguments
timeout_type
NDP timeout type:
NETNET_NDP_TIMEOUT_REACHABLE
NETNET_NDP_TIMEOUT_DELAY
NETNET_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
IPv6 module must be enabled for the NDP functions to be available.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.