USE_PACKET_TIMESTAMP

Eric S. Raymond esr at thyrsus.com
Thu Jun 8 19:09:22 UTC 2017


Hal Murray via devel <devel at ntpsec.org>:
> Can anybody confirm that Solaris really doesn't have time stamps?  I thought 
> we decided that all modern OSes did.  That's why we could rip out the SIGIO 
> stuff.
> 
> I took a quick google and couldn't find any mention of anything that looked 
> like a time stamp in a Solaris man page for setsockopt.  But some of the 
> stuff I was looking at was surprisingly old.
> 
> If Solaris doesn't support time stamps, I would expect ntp_packetstamp to die 
> on a #error.  What happened with it?

I factored the code so that if waf configure doesn't find a way to get packet
arrival times from the UDP layer it uses the arrival time collected in
userspace (ntp_packetstamp() isn't called or even built).  So the loss
is exactly the lag in the network stack.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.



More information about the devel mailing list