mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Donald Duckie <schipperke2000@yahoo.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: MAC address instead of IP
Date: Mon, 14 Mar 2005 21:10:28 -0800	[thread overview]
Message-ID: <42366E44.1070409@candelatech.com> (raw)
In-Reply-To: <20050315050204.37107.qmail@web53608.mail.yahoo.com>

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


      reply	other threads:[~2005-03-15  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-15  5:02 Donald Duckie
2005-03-15  5:10 ` Ben Greear [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42366E44.1070409@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schipperke2000@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®