Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2004 18:59:27 -0400
From:      "Ed Maste" <emaste@sandvine.com>
To:        <freebsd-net@FreeBSD.org>
Subject:   RE: [PATCH] Add ioctl to disable bpf timestamping
Message-ID:  <A8535F8D62F3644997E91F4F66E341FC1BC7F8@exchange.sandvine.com>

next in thread | raw e-mail | index | archive | help
>From Bruce's patch:

+	if (d->bd_tstamp =3D=3D BPF_TSTAMP_MICROTIME)
+		microtime(&hp->bh_tstamp);
+	else if (d->bd_tstamp =3D=3D BPF_TSTAMP_GETMICROTIME)
+		getmicrotime(&hp->bh_tstamp);

Perhaps set the timestamp to zero in the else case?

Ed Maste
Sandvine Inc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A8535F8D62F3644997E91F4F66E341FC1BC7F8>