Does lwIP support applications that need to send/receive raw Ethernet
packets? It looks like lwIP's raw "connection" type is only for
sending and receiving IP packets.

What I'm looking for would the equivalent to the code below on Linux:

Python:
    import socket
    eth_proto = 0x12345
    s = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, eth_proto)

C:
    #include <sys/socket.h>
    eth_proto = 0x12345;
    s = socket(AF_PACKET, SOCK_RAW, htons(eth_proto));
    
    


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

Reply via email to