Date: Wed, 08 Sep 2004 10:02:46 -0500 From: Guy Helmer <ghelmer@palisadesys.com> To: Bruce M Simpson <bms@spc.org> Cc: tcpdump-workers@tcpdump.org Subject: Re: [PATCH] Add ioctl to disable bpf timestamping Message-ID: <413F1F16.5050303@palisadesys.com> In-Reply-To: <20040908092624.GD793@empiric.icir.org> References: <20040908092624.GD793@empiric.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce M Simpson wrote: >Here's a patch against 5.3 to add a per-instance switch which allows >the user to specify if captured packets should be timestamped (and, >if so, whether microtime() or the faster but less accurate >getmicrotime() call should be used). > > I like the idea (I've been using a hack to call getmicrotime() in bpf in my own kernels), but I wonder if it would be better as a sysctl? Then it wouldn't require changes to libpcap and/or tcpdump, and would work with any application. Thanks, Guy -- Guy Helmer, Ph.D., Principal System Architect, Palisade Systems, Inc. ghelmer@palisadesys.com ghelmer@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?413F1F16.5050303>