[Top][All Lists]

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

Re: [lwip-devel] [patch #9134] bind udp and tcp pcbs to a specific netif

From: Alice Reichart
Subject: Re: [lwip-devel] [patch #9134] bind udp and tcp pcbs to a specific netif
Date: Wed, 5 Oct 2016 10:21:09 +0200

Hello Simon,
in our case the routing mechanism can be ambiguous.

We have several devices in the internal network that have static ips. However the netmask/ip addresses of the external net are not known, it is likely they overlap.

There are other ways to solve this, but I think binding pcbs to netifs is the clean one and can be beneficial in other setups with more than one interface.

Also, as a user, you can route one time in the initialization of a pcb, bind it accordingly and thus save many calls to ip_route().

On Tue, Oct 4, 2016 at 10:11 PM, Simon Goldschmidt <address@hidden> wrote:
Update of patch #9134 (project lwip):

                  Status:                    None => Wont Do
             Open/Closed:                    Open => Closed


Follow-up Comment #1:

I'm sorry to turn you down, but I won't integrate this one.

The standard way to achieve what you want is to bind to the netif's IP
address. That means you'll have to adopt to address changes, but with lwIP
this is easy to do.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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