[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9891] netconn: provide optional upper-layer context
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #9891] netconn: provide optional upper-layer context field |
Date: |
Thu, 20 Feb 2020 15:08:49 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36 |
Update of patch #9891 (project lwip):
Status: None => Works For Me
Assigned to: None => goldsimon
Open/Closed: Open => Closed
_______________________________________________________
Follow-up 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.
For non-socket netconns, just use
netconn_set_callback_arg()/netconn_get_callback_arg() to set/get your
context.
Closing as "works for me".
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?9891>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/