From 12bb78a4259b667f4e027f1515dfc383f6a17973 Mon Sep 17 00:00:00 2001 From: likewise Date: Tue, 22 Apr 2003 15:09:56 +0000 Subject: [PATCH] Either first or last packet can be queued through ARP_QUEUE_FIRST option. --- src/include/lwip/opt.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index b34c1fcd..b9257bca 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -159,6 +159,13 @@ a lot of data that needs to be copied, this should be set high. */ #ifndef ARP_QUEUEING #define ARP_QUEUEING 1 #endif +/** If enabled, the first packet queued will not be overwritten by + * later packets. If disabled, later packets overwrite early packets + * in the queue. Default is disabled, which is recommended. + */ +#ifndef ARP_QUEUE_FIRST +#define ARP_QUEUE_FIRST 0 +#endif /** * If defined to 1, cache entries are updated or added for every kind of ARP traffic * or broadcast IP traffic. Recommended for routers.