Re: CLOCK_MONOTONIC datagram timestamps by the kernel

From: Eric Dumazet
Date: Thu Mar 01 2007 - 18:15:00 EST


Stephen Hemminger a écrit :


You probably want to add a SO_TIMESTAMPNS setsockopt() value like existing SO_TIMESTAMP

You mean an alias like this ?

#define SO_TIMESTAMPNS SO_TIMESTAMP

Or should we really use another value ?


Also use NSEC_PER_USEC rather than hardcoded 1000.



Yes I will resubmit a patch including your suggestions (I discovered some missing bits after a make allyesconfig)

Thank you

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html