lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] Adding support for static ARP entries


From: Marcus Bäckman
Subject: [lwip-devel] Adding support for static ARP entries
Date: Sat, 6 Mar 2010 12:04:18 +0100

Hello,

I would like some feedback on the attached patch (against cvs head) which adds support for static ARP entries.

Summary of changes:
- update_arp_entry() is now public by the name etharp_update_arp_entry()

- added flag ETHARP_LOCK_ENTRY which controls whether an entry should be locked and/or updated.

- The update policy for ARP entries has been changed according to:

  New state / update?                                         flags
                                                                                          ETHARP_LOCK_ENTRY
  Current state
  EMPTY                          STABLE / update                         LOCKED_STABLE / update
  PENDING                       STABLE / update                         LOCKED_STABLE / update
  STABLE                         STABLE / update                         LOCKED_STABLE / update
  LOCKED_STABLE          LOCKED_STABLE / no update     LOCKED_STABLE / update


I'm also attaching a log which demonstrates the behaviour (max ARP entries is set to 10).

Regards,
Marcus

Attachment: etharp.diff
Description: Binary data

Attachment: etharp.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]