Hello,
I would like some feedback on the attached patch (against etharp.c
1.165, etharp.h 1.46) 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
_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel