[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #10181] adedd initialization of custom data in pbuf
From: |
Max |
Subject: |
[lwip-devel] [patch #10181] adedd initialization of custom data in pbuf struct |
Date: |
Wed, 23 Feb 2022 11:40:32 -0500 (EST) |
URL:
<https://savannah.nongnu.org/patch/?10181>
Summary: adedd initialization of custom data in pbuf struct
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: mastupristi
Submitted on: Wed 23 Feb 2022 04:40:30 PM UTC
Category: pbufs
Priority: 7 - High
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
Implemented a way to initialize custom data in pbuf structure.
for example in the file lwipopts.h
#define LWIP_PBUF_CUSTOM_DATA \
bool rxTimestamp_valid; \
uint32_t rxTimestamp; \
bool txRequestToTimestamp;
#define LWIP_PBUF_INIT_CUSTOM_DATA(p) \
(p)->rxTimestamp_valid = false; \
(p)->rxTimestamp = 0; \
(p)->txRequestToTimestamp = false;
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 23 Feb 2022 04:40:30 PM UTC Name: patch1.patch Size: 933B By:
mastupristi
<http://savannah.nongnu.org/patch/download.php?file_id=52913>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?10181>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [patch #10181] adedd initialization of custom data in pbuf struct,
Max <=