class

Filament::Dissect::Layer7::NtpDissector

Inherits Filament::Dissect::Dissector < Reference < Object

Constants

NTP_TIMESTAMP_DELTA = 2208988800_u64

NTP epoch is 1900-01-01 00:00:00 UTC Difference between 1900 and Unix epoch 1970 is 2,208,988,800 seconds

Class methods

ntp_to_time(sec : UInt32, frac : UInt32) : Time | Nil

Decodes 64-bit NTP timestamp into Crystal Time

Source

Instance methods

dissect(data : Bytes, offset : UInt32) : DissectResult
Source
name
Source
protocol
Source