mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-18 22:26:41 +08:00
etharp.c: Make MAX_AGE of an ARP entry configurable
This commit is contained in:
@@ -451,6 +451,14 @@
|
||||
#define ARP_TABLE_SIZE 10
|
||||
#endif
|
||||
|
||||
/** the time an ARP entry stays valid after its last update,
|
||||
* for ARP_TMR_INTERVAL = 1000, this is
|
||||
* (60 * 5) seconds = 5 minutes.
|
||||
*/
|
||||
#ifndef ARP_MAXAGE
|
||||
#define ARP_MAXAGE 300
|
||||
#endif
|
||||
|
||||
/**
|
||||
* ARP_QUEUEING==1: Multiple outgoing packets are queued during hardware address
|
||||
* resolution. By default, only the most recent packet is queued per IP address.
|
||||
|
||||
Reference in New Issue
Block a user