Re: MAC address instead of IP

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


Donald Duckie wrote:
Hi!

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


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/