12 #ifndef ROC_PACKET_NTP_H_
13 #define ROC_PACKET_NTP_H_
int64_t nanoseconds_t
Nanoseconds.
ntp_timestamp_t unix_2_ntp(core::nanoseconds_t unix_time)
Convert Unix absolute time to NTP absolute time.
ntp_timestamp_t nanoseconds_2_ntp(core::nanoseconds_t ns_delta)
Convert nanoseconds delta to NTP delta.
uint64_t ntp_timestamp_t
NTP timestamp.
core::nanoseconds_t ntp_2_nanoseconds(ntp_timestamp_t ntp_delta)
Converts NTP delta to nanoseconds delta.
core::nanoseconds_t ntp_2_unix(ntp_timestamp_t ntp_time)
Convert NTP absolute time to Unix absolute time.