9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Don Bailey <don.bailey@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] OS X question
Date: Wed, 12 Apr 2006 18:10:24 -0600	[thread overview]
Message-ID: <b8f37544549a72535dfdb501ab98b8d6@gmail.com> (raw)
In-Reply-To: <d200f5f8ba251bf6f5bc3c5fcd4e956b@coraid.com>

> At the risk of being way off topic for this list, does anyone
> know how to get raw packet access under OS X?  I'm trying
> to write some p9p code on the mac and I need to get to
> raw ethernet frames.
>

MacOSX, like any other BSD, uses the Berkeley Packet Filter.
Man bpf for information. /dev/bpf[0-9] is the device you'll use to
ingest or send raw frames.

Don "north" Bailey



      reply	other threads:[~2006-04-13  0:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 23:52 Brantley Coile
2006-04-13  0:10 ` Don Bailey [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=b8f37544549a72535dfdb501ab98b8d6@gmail.com \
    --to=don.bailey@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).