Enum ntp_proto::IgnoreReason
source · pub enum IgnoreReason {
InvalidPacket,
InvalidMode,
InvalidVersion,
InvalidStratum,
InvalidPacketTime,
KissIgnore,
KissDemobilize,
KissNtsNack,
TooOld,
}Variants§
InvalidPacket
The packet doesn’t parse
InvalidMode
The association mode is not one that this peer supports
InvalidVersion
The NTP version is not one that this implementation supports
InvalidStratum
The stratum of the server is too high
InvalidPacketTime
The send time on the received packet is not the time we sent it at
KissIgnore
Received a Kiss-o’-Death https://datatracker.ietf.org/doc/html/rfc5905#section-7.4
KissDemobilize
Received a DENY or RSTR Kiss-o’-Death, and must demobilize the association
KissNtsNack
Received a matching NTS-Nack, no further action needed.
TooOld
The best packet is older than the peer’s current time