On 2021-11-24, goldsi...@gmx.de <goldsi...@gmx.de> wrote: > Am 24.11.2021 um 16:33 schrieb Grant Edwards: >> On 2021-11-24, Simon Küppers <simon.kuepp...@2pi-labs.com> wrote: >> >>> If I understand you correctly, you could also use >>> LWIP_HOOK_UNKNOWN_ETH_PROTOCOL provided by LWIP, so you do not need to >>> implement separate receive queues. >> >> That's interesting — it would allow you to receive arbitrary Ethernet >> protocols, but there's no way to send them? > > It's an integration for raw lwIP, not for the socket API. Sending raw > packets from raw lwIP is easy: just call netif->linkoutput() with the > pbuf to send on the netif you want to send on (or use ip_route() to get > one).
That would be fine. On the non-Linux systems in the past, it's been done using non-sockets functions like that. > You were previously asking about a linux-ish socket way to do that > though. It doesn't actually need to be the socket API signature or to use socket file descriptors. -- Grant _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users