lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #7113] Support for static ARP entries


From: Marcus Bäckman
Subject: [lwip-devel] [patch #7113] Support for static ARP entries
Date: Sun, 07 Mar 2010 09:22:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100207 Namoroka/3.6

URL:
  <http://savannah.nongnu.org/patch/?7113>

                 Summary: Support for static ARP entries
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: pukm
            Submitted on: Sun 07 Mar 2010 09:22:34 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Hello, 

This patch (against etharp.c 1.165 and etharp.h 1.46) 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
(LOCKED=LOCKED_STABLE):

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


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

--
Regards,
Marcus 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 07 Mar 2010 09:22:35 AM GMT  Name: etharp.zip  Size: 1kB   By: pukm

<http://savannah.nongnu.org/patch/download.php?file_id=19870>
-------------------------------------------------------
Date: Sun 07 Mar 2010 09:22:34 AM GMT  Name: etharp.diff  Size: 16kB   By:
pukm

<http://savannah.nongnu.org/patch/download.php?file_id=19869>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7113>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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