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

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

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


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:  


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


#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.)

Attach Files:

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 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.

    Only logged-in users can vote.





    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-28 thomask77 Carbon-Copy- => Added drizzi
        Carbon-Copy- => Added dziegel

    Back to the top

    Powered by Savane 3.9