timestamp-info

Hal Murray halmurray at sonic.net
Fri Feb 7 23:13:18 UTC 2025


I ran it on a subset of my toys.  All looks good.

I see header padding on FreeBSD and NetBSD.  I didn't see anything funny, 
but that's only a manual inspection.

The FreeBSD BINTIME looks good.

  Testing SO_TIMESTAMP+SO_TS_CLOCK+SO_TS_BINTIME:
    Sent at 1738968876.289623, received at 1738968876.289628, took 0.000005
    cmsg length = 32 (16+16), level = 65535, type = 4
    header padding:
     (0000000000)
    struct bintime payload longwords:
      1738968876
      0000000000
      0188479300
      1243933576
1243933576/4294967296 => 0.289625


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list