lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] two logical ethernet interfaces on the same, physical p


From: Kamil Khoury
Subject: Re: [lwip-users] two logical ethernet interfaces on the same, physical port?
Date: Fri, 15 Jun 2018 16:18:11 +0200

Okay got it. Thank you and Simon again :) 

On Fri, 15 Jun 2018, 14:20 Sergio R. Caprile, <address@hidden> wrote:
You got things a bit confused.
lwIP is not a computer OS nor a device, is a TCP/IP stack. It provides
sevices for layer-3+. If you don´t need what rests over IP nor IP
itself, then you don't need lwIP.
Yes, you can use lwIP's "infrastructure" and have layer-2 protocols
coexist with the stack, you can even use the netifs by themselves and
forget about "the other part" of lwIP, taking advantage of pbufs and
existing Ethernet drivers.
If you need to read the bytes in Ethernet headers, you work at the netif
level. If you need two MACs on a physical port, you bridge them.
Regarding lwIP's take on raw sockets, this has been answered by Simon
several years ago. I don't think it has changed:
https://lists.gnu.org/archive/html/lwip-users/2011-11/msg00080.html


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

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