Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
ntp.h File Reference

Utitilies for NTP timestamp. More...

#include "roc_core/time.h"
Include dependency graph for ntp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 roc
 Root namespace.
 
 roc::packet
 Network packets and packet processing.
 

Typedefs

typedef uint64_t roc::packet::ntp_timestamp_t
 NTP timestamp. More...
 

Functions

ntp_timestamp_t roc::packet::unix_2_ntp (core::nanoseconds_t unix_time)
 Convert Unix absolute time to NTP absolute time. More...
 
core::nanoseconds_t roc::packet::ntp_2_unix (ntp_timestamp_t ntp_time)
 Convert NTP absolute time to Unix absolute time. More...
 
ntp_timestamp_t roc::packet::nanoseconds_2_ntp (core::nanoseconds_t ns_delta)
 Convert nanoseconds delta to NTP delta. More...
 
core::nanoseconds_t roc::packet::ntp_2_nanoseconds (ntp_timestamp_t ntp_delta)
 Converts NTP delta to nanoseconds delta. More...
 

Detailed Description

Utitilies for NTP timestamp.

Definition in file ntp.h.