patchlwIP - A Lightweight TCP/IP stack - Patches: patch #7873, Patch to allow packets that...

 
 

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

patch #7873: Patch to allow packets that require headers before the ethernet header.

Submitter:  Evan Hunter <ehunter>
Submitted:  Wed 24 Oct 2012 01:07:33 AM UTC
   
 
Category:  ARP Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Fri 13 Feb 2015 08:43:34 PM UTC, comment #3: 

OK, got it. PBUF_RAW does not allocate any offset.

I've added PBUF_RAW_TX now that adds PBUF_LINK_ENCAPSULATION_HLEN bytes for additional headers (defined in opt.h, defaults to 0).

Simon Goldschmidt <goldsimon>
Group administrator
Thu 20 Feb 2014 03:12:42 PM UTC, comment #2: 

Any input on this?

Simon Goldschmidt <goldsimon>
Group administrator
Thu 16 Jan 2014 08:02:00 PM UTC, comment #1: 

Why is the additional space only added in etharp functions? I would have expected to solve this via an additional offset in pbuf_alloc()'s offset calculation...

Simon Goldschmidt <goldsimon>
Group administrator
Wed 24 Oct 2012 01:07:33 AM UTC, original submission:  

Attached is a patch that allows LwIP etharp.c to work with systems that require headers that come before the ethernet header.
This is the case for our 802.11 driver.

Regards,

Evan Hunter

Evan Hunter <ehunter>

 

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

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Updated the item)
  • -email is unavailable- added by ehunter (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-13 goldsimon StatusNeed Info Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2014-01-16 goldsimon StatusNone Need Info
    2013-01-15 goldsimon CategoryNone ARP
    2012-10-24 ehunter Attached File- Added 0001-Allow-packets-that-require-headers-before-the-ethern.patch, #26819

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code