rtime_ntp/lib.rs
1//! NTPv4 ([RFC 5905](https://www.rfc-editor.org/rfc/rfc5905)) protocol implementation for the
2//! [rTime](https://github.com/ZerosAndOnesLLC/rTime) time synchronization daemon.
3//!
4//! Provides the packet codec plus the client- and server-side logic, poll-interval control,
5//! and Kiss-o'-Death handling needed to both query upstream servers and answer downstream
6//! clients.
7//!
8//! # Modules
9//!
10//! - [`packet`] — NTP packet layout, parsing, and serialization ([`packet::NtpPacket`]).
11//! - [`client`] — client-side request building and response validation.
12//! - [`server`] — server-side request validation and response construction.
13//! - [`poll`] — adaptive poll-interval management.
14//! - [`extension`] — NTP extension-field framing (used by NTS).
15//! - [`kiss_code`] — Kiss-o'-Death (KoD) codes such as `RATE` and `DENY`.
16
17pub mod client;
18pub mod extension;
19pub mod kiss_code;
20pub mod packet;
21pub mod poll;
22pub mod server;