buglwIP - A Lightweight TCP/IP stack - Bugs: bug #60681, No way to initialize...

 
 

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

bug #60681: No way to initialize LWIP_PBUF_CUSTOM_DATA

Submitter:  Thomas Kindler <thomask77>
Submitted:  Fri 28 May 2021 08:24:04 AM UTC
   
 
Category:  pbufs Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  2.2.1
lwIP version:  git head

Thu 12 Oct 2023 06:30:28 PM UTC, comment #2: 

Fixed by applying patch #10072

Simon Goldschmidt <goldsimon>
Group administrator
Fri 28 May 2021 08:41:00 AM UTC, comment #1: 
Thomas Kindler <thomask77>
Fri 28 May 2021 08:24:04 AM UTC, original submission:  

Hi!

I'm using Dirk Ziegelmeier's commit 92a18b (Bug #55078) for adding PTP timestamps:

lwipopts.h:

#define LWIP_PBUF_CUSTOM_DATA       \
    u8_t   timestamp_flags;         \
    struct timespec timestamp;

Unfortunately, there's no official way to initialize the new fields. pbuf_init_alloced_pbuf() function only initializes the old members, but leaves my own fields uninitialized.


Thomas Kindler <thomask77>

 

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

No files currently attached

 

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 thomask77 (Submitted the item)
  • -email is unavailable- added by thomask77
  • -email is unavailable- added by thomask77
  •  

    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
    2023-10-12 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.2.1
    2021-05-28 thomask77 Carbon-Copy- Added drizzi
        Carbon-Copy- Added dziegel

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code