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 lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users