Re: MAC address instead of IP

From: Ben Greear
Date: Tue Mar 15 2005 - 00:18:05 EST

Donald Duckie wrote:

I am looking for some sample codes which uses MAC
address instead of TCP-IP for data transmission. Any
suggestions are highly appreciated.

Check out the 'man 7 socket' man page and read up on
raw packet sockets. You can format a packet down to
the ethernet header and send it directly to the
interface transmit queue...

And all this safely from user-space.


Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at