transmitting raw ethernet frames

Kenvor Cothey (kenvor@heavenly.adeptpower.com)
Mon, 7 Jun 1999 01:28:07 +0100 (BST)


Hi. I'm trying to transmit raw ethernet frames onto the wire. Please,
can someone tell me how to do this? I've got as far as opening a
PF_PACKET/SOCK_RAW socket, but am having difficulty sending to the
ethernet device (/dev/eth0); a simple write(sock, frame_buf,
frame_buf_len) doesn't seem to quite cut it. What am I missing?

Cheers,
Kenvor.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu