Skip to main content

Crate rtime_ntp

Crate rtime_ntp 

Source
Expand description

NTPv4 (RFC 5905) protocol implementation for the rTime time synchronization daemon.

Provides the packet codec plus the client- and server-side logic, poll-interval control, and Kiss-o’-Death handling needed to both query upstream servers and answer downstream clients.

§Modules

  • packet — NTP packet layout, parsing, and serialization (packet::NtpPacket).
  • client — client-side request building and response validation.
  • server — server-side request validation and response construction.
  • poll — adaptive poll-interval management.
  • extension — NTP extension-field framing (used by NTS).
  • kiss_code — Kiss-o’-Death (KoD) codes such as RATE and DENY.

Modules§

client
extension
NTP extension fields (RFC 7822) with NTS-specific types (RFC 8915 Section 5.6).
kiss_code
packet
poll
server