Skip to main content

middle_32

Function middle_32 

Source
pub fn middle_32(ntp: u64) -> u32
Expand description

The middle 32 bits of an NTP timestamp: 16 bits of seconds, 16 of fraction.

This is what a report block echoes back (RFC 3550 ยง6.4.1), and the truncation is why the round trip below wraps rather than saturates: the field rolls over every 18 hours.