[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #60681] No way to initialize LWIP_PBUF_CUSTOM_DATA
From: |
Thomas Kindler |
Subject: |
[lwip-devel] [bug #60681] No way to initialize LWIP_PBUF_CUSTOM_DATA |
Date: |
Fri, 28 May 2021 04:24:06 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 |
URL:
<https://savannah.nongnu.org/bugs/?60681>
Summary: No way to initialize LWIP_PBUF_CUSTOM_DATA
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: 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
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?60681>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #60681] No way to initialize LWIP_PBUF_CUSTOM_DATA,
Thomas Kindler <=