Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:
NET_NDP_TIMEOUT_REACHABLE
NET_NDP_TIMEOUT_DELAY
NET_NDP_TIMEOUT_SOLICIT

...

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.