lwIP - A Lightweight TCP/IP stack - Patches: patch #9891, netconn: provide optional...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9891: netconn: provide optional upper-layer context field
Submitter: | Martine Lenders <authmillenon> | ||
Submitted: | Thu 20 Feb 2020 05:29:34 PM UTC | ||
Category: | sockets/netconn | Priority: | 3 - Low |
Status: | Works For Me | Privacy: | Public |
Assigned to: | goldsimon | Open/Closed: | Closed |
Planned Release: | None |
Thu 20 Feb 2020 08:14:07 PM UTC, comment #2: |
Martine Lenders <authmillenon> |
Thu 20 Feb 2020 08:08:49 PM UTC, comment #1: You don't need to add anything for this to work, just upgrade your sources to git master: since july last year, the 'int socket' member has been changed to a union that either stores an int or a pointer.
|
Simon Goldschmidt <goldsimon> |
Thu 20 Feb 2020 05:29:34 PM UTC, original submission:
In 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. |
Martine Lenders <authmillenon> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-02-20 | goldsimon | Status | None | Works For Me | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2020-02-20 | authmillenon | Attached File | - | Added 0001-netconn-provide-optional-upper-layer-context-field.patch, #48456 | |
Carbon-Copy | - | Added authmillenon |
Powered by Savane 3.13-bb6a.
Corresponding source code
Ah, thanks for the hint. We are still on v2.1.2. Will try that!