55 |
# include "lwip/dhcp.h" |
# include "lwip/dhcp.h" |
56 |
#endif |
#endif |
57 |
|
|
58 |
/** the time an ARP entry stays valid after its last update, (120 * 10) seconds = 20 minutes. */ |
/** the time an ARP entry stays valid after its last update, |
59 |
#define ARP_MAXAGE 120 |
* (240 * 5) seconds = 20 minutes. |
60 |
/** the time an ARP entry stays pending after first request, (1 * 10) seconds = 10 seconds. */ |
*/ |
61 |
#define ARP_MAXPENDING 1 |
#define ARP_MAXAGE 240 |
62 |
|
/** the time an ARP entry stays pending after first request, |
63 |
|
* (2 * 5) seconds = 10 seconds. |
64 |
|
* |
65 |
|
* @internal Keep this number at least 2, otherwise it might |
66 |
|
* run out instantly if the timeout occurs directly after a request. |
67 |
|
*/ |
68 |
|
#define ARP_MAXPENDING 2 |
69 |
|
|
70 |
#define HWTYPE_ETHERNET 1 |
#define HWTYPE_ETHERNET 1 |
71 |
|
|