From owner-freebsd-net@FreeBSD.ORG  Wed Jan 14 15:26:38 2004
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CDEB816A4CE
	for <freebsd-net@freebsd.org>; Wed, 14 Jan 2004 15:26:38 -0800 (PST)
Received: from dmz2.unixjunkie.com (adsl-65-70-175-250.dsl.rcsntx.swbell.net
	[65.70.175.250])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 70F9B43D49
	for <freebsd-net@freebsd.org>; Wed, 14 Jan 2004 15:26:36 -0800 (PST)
	(envelope-from strgout@unixjunkie.com)
Received: from mail.unixjunkie.com (mail [10.253.254.36])
	by dmz2.unixjunkie.com (8.12.8p2/8.12.8) with ESMTP id i0ENvKYe020613
	for <freebsd-net@freebsd.org>; Wed, 14 Jan 2004 17:57:20 -0600 (CST)
	(envelope-from strgout@mail.unixjunkie.com)
Received: from mail.unixjunkie.com (mail [10.253.254.36])
	by mail.unixjunkie.com (8.12.8p2/8.12.8) with ESMTP id i0ENvKKf020610
	for <freebsd-net@freebsd.org>; Wed, 14 Jan 2004 17:57:20 -0600 (CST)
	(envelope-from strgout@mail.unixjunkie.com)
Received: (from strgout@localhost)
	by mail.unixjunkie.com (8.12.8p2/8.12.8/Submit) id i0ENvKc6020609
	for freebsd-net@freebsd.org; Wed, 14 Jan 2004 17:57:20 -0600 (CST)
	(envelope-from strgout)
Date: Wed, 14 Jan 2004 17:57:19 -0600
From: John <strgout@unixjunkie.com>
To: freebsd-net@freebsd.org
Message-ID: <20040114235719.GA20586@mail.unixjunkie.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: ring buffer in freebsd (for bpf sniffing)
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Jan 2004 23:26:38 -0000

I've been talking with Luca Deri about a paper he wrote (
http://luca.ntop.org/Ring.pdf). In it he says he plans to port
this to FreeBSD. I was just wondering if anyone has looked this 
his work. I'd help him but seeing as this is way over my perl skills
head i though i would post over here about it. 

The code is over here.

http://prdownloads.sourceforge.net/ntop/ring-1.0.tar.gz?download

If you haven't read the paper you should. It shows how much polling
helps bpf capturing on FreeBSD, and compares this with linux.
The patches add code to bpf and nic drivers from the looks of it.