From owner-cvs-all@FreeBSD.ORG Tue Jul 25 19:01:17 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85B3916A4DF; Tue, 25 Jul 2006 19:01:17 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 1D2F643D62; Tue, 25 Jul 2006 19:01:12 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 25 Jul 2006 20:01:11 +0100 (BST) To: Jung-uk Kim In-reply-to: Your message of "Tue, 25 Jul 2006 12:59:13 EDT." <200607251259.15891.jkim@FreeBSD.org> X-Request-Do: Date: Tue, 25 Jul 2006 20:01:10 +0100 From: David Malone Message-ID: <200607252001.aa18647@salmon.maths.tcd.ie> Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, "Christian S.J. Peron" , cvs-all@FreeBSD.org, dwmalone@maths.tcd.ie, Sam Leffler Subject: Re: cvs commit: src/sys/net bpf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 19:01:17 -0000 > > libpcap does not need to be modified; it works already for > > wireless. The fact that the DLT is named DLT_IEEE802_11_RADIO is a > > bit of a misnomer; it's not entirely 802.11-specific. > Ah, you mean we just exploit DLT_IEEE802_11_RADIO. Hmm... How about > processing overhead? Can we synchronize the timestamping with system > time? It sounds to me like a reasonable thing to do would be to pass up a raw version of the timestamp (as returned by the hardware). We'd also pass up the regular microtime() timestamp. You can then do any postprocessing to syncronise timestamps later in userland? > Okay. But I am worried about timecounter <-> timeval conversion > because I want to know timeval delta from system time, not just some > timer value. If we do it in the kernel, then we probably need to look into expanding the timecounter infrastructure quite a lot, particularly if you want to be able to apply NTP adjustments to multiple counters at the same time. David.