[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9891] netconn: provide optional upper-layer context
From: |
Martine Lenders |
Subject: |
[lwip-devel] [patch #9891] netconn: provide optional upper-layer context field |
Date: |
Thu, 20 Feb 2020 12:29:36 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0 |
URL:
<https://savannah.nongnu.org/patch/?9891>
Summary: netconn: provide optional upper-layer context field
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: authmillenon
Submitted on: Thu 20 Feb 2020 05:29:34 PM UTC
Category: sockets/netconn
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
In RIOT <https://github.com/RIOT-OS/RIOT> we need a way to get the surrounding
type of a netconn object from within the netconn callback. This provides such
a pointer in an optional way (using the `LWIP_NETCONN_CONTEXT` option macro).
This is similar how sockets use the `socket` field, but as a pointer, not
numerical.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 20 Feb 2020 05:29:34 PM UTC Name:
0001-netconn-provide-optional-upper-layer-context-field.patch Size: 1KiB
By: authmillenon
<http://savannah.nongnu.org/patch/download.php?file_id=48456>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?9891>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [patch #9891] netconn: provide optional upper-layer context field,
Martine Lenders <=