From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Don Bailey Subject: Re: [9fans] OS X question Date: Wed, 12 Apr 2006 18:10:24 -0600 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 36679bb0-ead1-11e9-9d60-3106f5b1d025 > 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