[PATCH] Add ioctl to disable bpf timestamping

Ed Maste emaste at sandvine.com
Wed Sep 8 15:59:28 PDT 2004


>From Bruce's patch:

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

Perhaps set the timestamp to zero in the else case?

Ed Maste
Sandvine Inc.


More information about the freebsd-net mailing list