* MAC address instead of IP
@ 2005-03-15 5:02 Donald Duckie
2005-03-15 5:10 ` Ben Greear
0 siblings, 1 reply; 2+ messages in thread
From: Donald Duckie @ 2005-03-15 5:02 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hi!
I am looking for some sample codes which uses MAC
address instead of TCP-IP for data transmission. Any
suggestions are highly appreciated.
And also, I have been digging into ethertap.c and
netlink_dev.c, but I cant fully understand how these
codes work. Where can I see some detailed explanations
of these source codes? What I usually see in a search
are compilation error problems and the like.
Thank you very much for any kind of information.
Regards.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MAC address instead of IP
2005-03-15 5:02 MAC address instead of IP Donald Duckie
@ 2005-03-15 5:10 ` Ben Greear
0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2005-03-15 5:10 UTC (permalink / raw)
To: Donald Duckie; +Cc: Linux Kernel Mailing List
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@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-15 5:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 5:02 MAC address instead of IP Donald Duckie
2005-03-15 5:10 ` Ben Greear
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.