NetARP_CfgCacheTimeout

Configure ARP cache timeout for ARP Cache List. ARP cache entries will be retired if they are not used within the specified timeout.

Files

net_arp.h/net_arp.c

Prototype

 CPU_BOOLEAN NetARP_CfgCacheTimeout(CPU_INT16U timeout_sec);

Arguments

timeout_sec

Desired value for ARP cache timeout (in seconds)

Returned Value

DEF_OK,

ARP cache timeout successfully configured;

DEF_FAIL,

otherwise.

Required Configuration

Available only if IPv4 is enabled, see IPv4 Layer Configuration

Notes / Warnings

None.