[Top][All Lists]

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

[lwip-devel] [bug #56593] Add callback object storage to struct netconn

From: Wilfred
Subject: [lwip-devel] [bug #56593] Add callback object storage to struct netconn
Date: Mon, 8 Jul 2019 16:32:23 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36


                 Summary: Add callback object storage to struct netconn
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: will
            Submitted on: Mon 08 Jul 2019 08:32:22 PM UTC
                Category: TCP
                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



Please add "void* callbackData;" to struct netconn

I use the Netconn callback API for my application and for each new lwIP
version I have added the following to the end of struct netconn, just after

  netconn_callback callback;
  void* callbackData; /* FIX needed for object storage */

I need my own object per connection and I need to store a reference to this
object in the netconn structure. I would otherwise not be able to reference my
own object when the netconn_callback triggers.

Thank you,


Reply to this item at:


  Message sent via Savannah

reply via email to

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