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

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>

 

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
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

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