Re: CLOCK_MONOTONIC datagram timestamps by the kernel

From: Evgeniy Polyakov
Date: Thu Mar 01 2007 - 05:05:04 EST

On Wed, Feb 28, 2007 at 05:07:10PM +0100, John (linux.kernel@xxxxxxx) wrote:
> Again, this is irrelevant. We are discussing whether it would make sense
> to support sub-microsecond resolution. If there is one platform that can
> achieve sub-microsecond precision, there is a need for sub-microsecond
> resolution. As long as we are changing the resolution, we might as well
> use something standard like struct timespec.

You can not blindly change skb timestamps to different entities - you
need to change all users (at least in kernel).
Exporting it to userspace must require new socket option and old one ust
be changed accordingly, but there is nothing wrong in having nanosecond
resolution in packet timestamp except that it might not be 100% correct
receiving time.

Evgeniy Polyakov
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at