[patch #9987] Make tcp_listen() inherit the netbuf_idx of the original pcb

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[patch #9987] Make tcp_listen() inherit the netbuf_idx of the original pcb

yuanjianmin
URL:
  <https://savannah.nongnu.org/patch/?9987>

                 Summary: Make tcp_listen() inherit the netbuf_idx of the
original pcb
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: ohitz
            Submitted on: Tue 27 Oct 2020 11:02:02 AM UTC
                Category: TCP
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

This simple patch causes tcp_listen() to inherit the netbuf_idx setting of the
original pcb. Without this, it is not possible to restrict a socket to a
specific interface using SO_BINDTODEVICE before listening.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 27 Oct 2020 11:02:02 AM UTC  Name: tcp_listen_netif_idx.patch  Size:
452B   By: ohitz

<http://savannah.nongnu.org/patch/download.php?file_id=50133>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9987>

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


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel