Replace old neighbors according to an LRU policy when a new neighbor needs to be added

This commit is contained in:
adamdunkels 2010-10-25 11:58:07 +00:00
parent 5d8636d1f8
commit 3bbd6a00a9
2 changed files with 30 additions and 0 deletions

View file

@ -162,6 +162,7 @@ typedef struct uip_ds6_nbr {
struct stimer reachable;
struct stimer sendns;
uint8_t nscount;
clock_time_t last_lookup;
#if UIP_CONF_IPV6_QUEUE_PKT
uint8_t queue_buf[UIP_BUFSIZE - UIP_LLH_LEN];
uint8_t queue_buf_len;