Re: [lwip-users] 802.1D bridge

2020-03-07 Thread goldsi...@gmx.de
Am 27.02.2020 um 22:05 schrieb SimonW:
> Yup - bridge is what i want. I want to form a number of IoT nodes that are on
> a mixture of 10/100 wired ethernet and b/g/n/ac WiFi into a single sub-net.

OK. So have you just tested it? It's really not that hard. Just
netif_add() your port netifs without IPs and then netif_add() the bridge
netif just like you would add a normal netif (with IPs etc.).

The bridge netif is then the only netif with IP settings, the port
netifs are just used by the bridge netifs for sending and receiving.

Regards,
Simon

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] Do not fragment (DF) in a UDP transmission.

2020-03-07 Thread goldsi...@gmx.de
Am 06.03.2020 um 21:37 schrieb Roger Cover:
> Greetings,
>
> I am writing a video transmitter. The protocol I am using requires that a 
> "test packet" has its do not fragment bit set. This is used to determine the 
> maximum usable MTU of the intervening network nodes.
>
> I would like to know the recommended method for setting this bit in my UDP 
> transmission. I am currently using the ip_output_if() function, and it does 
> not have any arguments to allow this.

That's currently not supported (hasn't been requested so far). If you
tell me a standard way to do that (e.g. how is it done on sockets), I
guess adding this should not be too hard.

Regards,
Simon

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users