patchlwIP - A Lightweight TCP/IP stack - Patches: patch #6721, Allow faster AutoIP fallback when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6721: Allow faster AutoIP fallback when LWIP_DHCP_AUTOIP_COOP is set

Submitter:  Jakob Stoklund Olesen <stoklund>
Submitted:  Tue 13 Jan 2009 04:00:09 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Tue 28 Apr 2009 07:31:21 PM UTC, comment #1: 

After having a look over the code (especially the usage of autoip_coop_state) and the RFC, I've decided the patch is correct, so I've checked it in (change the name of the options: should start with 'LWIP_')

Simon Goldschmidt <goldsimon>
Group administrator
Tue 13 Jan 2009 04:00:09 PM UTC, original submission:  

Patch is against STABLE-1_3_0

The new opt.h macro DHCP_AUTOIP_COOP_TRIES is the number of DHCP
requests to send before starting AutoIP. The default value of 9 causes same behaviour as before. A lower value allows an AutoIP address to be configured much faster when there is no DHCP server.

Address some bugs when DHCP gets an IP address after AutoIP has started.
This is more likely to happen when AutoIP is started quickly.

- Turn AutoIP off before binding the new DHCP address.
- Don't set ciaddr unless in BOUND, RENEWING, or REBINDING state as per RFC 2131.

Jakob Stoklund Olesen <stoklund>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #17253:  dhcp-autoip-fast-coop added by stoklund (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by stoklund (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-28 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2009-01-13 stoklund Attached File- Added dhcp-autoip-fast-coop, #17253

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code