lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #55078] Add custom data to pbuf struct


From: Davide Rizzi
Subject: [lwip-devel] [bug #55078] Add custom data to pbuf struct
Date: Fri, 23 Nov 2018 10:49:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.nongnu.org/bugs/?55078>

                 Summary: Add custom data to pbuf struct
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: drizzi
            Submitted on: Fri 23 Nov 2018 03:49:34 PM UTC
                Category: pbufs
                Severity: 3 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.1.1

    _______________________________________________________

Details:

It can be necessary, or otherwise handy, to add custom data to pbuf struct
(e.g.: timestamps for PTP).

I propose to add LWIP_PBUF_CUSTOM_DATA at the end of struct pbuf, and defining
it empty in opt.h. The user can then define it in lwipopts.h to whatever it
wants.






    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?55078>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]