RE: [PATCH] Add ioctl to disable bpf timestamping
From: Ed Maste (emaste_at_sandvine.com)
Date: 09/09/04
- Previous message: Maksim Yevmenkin: "Re: VoIP and IPFW"
- Maybe in reply to: Bruce M Simpson: "[PATCH] Add ioctl to disable bpf timestamping"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 8 Sep 2004 18:59:27 -0400 To: <freebsd-net@FreeBSD.org>
>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.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Maksim Yevmenkin: "Re: VoIP and IPFW"
- Maybe in reply to: Bruce M Simpson: "[PATCH] Add ioctl to disable bpf timestamping"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|