[Intel-wired-lan] [RFC v2 net-next 01/10] net: Add a new socket option for a future transmit time.

Richard Cochran richardcochran at gmail.com
Thu Jan 25 16:52:21 UTC 2018


On Thu, Jan 25, 2018 at 10:12:25AM +0100, Miroslav Lichvar wrote:
> Do I understand it correctly that no other interface is using
> nanoseconds since 1970? We probably don't have to worry about year
> 2262 yet, but wouldn't it be better to make it consistent with the
> timestamping API using timespec? Or is it just better to avoid the
> 64/32-bit mess of time_t?

I prefer a single 64 bit nanoseconds field:

- Applications won't have to convert to timespec.

- Avoids the time_t issue.

Thanks,
Richard


More information about the Intel-wired-lan mailing list