mbgtools-lx  4.2.8
Definitions used with NTP

Data Structures

struct  NTP_GLB_SETTINGS
 Global configuration settings of an NTP device (client/server) More...
 
struct  NTP_GLB_INFO
 Global configuration info of an NTP device (client/server) More...
 
struct  NTP_RESTR_LIMITS
 General NTP restriction limits to be read from a device. More...
 
struct  NTP_RESTR
 NTP restriction. More...
 
struct  NTP_RESTR_IDX
 NTP restriction, plus index. More...
 
struct  NTP_DISCARD_LIMITS
 General NTP "discard" rate limiting limits to be read from a device. More...
 
struct  NTP_DISCARD_SETTINGS
 NTP "discard" rate limiting settings as described at ntp.org's manual. More...
 
struct  NTP_STATS_GLB_SETTINGS
 Global NTP statistics settings to be read from / written to a device. More...
 
struct  NTP_STATS_GLB_INFO
 NTP statistics settings. More...
 
struct  NTP_REFCLK_CFG_SETTINGS
 NTP refclock specific settings. More...
 
struct  NTP_REFCLK_CFG_SETTINGS_IDX
 NTP refclock settings index. More...
 
struct  NTP_REFCLK_CFG_INFO
 NTP refclock configuration and supported refclock types. More...
 
struct  NTP_REFCLK_CFG_INFO_IDX
 NTP refclock info, with index. More...
 
struct  NTP_SYMM_KEY_LIMITS
 General NTP symmetric key limits to be read from a device. More...
 
struct  NTP_SYMM_KEY_SETTINGS
 NTP symmetric key specific settings. More...
 
struct  NTP_SYMM_KEY_SETTINGS_IDX
 NTP symmetric key settings, with index. More...
 
struct  NTP_SYMM_KEY_INFO
 NTP symmkey info. More...
 
struct  NTP_SYMM_KEY_INFO_IDX
 NTP symm key info, with index. More...
 
struct  NTP_TRUSTED_KEY_SETTINGS
 NTP trusted key settings. More...
 
struct  NTP_TRUSTED_KEY_SETTINGS_IDX
 NTP trusted key settings, with index. More...
 
struct  NTP_TRUSTED_KEY_INFO
 NTP trusted key info. More...
 
struct  NTP_TRUSTED_KEY_INFO_IDX
 NTP trusted key info, with index. More...
 
struct  NTP_MISC_LIMITS
 General NTP misc limits to be read from a device. More...
 
struct  NTP_MISC_DRIFTFILE_SETTINGS
 NTP driftfile settings to be read from / written to a device. More...
 
struct  NTP_MISC_ORPHAN_MODE_SETTINGS
 NTP orphan mode settings to be read from / written to a device. More...
 
struct  NTP_MISC_ORPHAN_MODE_INFO
 NTP orphan mode info. More...
 
struct  NTP_MISC_LEAPFILE_SETTINGS
 NTP leapfile settings to be read from / written to a device. More...
 
struct  NTP_CLNT_MODE_SETTINGS
 Client settings of an NTP device. More...
 
struct  NTP_CLNT_MODE_INFO
 Client settings info of an NTP device. More...
 
struct  NTP_PEER_LIMITS
 General NTP peer settings limits to be read from a device. More...
 
struct  NTP_PEER_SETTINGS
 Peer settings for NTP devices to configure an upload NTP server. More...
 
struct  NTP_PEER_SETTINGS_IDX
 Peer settings for NTP devices. More...
 
struct  NTP_SRV_MODE_SETTINGS
 Server settings of an NTP device. More...
 
struct  NTP_SRV_MODE_INFO
 Server settings info of an NTP device. More...
 
struct  NTP_SHORT_TSTAMP
 Structure that represents a timestamp in NTP Short Format. More...
 
struct  NTP_TSTAMP
 Structure that represents a timestamp in NTP Timestamp Format. More...
 
struct  NTP_SYS_STATE
 Structure that represents the current system status of an NTP device. More...
 
struct  NTP_PEER_STATE
 Structure that represents the status of an NTP peer. More...
 
struct  NTP_PEER_STATE_IDX
 Structure that contains an index value and the NTP peer state. More...
 

Macros

#define NTP_DEF_ADD_CONF_PATH   "/etc/mbg"
 
#define NTP_DEF_ADD_CONF_FILENAME   "ntp.conf.add"
 
#define NTP_DEF_ADD_CONF_FILE   NTP_DEF_ADD_CONF_PATH "/" NTP_DEF_ADD_CONF_FILENAME
 
#define _mbg_swab_ntp_glb_settings(_p)
 
#define _mbg_swab_ntp_glb_info(_p)
 
#define _mbg_swab_ntp_restr_limits(_p)
 
#define _mbg_swab_ntp_restr(_p)
 
#define _mbg_swab_ntp_restr_idx(_p)
 
#define _mbg_swab_ntp_discard_limits(_p)
 
#define _mbg_swab_ntp_discard_settings(_p)
 
#define _mbg_swab_ntp_stats_glb_settings(_p)
 
#define _mbg_swab_ntp_stats_glb_info(_p)
 
#define _mbg_swab_ntp_refclk_cfg_settings(_p)
 
#define _mbg_swab_ntp_refclk_cfg_settings_idx(_p)
 
#define _mbg_swab_ntp_refclk_cfg_info(_p)
 
#define _mbg_swab_ntp_refclk_cfg_info_idx(_p)
 
#define NTP_SYMM_KEY_HASHES_STRS
 Name strings for defined NTP symm key hashes. More...
 
#define _mbg_swab_ntp_symm_key_limits(_p)
 
#define N_NTP_SYMM_KEY_LEN   128
 
#define N_NTP_SYMM_KEY_MAX_IP_ADDR   8
 
#define _mbg_swab_ntp_symm_key_settings(_p)
 
#define _mbg_swab_ntp_symm_key_settings_idx(_p)
 
#define _mbg_swab_ntp_symm_key_info(_p)
 
#define _mbg_swab_ntp_symm_key_info_idx(_p)
 
#define _mbg_swab_ntp_trusted_key_settings(_p)
 
#define _mbg_swab_ntp_trusted_key_settings_idx(_p)
 
#define _mbg_swab_ntp_trusted_key_info(_p)
 
#define _mbg_swab_ntp_trusted_key_info_idx(_p)
 
#define _mbg_swab_ntp_misc_limits(_p)
 
#define _mbg_swab_ntp_misc_driftfile_settings(_p)
 
#define _mbg_swab_ntp_misc_orphan_mode_settings(_p)
 
#define _mbg_swab_ntp_misc_orphan_mode_info(_p)
 
#define _mbg_swab_ntp_misc_leapfile_settings(_p)
 
#define _mbg_swab_ntp_clnt_mode_settings(_p)
 
#define _mbg_swab_ntp_clnt_mode_info(_p)
 
#define _mbg_swab_ntp_peer_limits(_p)
 
#define _mbg_swab_ntp_peer_settings(_p)
 
#define _mbg_swab_ntp_peer_settings_idx(_p)
 
#define _mbg_swab_ntp_srv_mode_settings(_p)
 
#define _mbg_swab_ntp_srv_mode_info(_p)
 
#define _mbg_swab_ntp_short_tstamp(_p)
 
#define _mbg_swab_ntp_tstamp(_p)
 
#define MBG_NTP_IMPL_STR_ENG   "Implemetation Type:"
 
#define MBG_NTP_IMPL_STR_ENG_UNKNOWN   "Unknown NTP implementation"
 
#define MBG_NTP_IMPL_STR_ENG_NTPD   "Network Time Protocol daemon (ntpd)"
 
#define MBG_NTP_IMPL_STR_ENG_NTPDATE   "NTP client only (ntpdate)"
 
#define MBG_NTP_IMPL_STR_ENG_SNTP   "Simple Network Time Protocol (sntp)"
 
#define MBG_NTP_IMPL_STR_ENG_W32TIME   "Windows time service (w32time)"
 
#define MBG_NTP_IMPL_STR_ENG_MBGNTP   "Meinberg NTP implementation (mbgntp)"
 
#define MBG_NTP_IMPL_NAMES_ENG
 
#define NTP_CPU_TYPES_STRS
 Name strings for known CPU types using NTP. More...
 
#define NTP_SYSTEMS_STRS
 Name strings for operating systens using NTP. More...
 
#define MBG_NTP_LEAP_STR_ENG   "Leapsecond indication:"
 
#define MBG_NTP_LEAP_STR_ENG_NONE   "None"
 
#define MBG_NTP_LEAP_STR_ENG_ADD_SEC   "Insert second"
 
#define MBG_NTP_LEAP_STR_ENG_DEL_SEC   "Delete second"
 
#define MBG_NTP_LEAP_STR_ENG_ALARM   "Alarm"
 
#define MBG_NTP_LEAP_NAMES_ENG
 
#define MBG_NTP_SYNC_SRC_STR_ENG_LABEL   "Sync Source:"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_UNSPEC   "Not yet synchronized"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_PPS   "Pulse per second signal"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_LF_RADIO   "VLF/LF radio"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_HF_RADIO   "MF/HF radio"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_UHF_RADIO   "VHF/UHF radio/satellite"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_LOCAL   "local timecode"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_NTP   "NTP"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_OTHER   "other"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_WRISTWATCH   "eyeball and wristwatch"
 
#define MBG_NTP_SYNC_SRC_STR_ENG_TELEPHONE   "telephone modem"
 
#define MBG_NTP_SYNC_SRC_NAMES_ENG
 
#define MBG_NTP_SYS_EVT_STR_ENG_CNT_LABEL   "System Event Counter:"
 
#define MBG_NTP_SYS_EVT_STR_ENG_MSG_LABEL   "System Event Message:"
 
#define MBG_NTP_SYS_EVT_STR_ENG_UNSPEC   "Unspecified NTP event"
 
#define MBG_NTP_SYS_EVT_STR_ENG_FREQ_NOT_SET   "Frequency file not available"
 
#define MBG_NTP_SYS_EVT_STR_ENG_FREQ_SET   "Frequency set from frequency file"
 
#define MBG_NTP_SYS_EVT_STR_ENG_SPIKE_DETECT   "Spike detected"
 
#define MBG_NTP_SYS_EVT_STR_ENG_FREQ_MODE   "Initial frequency training mode"
 
#define MBG_NTP_SYS_EVT_STR_ENG_CLOCK_SYNC   "Clock synchronized"
 
#define MBG_NTP_SYS_EVT_STR_ENG_RESTART   "Program restart"
 
#define MBG_NTP_SYS_EVT_STR_ENG_PANIC_STOP   "Clock error more than 600 s"
 
#define MBG_NTP_SYS_EVT_STR_ENG_NO_SYSTEM_PEER   "No system peer"
 
#define MBG_NTP_SYS_EVT_STR_ENG_LEAP_ARMED   "Leap second armed from file or autokey"
 
#define MBG_NTP_SYS_EVT_STR_ENG_LEAP_DISARMED   "Leap second disarmed"
 
#define MBG_NTP_SYS_EVT_STR_ENG_LEAP_EVENT   "Leap event"
 
#define MBG_NTP_SYS_EVT_STR_ENG_CLOCK_STEP   "Clock stepped"
 
#define MBG_NTP_SYS_EVT_STR_ENG_KERNEL   "Kernel information message"
 
#define MBG_NTP_SYS_EVT_STR_ENG_TAI   "Leap second values update from file"
 
#define MBG_NTP_SYS_EVT_STR_ENG_STALE_LS_VALUES   "New NIST leapseconds file needed"
 
#define MBG_NTP_SYS_EVT_NAMES_ENG
 
#define MBG_NTP_SERVICE_INIT_STR   "NTP service initializing"
 
#define MBG_NTP_SERVICE_SYNC_STR   "NTP service synchronized"
 
#define MBG_NTP_SERVICE_ASYNC_STR   "NTP service not synchronized"
 
#define MBG_NTP_SERVICE_STOPPED_STR   "NTP service stopped"
 
#define MBG_NTP_SERVICE_STATES_STRS
 
#define _mbg_swab_ntp_sys_state(_p)
 
#define MBG_NTP_MODE_STR_ENG_HOST_LABEL   "Host Mode:"
 
#define MBG_NTP_MODE_STR_ENG_PEER_LABEL   "Peer Mode:"
 
#define MBG_NTP_PEER_MODE_STR_ENG_RESERVED   "Reserved"
 
#define MBG_NTP_PEER_MODE_STR_ENG_SYMM_ACT   "Symm Act"
 
#define MBG_NTP_PEER_MODE_STR_ENG_SYMM_PASS   "Symm Pass"
 
#define MBG_NTP_PEER_MODE_STR_ENG_CLIENT   "Client"
 
#define MBG_NTP_PEER_MODE_STR_ENG_SERVER   "Server"
 
#define MBG_NTP_PEER_MODE_STR_ENG_BROADCAST   "Broadcast"
 
#define MBG_NTP_PEER_MODE_STR_ENG_CONTROL   "Control"
 
#define MBG_NTP_PEER_MODE_STR_ENG_PRIVATE   "Private"
 
#define MBG_NTP_MODE_STAT_NAMES_ENG
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_LABEL   "Reach State:"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_UNKNOWN   "Unknown"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_NO_LINK   "No link"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNREACH   "DNS Server unreached"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNRESOLVED   "DNS name not resolved"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_UNREACH   "Peer not reached"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_NOT_SYNC   "Peer not sync"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_BAD_QUALITY   "Peer has bad quality"
 
#define MBG_NTP_PEER_REACH_STAT_STR_ENG_OK   "Good"
 
#define MBG_NTP_PEER_REACH_STAT_NAMES_ENG
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_LABEL   "Selected Status:"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_REJECT   "Not valid"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_FALSETICK   "Falsetick"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_EXCESS   "Excess"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_OUTLYER   "Outlyer"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_CANDIDATE   "Candidate"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_BACKUP   "Backup"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_SYS_PEER   "System Peer"
 
#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_PPS_PEER   "PPS Peer"
 
#define MBG_NTP_PEER_SEL_STATUS_NAMES_ENG
 
#define MBG_NTP_PEER_STATUS_STR_ENG_LABEL   "Peer Status:"
 
#define MBG_NTP_PEER_STATUS_STR_ENG_BCST   "Broadcast association"
 
#define MBG_NTP_PEER_STATUS_STR_ENG_REACH   "Host reachable"
 
#define MBG_NTP_PEER_STATUS_STR_ENG_AUTHENB   "Authentication enabled"
 
#define MBG_NTP_PEER_STATUS_STR_ENG_CONFIG   "Persistant assosiation"
 
#define MBG_NTP_PEER_STATUS_NAMES_ENG
 
#define MBG_NTP_PEER_EVT_STR_ENG_CNT_LABEL   "Peer Event Counter:"
 
#define MBG_NTP_PEER_EVT_STR_ENG_MSG_LABEL   "Peer Event Message:"
 
#define MBG_NTP_PEER_EVT_STR_ENG_UNSPEC   "Unspecified NTP event"
 
#define MBG_NTP_PEER_EVT_STR_ENG_MOBILIZE   "Association mobilized"
 
#define MBG_NTP_PEER_EVT_STR_ENG_DEMOBILIZE   "Association demobilized"
 
#define MBG_NTP_PEER_EVT_STR_ENG_UNREACHABLE   "Server unreachable"
 
#define MBG_NTP_PEER_EVT_STR_ENG_REACHABLE   "Server reachable"
 
#define MBG_NTP_PEER_EVT_STR_ENG_RESTART   "Association restart"
 
#define MBG_NTP_PEER_EVT_STR_ENG_NO_REPLY   "No server found"
 
#define MBG_NTP_PEER_EVT_STR_ENG_RATE_EXCEEDED   "Rate exceeded"
 
#define MBG_NTP_PEER_EVT_STR_ENG_ACCESS_DENIED   "Access denied"
 
#define MBG_NTP_PEER_EVT_STR_ENG_LEAP_ARMED   "Leap second armed from LI code"
 
#define MBG_NTP_PEER_EVT_STR_ENG_SYS_PEER   "Become system Peer"
 
#define MBG_NTP_PEER_EVT_STR_ENG_CLOCK_EVENT   "Clock event"
 
#define MBG_NTP_PEER_EVT_STR_ENG_BAD_AUTH   "Authentication failure"
 
#define MBG_NTP_PEER_EVT_STR_ENG_POPCORN   "Popcorn Spike suspressor"
 
#define MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_MODE   "Entering Interleave mode"
 
#define MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_ERROR   "Interleave error"
 
#define MBG_NTP_PEER_EVT_NAMES_ENG
 
#define MBG_NTP_FLASH_STR_ENG_LABEL   "Flash Status:"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_DUP   "Duplicate packet"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_BOGUS   "Bogus packet"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_UNSYNC   "Server not synchronized"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_DENIED   "Access denied"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_AUTH   "Authentication failure"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_STRATUM   "Invalid leap or stratum"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_HEADER   "Header distance exceeded"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_AUTOKEY   "Autokey sequence error"
 
#define MBG_NTP_FLASH_STR_ENG_PKT_CRYPTO   "Autokey protocol error"
 
#define MBG_NTP_FLASH_STR_ENG_PEER_STRATUM   "Invalid header or stratum"
 
#define MBG_NTP_FLASH_STR_ENG_PEER_DIST   "Distance threshold exceeded"
 
#define MBG_NTP_FLASH_STR_ENG_PEER_LOOP   "Synchronization loop"
 
#define MBG_NTP_FLASH_STR_ENG_PEER_UNREACH   "Unreachable or nonselect"
 
#define MBG_NTP_FLASH_NAMES_ENG
 
#define _mbg_swab_ntp_peer_state(_p)
 
#define _mbg_swab_ntp_refclk_state   ( _p ) _mbg_swab_ntp_peer_state( _p )
 
#define _mbg_swab_ntp_peer_state_idx(_p)
 
#define _mbg_swab_ntp_refclk_state_idx(_p)   _mbg_swab_ntp_peer_state_idx( _p )
 

Typedefs

typedef struct NTP_PEER_STATE NTP_REFCLK_STATE
 
typedef struct NTP_PEER_STATE_IDX NTP_REFCLK_STATE_IDX
 

Enumerations

enum  NTP_ROLES {
  NTP_ROLE_NONE = 0, NTP_ROLE_CLIENT, NTP_ROLE_SERVER, NTP_ROLE_CLIENT_SERVER,
  N_NTP_ROLES
}
 Enumeration of known NTP roles. More...
 
enum  NTP_ROLE_MASKS { NTP_MSK_ROLE_NONE = ( 1UL << NTP_ROLE_NONE ), NTP_MSK_ROLE_CLIENT = ( 1UL << NTP_ROLE_CLIENT ), NTP_MSK_ROLE_SERVER = ( 1UL << NTP_ROLE_SERVER ), NTP_MSK_ROLE_CLIENT_SERVER = ( 1UL << NTP_ROLE_CLIENT_SERVER ) }
 Flag masks associated with NTP roles. More...
 
enum  NTP_FLAGS {
  NTP_IPV4, NTP_IPV6, NTP_SYMM_KEYS, NTP_AUTOKEY,
  NTP_BURST, NTP_IBURST, NTP_NO_SELECT, NTP_PREEMPT,
  NTP_PREFER, NTP_TRUE, NTP_BROADCAST, NTP_MULTICAST,
  NTP_MANYCAST, NTP_POOL, NTP_PEER, NTP_BROADCASTCLIENT,
  NTP_MULTICASTCLIENT, NTP_MANYCASTCLIENT, NTP_RESTRICTIONS, NTP_DISCARD,
  NTP_REFCLOCKS, NTP_STATISTICS, NTP_MISCELLANEOUS, NTP_TRUSTED_KEYS,
  NTP_FIXED_REFCLOCKS, NTP_ADD_CONF, N_NTP_FLAGS
}
 Enumeration of global NTP flags. More...
 
enum  NTP_RESTR_TYPES { NTP_RESTR_TYPE_DEFAULT, NTP_RESTR_TYPE_SOURCE, NTP_RESTR_TYPE_ADDRESS, N_NTP_RESTR_TYPES }
 Enumeration of supported NTP restriction types/keywords. More...
 
enum  NTP_RESTR_TYPE_MSKS { NTP_RESTR_TYPE_MSK_DEFAULT = ( 1UL << NTP_RESTR_TYPE_DEFAULT ), NTP_RESTR_TYPE_MSK_SOURCE = ( 1UL << NTP_RESTR_TYPE_SOURCE ), NTP_RESTR_TYPE_MSK_ADDRESS = ( 1UL << NTP_RESTR_TYPE_ADDRESS ) }
 Bit masks associated with NTP_RESTR_TYPES. More...
 
enum  NTP_RESTR_FLAGS {
  NTP_RESTR_FLAG_FLAKE, NTP_RESTR_FLAG_IGNORE, NTP_RESTR_FLAG_KOD, NTP_RESTR_FLAG_LIMITED,
  NTP_RESTR_FLAG_LOWPRIOTRAP, NTP_RESTR_FLAG_MSSNTP, NTP_RESTR_FLAG_NOMODIFY, NTP_RESTR_FLAG_NOQUERY,
  NTP_RESTR_FLAG_NOPEER, NTP_RESTR_FLAG_NOSERVE, NTP_RESTR_FLAG_NOTRAP, NTP_RESTR_FLAG_NOTRUST,
  NTP_RESTR_FLAG_NTPPORT, NTP_RESTR_FLAG_VERSION, NTP_RESTR_FLAG_IPV4, NTP_RESTR_FLAG_IPV6,
  N_NTP_RESTR_FLAGS
}
 Enumeration of supported NTP restriction flags. More...
 
enum  NTP_RESTR_FLAG_MSKS {
  NTP_RESTR_FLAG_MSK_FLAKE = ( 1UL << NTP_RESTR_FLAG_FLAKE ), NTP_RESTR_FLAG_MSK_IGNORE = ( 1UL << NTP_RESTR_FLAG_IGNORE ), NTP_RESTR_FLAG_MSK_KOD = ( 1UL << NTP_RESTR_FLAG_KOD ), NTP_RESTR_FLAG_MSK_LIMITED = ( 1UL << NTP_RESTR_FLAG_LIMITED ),
  NTP_RESTR_FLAG_MSK_LOWPRIOTRAP = ( 1UL << NTP_RESTR_FLAG_LOWPRIOTRAP ), NTP_RESTR_FLAG_MSK_MSSNTP = ( 1UL << NTP_RESTR_FLAG_MSSNTP ), NTP_RESTR_FLAG_MSK_NOMODIFY = ( 1UL << NTP_RESTR_FLAG_NOMODIFY ), NTP_RESTR_FLAG_MSK_NOQUERY = ( 1UL << NTP_RESTR_FLAG_NOQUERY ),
  NTP_RESTR_FLAG_MSK_NOPEER = ( 1UL << NTP_RESTR_FLAG_NOPEER ), NTP_RESTR_FLAG_MSK_NOSERVE = ( 1UL << NTP_RESTR_FLAG_NOSERVE ), NTP_RESTR_FLAG_MSK_NOTRAP = ( 1UL << NTP_RESTR_FLAG_NOTRAP ), NTP_RESTR_FLAG_MSK_NOTRUST = ( 1UL << NTP_RESTR_FLAG_NOTRUST ),
  NTP_RESTR_FLAG_MSK_NTPPORT = ( 1UL << NTP_RESTR_FLAG_NTPPORT ), NTP_RESTR_FLAG_MSK_VERSION = ( 1UL << NTP_RESTR_FLAG_VERSION ), NTP_RESTR_FLAG_MSK_IPV4 = ( 1UL << NTP_RESTR_FLAG_IPV4 ), NTP_RESTR_FLAG_MSK_IPV6 = ( 1UL << NTP_RESTR_FLAG_IPV6 )
}
 Flag masks associated with NTP_RESTR_FLAGS. More...
 
enum  NTP_GLB_STATS_FLAGS {
  NTP_GLB_STATS_FLAG_ENABLE, NTP_GLB_STATS_FLAG_CLOCKSTATS, NTP_GLB_STATS_FLAG_CRYPTOSTATS, NTP_GLB_STATS_FLAG_LOOPSTATS,
  NTP_GLB_STATS_FLAG_PEERSTATS, NTP_GLB_STATS_FLAG_RAWSTATS, NTP_GLB_STATS_FLAG_SYSSTATS, NTP_GLB_STATS_FLAG_FILEGEN,
  N_NTP_GLB_STATS_FLAGS
}
 Enumeration of NTP supported statistics. More...
 
enum  NTP_GLB_STATS_MASKS {
  NTP_GLB_STATS_MSK_ENABLE = ( 1UL << NTP_GLB_STATS_FLAG_ENABLE ), NTP_GLB_STATS_MSK_CLOCKSTATS = ( 1UL << NTP_GLB_STATS_FLAG_CLOCKSTATS ), NTP_GLB_STATS_MSK_CRYPTOSTATS = ( 1UL << NTP_GLB_STATS_FLAG_CRYPTOSTATS ), NTP_GLB_STATS_MSK_LOOPSTATS = ( 1UL << NTP_GLB_STATS_FLAG_LOOPSTATS ),
  NTP_GLB_STATS_MSK_PEERSTATS = ( 1UL << NTP_GLB_STATS_FLAG_PEERSTATS ), NTP_GLB_STATS_MSK_RAWSTATS = ( 1UL << NTP_GLB_STATS_FLAG_RAWSTATS ), NTP_GLB_STATS_MSK_SYSSTATS = ( 1UL << NTP_GLB_STATS_FLAG_SYSSTATS ), NTP_GLB_STATS_MSK_FILEGEN = ( 1UL << NTP_GLB_STATS_FLAG_FILEGEN )
}
 Flag masks associated with NTP_GLB_STATS_FLAGS. More...
 
enum  NTP_REFCLK_TYPES {
  NTP_REFCLK_TYPE_LOCAL, NTP_REFCLK_TYPE_TRUETIME, NTP_REFCLK_TYPE_PARSE, NTP_REFCLK_TYPE_NMEA,
  NTP_REFCLK_TYPE_PPS, NTP_REFCLK_TYPE_SHM, N_NTP_REFCLK_TYPES
}
 Enumeration of supported refclock types. More...
 
enum  NTP_REFCLK_TYPE_MSKS {
  NTP_REFCLK_TYPE_MSK_LOCAL = ( 1UL << NTP_REFCLK_TYPE_LOCAL ), NTP_REFCLK_TYPE_MSK_TRUETIME = ( 1UL << NTP_REFCLK_TYPE_TRUETIME ), NTP_REFCLK_TYPE_MSK_PARSE = ( 1UL << NTP_REFCLK_TYPE_PARSE ), NTP_REFCLK_TYPE_MSK_NMEA = ( 1UL << NTP_REFCLK_TYPE_NMEA ),
  NTP_REFCLK_TYPE_MSK_PPS = ( 1UL << NTP_REFCLK_TYPE_PPS ), NTP_REFCLK_TYPE_MSK_SHM = ( 1UL << NTP_REFCLK_TYPE_SHM )
}
 Bit masks associated with NTP_REFCLK_TYPES. More...
 
enum  NTP_REFCLK_CFG_FLAGS { NTP_REFCLK_CFG_TRUSTTIME, N_NTP_REFCLK_CFG_FLAGS }
 Enumeration of NTP refclock config flags. More...
 
enum  NTP_SYMM_KEY_HASHES { NTP_SYMM_KEY_HASH_MD5, NTP_SYMM_KEY_HASH_SHA1, N_NTP_SYMM_KEY_HASHES }
 Enumeration of NTP supported symmetric key hashing algorithms. More...
 
enum  NTP_SYMM_KEY_HASH_MASKS { NTP_SYMM_KEY_HASH_MSK_MD5 = ( 1UL << NTP_SYMM_KEY_HASH_MD5 ), NTP_SYMM_KEY_HASH_MSK_SHA1 = ( 1UL << NTP_SYMM_KEY_HASH_SHA1 ) }
 Flag masks associated with NTP_SYMM_KEY_HASHES. More...
 
enum  NTP_MISC_FLAGS { NTP_MISC_FLAG_DRIFTFILE, NTP_MISC_FLAG_ORPHAN_MODE, NTP_MISC_FLAG_LEAPFILE, N_NTP_MISC_FLAGS }
 Enumeration of NTP supported (various) misc options. More...
 
enum  NTP_MISC_MSKS { NTP_MISC_MSK_DRIFTFILE = ( 1UL << NTP_MISC_FLAG_DRIFTFILE ), NTP_MISC_MSK_ORPHAN_MODE = ( 1UL << NTP_MISC_FLAG_ORPHAN_MODE ), NTP_MISC_MSK_LEAPFILE = ( 1UL << NTP_MISC_FLAG_LEAPFILE ) }
 Flag masks associated with NTP_MISC_FLAGS. More...
 
enum  NTP_ORPHAN_MODE_FLAGS { NTP_ORPHAN_MODE_FLAG_SUPP_DISABLE, N_NTP_ORPHAN_MODE_FLAGS }
 Enumeration of NTP supported (various) misc options. More...
 
enum  NTP_ORPHAN_MODE_MSK { NTP_ORPHAN_MODE_MSK_SUPP_DISABLE = ( 1UL << NTP_ORPHAN_MODE_FLAG_SUPP_DISABLE ) }
 Flag masks associated with NTP_ORPHAN_MODE_FLAGS. More...
 
enum  NTP_IMPL {
  NTP_IMPL_UNKNOWN = 0, NTP_IMPL_NTPD, NTP_IMPL_NTPDATE, NTP_IMPL_SNTP,
  NTP_IMPL_W32TIME, NTP_IMPL_MBGNTP, N_NTP_IMPLS
}
 Enumeration of known NTP implementations. More...
 
enum  NTP_CPU_TYPES {
  NTP_CPU_TYPE_UNKNOWN = 0, NTP_CPU_TYPE_X86, NTP_CPU_TYPE_I386, NTP_CPU_TYPE_I486,
  NTP_CPU_TYPE_I586, NTP_CPU_TYPE_I686, NTP_CPU_TYPE_X64, NTP_CPU_TYPE_X86_64,
  NTP_CPU_TYPE_AMD64, NTP_CPU_TYPE_SUN4U, NTP_CPU_TYPE_ARM, N_NTP_CPU_TYPES
}
 Enumeration of CPU types using NTP. More...
 
enum  NTP_SYSTEMS {
  NTP_SYSTEM_UNKNOWN = 0, NTP_SYSTEM_NONE, NTP_SYSTEM_WINDOWS, NTP_SYSTEM_LINUX,
  NTP_SYSTEM_BSD, NTP_SYSTEM_SOLARIS, N_NTP_SYSTEMS
}
 Enumeration of operating systems using NTP. More...
 
enum  NTP_LI_BITS {
  NTP_LEAP_NONE = 0, NTP_LEAP_ADD_SEC, NTP_LEAP_DEL_SEC, NTP_LEAP_ALARM,
  N_NTP_LI_BITS
}
 Enumeration of NTP leap indication bits. More...
 
enum  NTP_SYNC_SRC_BITS {
  NTP_SYNC_SRC_UNSPEC = 0, NTP_SYNC_SRC_PPS, NTP_SYNC_SRC_LF_RADIO, NTP_SYNC_SRC_HF_RADIO,
  NTP_SYNC_SRC_UHF_RADIO, NTP_SYNC_SRC_LOCAL, NTP_SYNC_SRC_NTP, NTP_SYNC_SRC_OTHER,
  NTP_SYNC_SRC_WRISTWATCH, NTP_SYNC_SRC_TELEPHONE, N_NTP_SYNC_SRC_BITS
}
 Enumeration of NTP synchronization source bits. More...
 
enum  NTP_SYS_EVT_BITS {
  NTP_SYS_EVT_UNSPEC = 0, NTP_SYS_EVT_FREQ_NOT_SET, NTP_SYS_EVT_FREQ_SET, NTP_SYS_EVT_SPIKE_DETECT,
  NTP_SYS_EVT_FREQ_MODE, NTP_SYS_EVT_CLOCK_SYNC, NTP_SYS_EVT_RESTART, NTP_SYS_EVT_PANIC_STOP,
  NTP_SYS_EVT_NO_SYSTEM_PEER, NTP_SYS_EVT_LEAP_ARMED, NTP_SYS_EVT_LEAP_DISARMED, NTP_SYS_EVT_LEAP_EVENT,
  NTP_SYS_EVT_CLOCK_STEP, NTP_SYS_EVT_KERNEL, NTP_SYS_EVT_TAI, NTP_SYS_EVT_STALE_LS_VALUES,
  N_NTP_SYS_EVT_BITS
}
 Enumeration of NTP system event message bits. More...
 
enum  NTP_SYS_STATE_SUPP_FLAGS {
  NTP_SYS_STATE_SUPP_STD = 0, NTP_SYS_STATE_SUPP_EVENTS, NTP_SYS_STATE_SUPP_PRECISION, NTP_SYS_STATE_SUPP_ROOT_DELAY,
  NTP_SYS_STATE_SUPP_ROOT_DISP, NTP_SYS_STATE_SUPP_FREQ, NTP_SYS_STATE_SUPP_SYS_JITTER, NTP_SYS_STATE_SUPP_CLK_JITTER,
  NTP_SYS_STATE_SUPP_CLK_WANDER, NTP_SYS_STATE_SUPP_SYS_ASSOC, NTP_SYS_STATE_SUPP_SERVICE_STATE, N_NTP_SYS_STATE_SUPP_FLAGS
}
 Enumeration of supported NTP system state values. More...
 
enum  NTP_SYS_STATE_SUPP_FLAG_MASKS {
  NTP_SYS_STATE_SUPP_STD_MSK = ( 1UL << NTP_SYS_STATE_SUPP_STD ), NTP_SYS_STATE_SUPP_EVENTS_MSK = ( 1UL << NTP_SYS_STATE_SUPP_EVENTS ), NTP_SYS_STATE_SUPP_PRECISION_MSK = ( 1UL << NTP_SYS_STATE_SUPP_PRECISION ), NTP_SYS_STATE_SUPP_ROOT_DELAY_MSK = ( 1UL << NTP_SYS_STATE_SUPP_ROOT_DELAY ),
  NTP_SYS_STATE_SUPP_ROOT_DISP_MSK = ( 1UL << NTP_SYS_STATE_SUPP_ROOT_DISP ), NTP_SYS_STATE_SUPP_FREQ_MSK = ( 1UL << NTP_SYS_STATE_SUPP_FREQ ), NTP_SYS_STATE_SUPP_SYS_JITTER_MSK = ( 1UL << NTP_SYS_STATE_SUPP_SYS_JITTER ), NTP_SYS_STATE_SUPP_CLK_JITTER_MSK = ( 1UL << NTP_SYS_STATE_SUPP_CLK_JITTER ),
  NTP_SYS_STATE_SUPP_CLK_WANDER_MSK = ( 1UL << NTP_SYS_STATE_SUPP_CLK_WANDER ), NTP_SYS_STATE_SUPP_SYS_ASSOC_MSK = ( 1UL << NTP_SYS_STATE_SUPP_SYS_ASSOC ), NTP_SYS_STATE_SUPP_SERVICE_STATE_MSK = ( 1UL << NTP_SYS_STATE_SUPP_SERVICE_STATE )
}
 Flag masks for NTP_SYS_STATE_SUPP_FLAGS. More...
 
enum  MBG_NTP_SERVICE_STATES {
  MBG_NTP_SERVICE_INIT, MBG_NTP_SERVICE_SYNC, MBG_NTP_SERVICE_ASYNC, MBG_NTP_SERVICE_STOPPED,
  N_MBG_NTP_SERVICE_STATES
}
 Enumeration of supported NTP service state values. More...
 
enum  NTP_MODE_BITS {
  NTP_MODE_RESERVED = 0, NTP_MODE_SYMM_ACT, NTP_MODE_SYMM_PASS, NTP_MODE_CLIENT,
  NTP_MODE_SERVER, NTP_MODE_BROADCAST, NTP_MODE_CONTROL, NTP_MODE_PRIVATE,
  N_NTP_MODE_BITS
}
 Enumeration of NTP mode bits. More...
 
enum  NTP_REACH_STAT_BITS {
  NTP_REACH_STAT_UNKNOWN = 0, NTP_REACH_STAT_NO_LINK, NTP_REACH_STAT_DNS_UNREACH, NTP_REACH_STAT_DNS_UNRESOLVED,
  NTP_REACH_STAT_PEER_UNREACH, NTP_REACH_STAT_PEER_NOT_SYNC, NTP_REACH_STAT_PEER_BAD_QUALITY, NTP_REACH_STAT_OK,
  N_NTP_REACH_STAT_BITS
}
 Enumeration of NTP peer reach status. More...
 
enum  NTP_PEER_SEL_STATUS_BITS {
  NTP_PEER_SEL_REJECT = 0, NTP_PEER_SEL_FALSETICK, NTP_PEER_SEL_EXCESS, NTP_PEER_SEL_OUTLYER,
  NTP_PEER_SEL_CANDIDATE, NTP_PEER_SEL_BACKUP, NTP_PEER_SEL_SYS_PEER, NTP_PEER_SEL_PPS_PEER,
  N_NTP_PEER_SEL_STATUS_BITS
}
 Enumeration of NTP peer selection status. More...
 
enum  NTP_PEER_STATUS_FLAGS {
  NTP_PEER_STATUS_BCST = 0, NTP_PEER_STATUS_REACH, NTP_PEER_STATUS_AUTHENB, NTP_PEER_STATUS_AUTH,
  NTP_PEER_STATUS_CONFIG, N_NTP_PEER_STATUS_FLAGS
}
 Enumeration of NTP peer status codes. More...
 
enum  NTP_PEER_STATUS_FLAG_MASKS {
  NTP_PEER_STATUS_BCST_MSK = ( 1UL << NTP_PEER_STATUS_BCST ), NTP_PEER_STATUS_REACH_MSK = ( 1UL << NTP_PEER_STATUS_REACH ), NTP_PEER_STATUS_AUTHENB_MSK = ( 1UL << NTP_PEER_STATUS_AUTHENB ), NTP_PEER_STATUS_AUTH_MSK = ( 1UL << NTP_PEER_STATUS_AUTH ),
  NTP_PEER_STATUS_CONFIG_MSK = ( 1UL << NTP_PEER_STATUS_CONFIG )
}
 Flag masks for NTP_PEER_STATUS_FLAGS. More...
 
enum  NTP_PEER_EVT_BITS {
  NTP_PEER_EVT_UNSPEC = 0, NTP_PEER_EVT_MOBILIZE, NTP_PEER_EVT_DEMOBILIZE, NTP_PEER_EVT_UNREACHABLE,
  NTP_PEER_EVT_REACHABLE, NTP_PEER_EVT_RESTART, NTP_PEER_EVT_NO_REPLY, NTP_PEER_EVT_RATE_EXCEEDED,
  NTP_PEER_EVT_ACCESS_DENIED, NTP_PEER_EVT_LEAP_ARMED, NTP_PEER_EVT_SYS_PEER, NTP_PEER_EVT_CLOCK_EVENT,
  NTP_PEER_EVT_BAD_AUTH, NTP_PEER_EVT_POPCORN, NTP_PEER_EVT_INTERLEAVE_MODE, NTP_PEER_EVT_INTERLEAVE_ERROR,
  N_NTP_PEER_EVT_BITS
}
 Enumeration of NTP peer event message codes. More...
 
enum  NTP_FLASH_STAT_FLAGS {
  NTP_FLASH_STAT_PKT_DUP = 0, NTP_FLASH_STAT_PKT_BOGUS, NTP_FLASH_STAT_PKT_UNSYNC, NTP_FLASH_STAT_PKT_DENIED,
  NTP_FLASH_STAT_PKT_AUTH, NTP_FLASH_STAT_PKT_STRATUM, NTP_FLASH_STAT_PKT_HEADER, NTP_FLASH_STAT_PKT_AUTOKEY,
  NTP_FLASH_STAT_PKT_CRYPTO, NTP_FLASH_STAT_PEER_STRATUM, NTP_FLASH_STAT_PEER_DIST, NTP_FLASH_STAT_PEER_LOOP,
  NTP_FLASH_STAT_PEER_UNREACH, N_NTP_FLASH_STAT_FLAGS
}
 Enumeration of NTP flash status bit codes. More...
 
enum  NTP_FLASH_STAT_FLAG_MASKS {
  NTP_FLASH_STAT_PKT_DUP_MSK = ( 1UL << NTP_FLASH_STAT_PKT_DUP ), NTP_FLASH_STAT_PKT_BOGUS_MSK = ( 1UL << NTP_FLASH_STAT_PKT_BOGUS ), NTP_FLASH_STAT_PKT_UNSYNC_MSK = ( 1UL << NTP_FLASH_STAT_PKT_UNSYNC ), NTP_FLASH_STAT_PKT_DENIED_MSK = ( 1UL << NTP_FLASH_STAT_PKT_DENIED ),
  NTP_FLASH_STAT_PKT_AUTH_MSK = ( 1UL << NTP_FLASH_STAT_PKT_AUTH ), NTP_FLASH_STAT_PKT_STRATUM_MSK = ( 1UL << NTP_FLASH_STAT_PKT_STRATUM ), NTP_FLASH_STAT_PKT_HEADER_MSK = ( 1UL << NTP_FLASH_STAT_PKT_HEADER ), NTP_FLASH_STAT_PKT_AUTOKEY_MSK = ( 1UL << NTP_FLASH_STAT_PKT_AUTOKEY ),
  NTP_FLASH_STAT_PKT_CRYPTO_MSK = ( 1UL << NTP_FLASH_STAT_PKT_CRYPTO ), NTP_FLASH_STAT_PEER_STRATUM_MSK = ( 1UL << NTP_FLASH_STAT_PEER_STRATUM ), NTP_FLASH_STAT_PEER_DIST_MSK = ( 1UL << NTP_FLASH_STAT_PEER_DIST ), NTP_FLASH_STAT_PEER_LOOP_MSK = ( 1UL << NTP_FLASH_STAT_PEER_LOOP ),
  NTP_FLASH_STAT_PEER_UNREACH_MSK = ( 1UL << NTP_FLASH_STAT_PEER_UNREACH )
}
 Flag masks for NTP_FLASH_STAT_FLAGS. More...
 
enum  NTP_PEER_STATE_SUPP_FLAGS {
  NTP_PEER_STATE_SUPP_STD, NTP_PEER_STATE_SUPP_ASS_ID, NTP_PEER_STATE_SUPP_EVENTS, NTP_PEER_STATE_SUPP_REACH_STAT,
  NTP_PEER_STATE_SUPP_PRECISION, NTP_PEER_STATE_SUPP_ROOT_DELAY, NTP_PEER_STATE_SUPP_ROOT_DISP, NTP_PEER_STATE_SUPP_HEADWAY,
  NTP_PEER_STATE_SUPP_FLASH_STAT, NTP_PEER_STATE_SUPP_KEY_ID, NTP_PEER_STATE_SUPP_DISP, NTP_PEER_STATE_SUPP_JITTER,
  NTP_PEER_STATE_SUPP_XLEAVE, N_NTP_PEER_STATE_SUPP_FLAGS
}
 Enumeration of supported NTP peer state values. More...
 
enum  NTP_PEER_STATE_SUPP_FLAG_MASKS {
  NTP_PEER_STATE_SUPP_STD_MSK = ( 1UL << NTP_PEER_STATE_SUPP_STD ), NTP_PEER_STATE_SUPP_ASS_ID_MSK = ( 1UL << NTP_PEER_STATE_SUPP_ASS_ID ), NTP_PEER_STATE_SUPP_EVENTS_MSK = ( 1UL << NTP_PEER_STATE_SUPP_EVENTS ), NTP_PEER_STATE_SUPP_REACH_STAT_MSK = ( 1UL << NTP_PEER_STATE_SUPP_REACH_STAT ),
  NTP_PEER_STATE_SUPP_PRECISION_MSK = ( 1UL << NTP_PEER_STATE_SUPP_PRECISION ), NTP_PEER_STATE_SUPP_ROOT_DELAY_MSK = ( 1UL << NTP_PEER_STATE_SUPP_ROOT_DELAY ), NTP_PEER_STATE_SUPP_ROOT_DISP_MSK = ( 1UL << NTP_PEER_STATE_SUPP_ROOT_DISP ), NTP_PEER_STATE_SUPP_HEADWAY_MSK = ( 1UL << NTP_PEER_STATE_SUPP_HEADWAY ),
  NTP_PEER_STATE_SUPP_FLASH_STAT_MSK = ( 1UL << NTP_PEER_STATE_SUPP_FLASH_STAT ), NTP_PEER_STATE_SUPP_KEY_ID_MSK = ( 1UL << NTP_PEER_STATE_SUPP_KEY_ID ), NTP_PEER_STATE_SUPP_DISP_MSK = ( 1UL << NTP_PEER_STATE_SUPP_DISP ), NTP_PEER_STATE_SUPP_JITTER_MSK = ( 1UL << NTP_PEER_STATE_SUPP_JITTER ),
  NTP_PEER_STATE_SUPP_XLEAVE_MSK = ( 1UL << NTP_PEER_STATE_SUPP_XLEAVE )
}
 Flag masks for NTP_PEER_STATE_SUPP_FLAGS. More...
 
#define NTP_MSK_IPV4   ( 1UL << NTP_IPV4 )
 Flag masks associated with NTP_FLAGS. More...
 
#define NTP_MSK_IPV6   ( 1UL << NTP_IPV6 )
 see NTP_IPV6 More...
 
#define NTP_MSK_SYMM_KEYS   ( 1UL << NTP_SYMM_KEYS )
 see NTP_SYMM_KEYS; if set, NTP_SYMM_KEY_LIMITS can be queried More...
 
#define NTP_MSK_AUTOKEY   ( 1UL << NTP_AUTOKEY )
 see NTP_AUTOKEY More...
 
#define NTP_MSK_BURST   ( 1UL << NTP_BURST )
 see NTP_BURST More...
 
#define NTP_MSK_IBURST   ( 1UL << NTP_IBURST )
 see NTP_IBURST More...
 
#define NTP_MSK_NO_SELECT   ( 1UL << NTP_NO_SELECT )
 see NTP_NO_SELECT More...
 
#define NTP_MSK_PREEMPT   ( 1UL << NTP_PREEMPT )
 see NTP_PREEMPT More...
 
#define NTP_MSK_PREFER   ( 1UL << NTP_PREFER )
 see NTP_PREFER More...
 
#define NTP_MSK_TRUE   ( 1UL << NTP_TRUE )
 see NTP_TRUE More...
 
#define NTP_MSK_BROADCAST   ( 1UL << NTP_BROADCAST )
 see NTP_BROADCAST More...
 
#define NTP_MSK_MULTICAST   ( 1UL << NTP_MULTICAST )
 see NTP_MULTICAST More...
 
#define NTP_MSK_MANYCAST   ( 1UL << NTP_MANYCAST )
 see NTP_MANYCAST More...
 
#define NTP_MSK_POOL   ( 1UL << NTP_POOL )
 see NTP_POOL More...
 
#define NTP_MSK_PEER   ( 1UL << NTP_PEER )
 see NTP_PEER More...
 
#define NTP_MSK_BROADCASTCLIENT   ( 1UL << NTP_BROADCASTCLIENT)
 see NTP_BROADCASTCLIENT More...
 
#define NTP_MSK_MULTICASTCLIENT   ( 1UL << NTP_MULTICASTCLIENT)
 see NTP_MULTICASTCLIENT More...
 
#define NTP_MSK_MANYCASTCLIENT   ( 1UL << NTP_MANYCASTCLIENT)
 see NTP_MANYCASTCLIENT More...
 
#define NTP_MSK_RESTRICTIONS   ( 1UL << NTP_RESTRICTIONS )
 see NTP_RESTRICTIONS More...
 
#define NTP_MSK_DISCARD   ( 1UL << NTP_DISCARD )
 see NTP_DISCARD More...
 
#define NTP_MSK_REFCLOCKS   ( 1UL << NTP_REFCLOCKS )
 see NTP_REFCLOCKS More...
 
#define NTP_MSK_STATISTICS   ( 1UL << NTP_STATISTICS )
 see NTP_STATISTICS; if set, NTP_STATS_GLB_INFO can be queried More...
 
#define NTP_MSK_MISCELLANEOUS   ( 1UL << NTP_MISCELLANEOUS )
 see NTP_MISCELLANEOUS More...
 
#define NTP_MSK_TRUSTED_KEYS   ( 1UL << NTP_TRUSTED_KEYS )
 see NTP_TRUSTED_KEYS More...
 
#define NTP_MSK_FIXED_REFCLOCKS   ( 1UL << NTP_FIXED_REFCLOCKS )
 see NTP_FIXED_REFCLOCKS More...
 
#define NTP_MSK_ADD_CONF   ( 1UL << NTP_ADD_CONF )
 see NTP_ADD_CONF More...
 
#define NTP_MIN_REFCLOCK_FUDGE_FLAG   1
 Numbers related to the "fudge" flags used with ntpd's refclock interface. More...
 
#define N_NTP_REFCLOCK_FUDGE_FLAGS   4
 the number of supported fudge flags More...
 
#define NTP_MSK_REFCLK_CFG_TRUSTTIME   ( 1UL << NTP_REFCLK_CFG_TRUSTTIME )
 Flag masks associated with NTP_REFCLK_CFG_FLAGS. More...
 

Detailed Description

Macro Definition Documentation

◆ _mbg_swab_ntp_clnt_mode_info

#define _mbg_swab_ntp_clnt_mode_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_clnt_mode_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->supp_peer_flags ); \
} while ( 0 )

Definition at line 16277 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_clnt_mode_info().

◆ _mbg_swab_ntp_clnt_mode_settings

#define _mbg_swab_ntp_clnt_mode_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 16245 of file gpsdefs.h.

Referenced by mbgextio_set_ntp_clnt_mode_cfg().

◆ _mbg_swab_ntp_discard_limits

#define _mbg_swab_ntp_discard_limits (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->monitor_min ); \
_mbg_swab16( &(_p)->monitor_max ); \
_mbg_swab32( &(_p)->reserved ); \
} while ( 0 )

Definition at line 15462 of file gpsdefs.h.

◆ _mbg_swab_ntp_discard_settings

#define _mbg_swab_ntp_discard_settings (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->monitor ); \
_mbg_swab32( &(_p)->reserved ); \
} while ( 0 )

Definition at line 15484 of file gpsdefs.h.

◆ _mbg_swab_ntp_glb_info

#define _mbg_swab_ntp_glb_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_glb_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->supp_ntp_roles ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 15261 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_glb_info().

◆ _mbg_swab_ntp_glb_settings

#define _mbg_swab_ntp_glb_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 15234 of file gpsdefs.h.

Referenced by mbgextio_set_ntp_glb_info().

◆ _mbg_swab_ntp_misc_driftfile_settings

#define _mbg_swab_ntp_misc_driftfile_settings (   _p)
Value:
do \
{ \
} while ( 0 )

Definition at line 16131 of file gpsdefs.h.

◆ _mbg_swab_ntp_misc_leapfile_settings

#define _mbg_swab_ntp_misc_leapfile_settings (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->reserved_2 ); \
} while ( 0 )

Definition at line 16221 of file gpsdefs.h.

◆ _mbg_swab_ntp_misc_limits

#define _mbg_swab_ntp_misc_limits (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 16109 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_misc_limits().

◆ _mbg_swab_ntp_misc_orphan_mode_info

#define _mbg_swab_ntp_misc_orphan_mode_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_misc_orphan_mode_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 16199 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_misc_orphan_mode_info().

◆ _mbg_swab_ntp_misc_orphan_mode_settings

#define _mbg_swab_ntp_misc_orphan_mode_settings (   _p)
Value:
do \
{ \
} while ( 0 )

Definition at line 16178 of file gpsdefs.h.

Referenced by mbgextio_set_ntp_misc_orphan_mode_settings().

◆ _mbg_swab_ntp_peer_limits

#define _mbg_swab_ntp_peer_limits (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->n_supp_peers ); \
_mbg_swab16( &(_p)->n_cur_peers ); \
_mbg_swab32( &(_p)->supp_assoc_types ); \
_mbg_swab32( &(_p)->reserved_3 ); \
_mbg_swab32( &(_p)->supp_flags_server ); \
_mbg_swab32( &(_p)->supp_flags_peer ); \
_mbg_swab32( &(_p)->supp_flags_pool ); \
_mbg_swab32( &(_p)->supp_flags_broadcast ); \
_mbg_swab32( &(_p)->supp_flags_multicast ); \
_mbg_swab32( &(_p)->supp_flags_manycast ); \
_mbg_swab32( &(_p)->supp_flags_broadcastclient ); \
_mbg_swab32( &(_p)->supp_flags_multicastclient ); \
_mbg_swab32( &(_p)->supp_flags_manycastclient ); \
_mbg_swab32( &(_p)->reserved_4 ); \
_mbg_swab32( &(_p)->reserved_5 ); \
_mbg_swab32( &(_p)->reserved_6 ); \
} while ( 0 )

Definition at line 16325 of file gpsdefs.h.

◆ _mbg_swab_ntp_peer_settings

#define _mbg_swab_ntp_peer_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->key ); \
_mbg_swab32( &(_p)->reserved_3 ); \
_mbg_swab32( &(_p)->reserved_4 ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 16377 of file gpsdefs.h.

◆ _mbg_swab_ntp_peer_settings_idx

#define _mbg_swab_ntp_peer_settings_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_peer_settings( &(_p)->peer_settings ); \
} while ( 0 )

Definition at line 16400 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_peer_settings_idx(), and mbgextio_set_ntp_peer_settings_idx().

◆ _mbg_swab_ntp_peer_state

#define _mbg_swab_ntp_peer_state (   _p)

Definition at line 17465 of file gpsdefs.h.

◆ _mbg_swab_ntp_peer_state_idx

#define _mbg_swab_ntp_peer_state_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_peer_state( &(_p)->peer_state ); \
} while ( 0 )

Definition at line 17547 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_peer_state_idx().

◆ _mbg_swab_ntp_refclk_cfg_info

#define _mbg_swab_ntp_refclk_cfg_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_refclk_cfg_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->supp_refclk_types ); \
} while ( 0 )

Definition at line 15781 of file gpsdefs.h.

◆ _mbg_swab_ntp_refclk_cfg_info_idx

#define _mbg_swab_ntp_refclk_cfg_info_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_refclk_cfg_info( &(_p)->info ); \
} while ( 0 )

Definition at line 15802 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_refclk_cfg_info_idx().

◆ _mbg_swab_ntp_refclk_cfg_settings

#define _mbg_swab_ntp_refclk_cfg_settings (   _p)
Value:
do \
{ \
_mbg_swab_nano_time_64( &(_p)->time1 ); \
_mbg_swab_nano_time_64( &(_p)->time2 ); \
_mbg_swab16( &(_p)->drv_flags_enable ); \
_mbg_swab16( &(_p)->drv_flags_value ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 15707 of file gpsdefs.h.

◆ _mbg_swab_ntp_refclk_cfg_settings_idx

#define _mbg_swab_ntp_refclk_cfg_settings_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_refclk_cfg_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 15731 of file gpsdefs.h.

Referenced by mbgextio_set_ntp_refclk_cfg_settings_idx().

◆ _mbg_swab_ntp_refclk_state

#define _mbg_swab_ntp_refclk_state   ( _p ) _mbg_swab_ntp_peer_state( _p )

Definition at line 17529 of file gpsdefs.h.

◆ _mbg_swab_ntp_refclk_state_idx

#define _mbg_swab_ntp_refclk_state_idx (   _p)    _mbg_swab_ntp_peer_state_idx( _p )

Definition at line 17555 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_refclk_state_idx().

◆ _mbg_swab_ntp_restr

#define _mbg_swab_ntp_restr (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab_ntp_restr_discard( &(_p)->u.discard ); \
} while ( 0 )

Definition at line 15412 of file gpsdefs.h.

◆ _mbg_swab_ntp_restr_idx

#define _mbg_swab_ntp_restr_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_restr( &(_p)->restr ); \
} while ( 0 )

Definition at line 15434 of file gpsdefs.h.

◆ _mbg_swab_ntp_restr_limits

#define _mbg_swab_ntp_restr_limits (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->max_restrs ); \
_mbg_swab16( &(_p)->cur_restrs ); \
_mbg_swab32( &(_p)->supp_types ); \
_mbg_swab32( &(_p)->supp_flags ); \
_mbg_swab32( &(_p)->reserved ); \
} while ( 0 )

Definition at line 15384 of file gpsdefs.h.

◆ _mbg_swab_ntp_short_tstamp

#define _mbg_swab_ntp_short_tstamp (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->seconds ); \
_mbg_swab16( &(_p)->fractions ); \
}

Definition at line 16472 of file gpsdefs.h.

◆ _mbg_swab_ntp_srv_mode_info

#define _mbg_swab_ntp_srv_mode_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_srv_mode_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 16451 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_srv_mode_info().

◆ _mbg_swab_ntp_srv_mode_settings

#define _mbg_swab_ntp_srv_mode_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 16425 of file gpsdefs.h.

Referenced by mbgextio_set_ntp_srv_mode_cfg().

◆ _mbg_swab_ntp_stats_glb_info

#define _mbg_swab_ntp_stats_glb_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_stats_glb_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->supp_stats ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->reserved_3 ); \
} while ( 0 )

Definition at line 15574 of file gpsdefs.h.

◆ _mbg_swab_ntp_stats_glb_settings

#define _mbg_swab_ntp_stats_glb_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
} while ( 0 )

Definition at line 15548 of file gpsdefs.h.

◆ _mbg_swab_ntp_symm_key_info

#define _mbg_swab_ntp_symm_key_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_symm_key_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 15957 of file gpsdefs.h.

◆ _mbg_swab_ntp_symm_key_info_idx

#define _mbg_swab_ntp_symm_key_info_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_symm_key_info( &(_p)->info ); \
} while ( 0 )

Definition at line 15976 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_symm_key_info_idx().

◆ _mbg_swab_ntp_symm_key_limits

#define _mbg_swab_ntp_symm_key_limits (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->supp_hashes ); \
} while ( 0 )

Definition at line 15869 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_symm_key_limits().

◆ _mbg_swab_ntp_symm_key_settings

#define _mbg_swab_ntp_symm_key_settings (   _p)
Value:
do \
{ \
unsigned i; \
_mbg_swab16( &(_p)->id ); \
\
for ( i = 0; i < N_NTP_SYMM_KEY_MAX_IP_ADDR; ++i) \
_mbg_swab_ip_addr( &(_p)->ip_addr[i] ); \
} while ( 0 )
#define N_NTP_SYMM_KEY_MAX_IP_ADDR
Definition: gpsdefs.h:15883
#define _mbg_swab_ip_addr(_p)
Definition: gpsdefs.h:11920
#define _mbg_swab16(_p)
Definition: mbg_arch.h:173

Definition at line 15908 of file gpsdefs.h.

◆ _mbg_swab_ntp_symm_key_settings_idx

#define _mbg_swab_ntp_symm_key_settings_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_symm_key_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 15933 of file gpsdefs.h.

Referenced by mbgextio_set_ntp_symm_key_settings_idx().

◆ _mbg_swab_ntp_sys_state

#define _mbg_swab_ntp_sys_state (   _p)

Definition at line 16921 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_sys_state().

◆ _mbg_swab_ntp_trusted_key_info

#define _mbg_swab_ntp_trusted_key_info (   _p)
Value:
do \
{ \
_mbg_swab_ntp_trusted_key_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 16039 of file gpsdefs.h.

◆ _mbg_swab_ntp_trusted_key_info_idx

#define _mbg_swab_ntp_trusted_key_info_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_trusted_key_info( &(_p)->info ); \
} while ( 0 )

Definition at line 16058 of file gpsdefs.h.

Referenced by mbgextio_get_ntp_trusted_key_info_idx().

◆ _mbg_swab_ntp_trusted_key_settings

#define _mbg_swab_ntp_trusted_key_settings (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->id ); \
} while ( 0 )

Definition at line 15997 of file gpsdefs.h.

◆ _mbg_swab_ntp_trusted_key_settings_idx

#define _mbg_swab_ntp_trusted_key_settings_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_ntp_trusted_key_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 16016 of file gpsdefs.h.

Referenced by mbgextio_set_ntp_trusted_key_settings_idx().

◆ _mbg_swab_ntp_tstamp

#define _mbg_swab_ntp_tstamp (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->seconds ); \
_mbg_swab32( &(_p)->fractions ); \
} while ( 0 )

Definition at line 16491 of file gpsdefs.h.

◆ MBG_NTP_FLASH_NAMES_ENG

#define MBG_NTP_FLASH_NAMES_ENG
Value:
{ \
MBG_NTP_FLASH_STR_ENG_PKT_DUP, \
MBG_NTP_FLASH_STR_ENG_PKT_BOGUS, \
MBG_NTP_FLASH_STR_ENG_PKT_UNSYNC, \
MBG_NTP_FLASH_STR_ENG_PKT_DENIED, \
MBG_NTP_FLASH_STR_ENG_PKT_AUTH, \
MBG_NTP_FLASH_STR_ENG_PKT_STRATUM, \
MBG_NTP_FLASH_STR_ENG_PKT_HEADER, \
MBG_NTP_FLASH_STR_ENG_PKT_AUTOKEY, \
MBG_NTP_FLASH_STR_ENG_PKT_CRYPTO, \
MBG_NTP_FLASH_STR_ENG_PEER_STRATUM, \
MBG_NTP_FLASH_STR_ENG_PEER_DIST, \
MBG_NTP_FLASH_STR_ENG_PEER_LOOP, \
MBG_NTP_FLASH_STR_ENG_PEER_UNREACH \
}

Definition at line 17324 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_LABEL

#define MBG_NTP_FLASH_STR_ENG_LABEL   "Flash Status:"

Definition at line 17307 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PEER_DIST

#define MBG_NTP_FLASH_STR_ENG_PEER_DIST   "Distance threshold exceeded"

Definition at line 17319 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PEER_LOOP

#define MBG_NTP_FLASH_STR_ENG_PEER_LOOP   "Synchronization loop"

Definition at line 17320 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PEER_STRATUM

#define MBG_NTP_FLASH_STR_ENG_PEER_STRATUM   "Invalid header or stratum"

Definition at line 17318 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PEER_UNREACH

#define MBG_NTP_FLASH_STR_ENG_PEER_UNREACH   "Unreachable or nonselect"

Definition at line 17321 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_AUTH

#define MBG_NTP_FLASH_STR_ENG_PKT_AUTH   "Authentication failure"

Definition at line 17313 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_AUTOKEY

#define MBG_NTP_FLASH_STR_ENG_PKT_AUTOKEY   "Autokey sequence error"

Definition at line 17316 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_BOGUS

#define MBG_NTP_FLASH_STR_ENG_PKT_BOGUS   "Bogus packet"

Definition at line 17310 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_CRYPTO

#define MBG_NTP_FLASH_STR_ENG_PKT_CRYPTO   "Autokey protocol error"

Definition at line 17317 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_DENIED

#define MBG_NTP_FLASH_STR_ENG_PKT_DENIED   "Access denied"

Definition at line 17312 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_DUP

#define MBG_NTP_FLASH_STR_ENG_PKT_DUP   "Duplicate packet"

Definition at line 17309 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_HEADER

#define MBG_NTP_FLASH_STR_ENG_PKT_HEADER   "Header distance exceeded"

Definition at line 17315 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_STRATUM

#define MBG_NTP_FLASH_STR_ENG_PKT_STRATUM   "Invalid leap or stratum"

Definition at line 17314 of file gpsdefs.h.

◆ MBG_NTP_FLASH_STR_ENG_PKT_UNSYNC

#define MBG_NTP_FLASH_STR_ENG_PKT_UNSYNC   "Server not synchronized"

Definition at line 17311 of file gpsdefs.h.

◆ MBG_NTP_IMPL_NAMES_ENG

#define MBG_NTP_IMPL_NAMES_ENG
Value:
{ \
MBG_NTP_IMPL_STR_ENG_UNKNOWN, \
MBG_NTP_IMPL_STR_ENG_NTPD, \
MBG_NTP_IMPL_STR_ENG_NTPDATE, \
MBG_NTP_IMPL_STR_ENG_SNTP, \
MBG_NTP_IMPL_STR_ENG_W32TIME, \
MBG_NTP_IMPL_STR_ENG_MBGNTP \
}

Definition at line 16530 of file gpsdefs.h.

◆ MBG_NTP_IMPL_STR_ENG

#define MBG_NTP_IMPL_STR_ENG   "Implemetation Type:"

Definition at line 16520 of file gpsdefs.h.

◆ MBG_NTP_IMPL_STR_ENG_MBGNTP

#define MBG_NTP_IMPL_STR_ENG_MBGNTP   "Meinberg NTP implementation (mbgntp)"

Definition at line 16527 of file gpsdefs.h.

◆ MBG_NTP_IMPL_STR_ENG_NTPD

#define MBG_NTP_IMPL_STR_ENG_NTPD   "Network Time Protocol daemon (ntpd)"

Definition at line 16523 of file gpsdefs.h.

◆ MBG_NTP_IMPL_STR_ENG_NTPDATE

#define MBG_NTP_IMPL_STR_ENG_NTPDATE   "NTP client only (ntpdate)"

Definition at line 16524 of file gpsdefs.h.

◆ MBG_NTP_IMPL_STR_ENG_SNTP

#define MBG_NTP_IMPL_STR_ENG_SNTP   "Simple Network Time Protocol (sntp)"

Definition at line 16525 of file gpsdefs.h.

◆ MBG_NTP_IMPL_STR_ENG_UNKNOWN

#define MBG_NTP_IMPL_STR_ENG_UNKNOWN   "Unknown NTP implementation"

Definition at line 16522 of file gpsdefs.h.

◆ MBG_NTP_IMPL_STR_ENG_W32TIME

#define MBG_NTP_IMPL_STR_ENG_W32TIME   "Windows time service (w32time)"

Definition at line 16526 of file gpsdefs.h.

◆ MBG_NTP_LEAP_NAMES_ENG

#define MBG_NTP_LEAP_NAMES_ENG
Value:
{ \
MBG_NTP_LEAP_STR_ENG_NONE, \
MBG_NTP_LEAP_STR_ENG_ADD_SEC, \
MBG_NTP_LEAP_STR_ENG_DEL_SEC, \
MBG_NTP_LEAP_STR_ENG_ALARM \
}

Definition at line 16650 of file gpsdefs.h.

◆ MBG_NTP_LEAP_STR_ENG

#define MBG_NTP_LEAP_STR_ENG   "Leapsecond indication:"

Definition at line 16643 of file gpsdefs.h.

◆ MBG_NTP_LEAP_STR_ENG_ADD_SEC

#define MBG_NTP_LEAP_STR_ENG_ADD_SEC   "Insert second"

Definition at line 16646 of file gpsdefs.h.

◆ MBG_NTP_LEAP_STR_ENG_ALARM

#define MBG_NTP_LEAP_STR_ENG_ALARM   "Alarm"

Definition at line 16648 of file gpsdefs.h.

◆ MBG_NTP_LEAP_STR_ENG_DEL_SEC

#define MBG_NTP_LEAP_STR_ENG_DEL_SEC   "Delete second"

Definition at line 16647 of file gpsdefs.h.

◆ MBG_NTP_LEAP_STR_ENG_NONE

#define MBG_NTP_LEAP_STR_ENG_NONE   "None"

Definition at line 16645 of file gpsdefs.h.

◆ MBG_NTP_MODE_STAT_NAMES_ENG

#define MBG_NTP_MODE_STAT_NAMES_ENG
Value:
{ \
MBG_NTP_PEER_MODE_STR_ENG_RESERVED, \
MBG_NTP_PEER_MODE_STR_ENG_SYMM_ACT, \
MBG_NTP_PEER_MODE_STR_ENG_SYMM_PASS, \
MBG_NTP_PEER_MODE_STR_ENG_CLIENT, \
MBG_NTP_PEER_MODE_STR_ENG_SERVER, \
MBG_NTP_PEER_MODE_STR_ENG_BROADCAST, \
MBG_NTP_PEER_MODE_STR_ENG_CONTROL, \
MBG_NTP_PEER_MODE_STR_ENG_PRIVATE \
}

Definition at line 17007 of file gpsdefs.h.

◆ MBG_NTP_MODE_STR_ENG_HOST_LABEL

#define MBG_NTP_MODE_STR_ENG_HOST_LABEL   "Host Mode:"

Definition at line 16995 of file gpsdefs.h.

◆ MBG_NTP_MODE_STR_ENG_PEER_LABEL

#define MBG_NTP_MODE_STR_ENG_PEER_LABEL   "Peer Mode:"

Definition at line 16996 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_NAMES_ENG

#define MBG_NTP_PEER_EVT_NAMES_ENG
Value:
{ \
MBG_NTP_PEER_EVT_STR_ENG_UNSPEC, \
MBG_NTP_PEER_EVT_STR_ENG_MOBILIZE, \
MBG_NTP_PEER_EVT_STR_ENG_DEMOBILIZE, \
MBG_NTP_PEER_EVT_STR_ENG_UNREACHABLE, \
MBG_NTP_PEER_EVT_STR_ENG_REACHABLE, \
MBG_NTP_PEER_EVT_STR_ENG_RESTART, \
MBG_NTP_PEER_EVT_STR_ENG_NO_REPLY, \
MBG_NTP_PEER_EVT_STR_ENG_RATE_EXCEEDED, \
MBG_NTP_PEER_EVT_STR_ENG_ACCESS_DENIED, \
MBG_NTP_PEER_EVT_STR_ENG_LEAP_ARMED, \
MBG_NTP_PEER_EVT_STR_ENG_SYS_PEER, \
MBG_NTP_PEER_EVT_STR_ENG_CLOCK_EVENT, \
MBG_NTP_PEER_EVT_STR_ENG_BAD_AUTH, \
MBG_NTP_PEER_EVT_STR_ENG_POPCORN, \
MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_MODE, \
MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_ERROR \
}

Definition at line 17230 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_ACCESS_DENIED

#define MBG_NTP_PEER_EVT_STR_ENG_ACCESS_DENIED   "Access denied"

Definition at line 17220 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_BAD_AUTH

#define MBG_NTP_PEER_EVT_STR_ENG_BAD_AUTH   "Authentication failure"

Definition at line 17224 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_CLOCK_EVENT

#define MBG_NTP_PEER_EVT_STR_ENG_CLOCK_EVENT   "Clock event"

Definition at line 17223 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_CNT_LABEL

#define MBG_NTP_PEER_EVT_STR_ENG_CNT_LABEL   "Peer Event Counter:"

Definition at line 17209 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_DEMOBILIZE

#define MBG_NTP_PEER_EVT_STR_ENG_DEMOBILIZE   "Association demobilized"

Definition at line 17214 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_ERROR

#define MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_ERROR   "Interleave error"

Definition at line 17227 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_MODE

#define MBG_NTP_PEER_EVT_STR_ENG_INTERLEAVE_MODE   "Entering Interleave mode"

Definition at line 17226 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_LEAP_ARMED

#define MBG_NTP_PEER_EVT_STR_ENG_LEAP_ARMED   "Leap second armed from LI code"

Definition at line 17221 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_MOBILIZE

#define MBG_NTP_PEER_EVT_STR_ENG_MOBILIZE   "Association mobilized"

Definition at line 17213 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_MSG_LABEL

#define MBG_NTP_PEER_EVT_STR_ENG_MSG_LABEL   "Peer Event Message:"

Definition at line 17210 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_NO_REPLY

#define MBG_NTP_PEER_EVT_STR_ENG_NO_REPLY   "No server found"

Definition at line 17218 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_POPCORN

#define MBG_NTP_PEER_EVT_STR_ENG_POPCORN   "Popcorn Spike suspressor"

Definition at line 17225 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_RATE_EXCEEDED

#define MBG_NTP_PEER_EVT_STR_ENG_RATE_EXCEEDED   "Rate exceeded"

Definition at line 17219 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_REACHABLE

#define MBG_NTP_PEER_EVT_STR_ENG_REACHABLE   "Server reachable"

Definition at line 17216 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_RESTART

#define MBG_NTP_PEER_EVT_STR_ENG_RESTART   "Association restart"

Definition at line 17217 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_SYS_PEER

#define MBG_NTP_PEER_EVT_STR_ENG_SYS_PEER   "Become system Peer"

Definition at line 17222 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_UNREACHABLE

#define MBG_NTP_PEER_EVT_STR_ENG_UNREACHABLE   "Server unreachable"

Definition at line 17215 of file gpsdefs.h.

◆ MBG_NTP_PEER_EVT_STR_ENG_UNSPEC

#define MBG_NTP_PEER_EVT_STR_ENG_UNSPEC   "Unspecified NTP event"

Definition at line 17212 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_BROADCAST

#define MBG_NTP_PEER_MODE_STR_ENG_BROADCAST   "Broadcast"

Definition at line 17003 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_CLIENT

#define MBG_NTP_PEER_MODE_STR_ENG_CLIENT   "Client"

Definition at line 17001 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_CONTROL

#define MBG_NTP_PEER_MODE_STR_ENG_CONTROL   "Control"

Definition at line 17004 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_PRIVATE

#define MBG_NTP_PEER_MODE_STR_ENG_PRIVATE   "Private"

Definition at line 17005 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_RESERVED

#define MBG_NTP_PEER_MODE_STR_ENG_RESERVED   "Reserved"

Definition at line 16998 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_SERVER

#define MBG_NTP_PEER_MODE_STR_ENG_SERVER   "Server"

Definition at line 17002 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_SYMM_ACT

#define MBG_NTP_PEER_MODE_STR_ENG_SYMM_ACT   "Symm Act"

Definition at line 16999 of file gpsdefs.h.

◆ MBG_NTP_PEER_MODE_STR_ENG_SYMM_PASS

#define MBG_NTP_PEER_MODE_STR_ENG_SYMM_PASS   "Symm Pass"

Definition at line 17000 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_NAMES_ENG

#define MBG_NTP_PEER_REACH_STAT_NAMES_ENG
Value:
{ \
MBG_NTP_PEER_REACH_STAT_STR_ENG_UNKNOWN, \
MBG_NTP_PEER_REACH_STAT_STR_ENG_NO_LINK, \
MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNREACH, \
MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNRESOLVED, \
MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_UNREACH, \
MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_NOT_SYNC, \
MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_BAD_QUALITY, \
MBG_NTP_PEER_REACH_STAT_STR_ENG_OK \
}

Definition at line 17056 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNREACH

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNREACH   "DNS Server unreached"

Definition at line 17049 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNRESOLVED

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_DNS_UNRESOLVED   "DNS name not resolved"

Definition at line 17050 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_LABEL

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_LABEL   "Reach State:"

Definition at line 17045 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_NO_LINK

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_NO_LINK   "No link"

Definition at line 17048 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_OK

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_OK   "Good"

Definition at line 17054 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_BAD_QUALITY

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_BAD_QUALITY   "Peer has bad quality"

Definition at line 17053 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_NOT_SYNC

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_NOT_SYNC   "Peer not sync"

Definition at line 17052 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_UNREACH

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_PEER_UNREACH   "Peer not reached"

Definition at line 17051 of file gpsdefs.h.

◆ MBG_NTP_PEER_REACH_STAT_STR_ENG_UNKNOWN

#define MBG_NTP_PEER_REACH_STAT_STR_ENG_UNKNOWN   "Unknown"

Definition at line 17047 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_NAMES_ENG

#define MBG_NTP_PEER_SEL_STATUS_NAMES_ENG
Value:
{ \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_REJECT, \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_FALSETICK, \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_EXCESS, \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_OUTLYER, \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_CANDIDATE, \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_BACKUP, \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_SYS_PEER, \
MBG_NTP_PEER_SEL_STATUS_STR_ENG_PPS_PEER \
}

Definition at line 17106 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_BACKUP

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_BACKUP   "Backup"

Definition at line 17102 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_CANDIDATE

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_CANDIDATE   "Candidate"

Definition at line 17101 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_EXCESS

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_EXCESS   "Excess"

Definition at line 17099 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_FALSETICK

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_FALSETICK   "Falsetick"

Definition at line 17098 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_LABEL

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_LABEL   "Selected Status:"

Definition at line 17095 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_OUTLYER

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_OUTLYER   "Outlyer"

Definition at line 17100 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_PPS_PEER

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_PPS_PEER   "PPS Peer"

Definition at line 17104 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_REJECT

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_REJECT   "Not valid"

Definition at line 17097 of file gpsdefs.h.

◆ MBG_NTP_PEER_SEL_STATUS_STR_ENG_SYS_PEER

#define MBG_NTP_PEER_SEL_STATUS_STR_ENG_SYS_PEER   "System Peer"

Definition at line 17103 of file gpsdefs.h.

◆ MBG_NTP_PEER_STATUS_NAMES_ENG

#define MBG_NTP_PEER_STATUS_NAMES_ENG
Value:
{ \
MBG_NTP_PEER_STATUS_STR_ENG_BCST, \
MBG_NTP_PEER_STATUS_STR_ENG_REACH, \
MBG_NTP_PEER_STATUS_STR_ENG_REACH, \
MBG_NTP_PEER_STATUS_STR_ENG_AUTHENB, \
MBG_NTP_PEER_STATUS_STR_ENG_CONFIG \
}

Definition at line 17165 of file gpsdefs.h.

◆ MBG_NTP_PEER_STATUS_STR_ENG_AUTHENB

#define MBG_NTP_PEER_STATUS_STR_ENG_AUTHENB   "Authentication enabled"

Definition at line 17162 of file gpsdefs.h.

◆ MBG_NTP_PEER_STATUS_STR_ENG_BCST

#define MBG_NTP_PEER_STATUS_STR_ENG_BCST   "Broadcast association"

Definition at line 17160 of file gpsdefs.h.

◆ MBG_NTP_PEER_STATUS_STR_ENG_CONFIG

#define MBG_NTP_PEER_STATUS_STR_ENG_CONFIG   "Persistant assosiation"

Definition at line 17163 of file gpsdefs.h.

◆ MBG_NTP_PEER_STATUS_STR_ENG_LABEL

#define MBG_NTP_PEER_STATUS_STR_ENG_LABEL   "Peer Status:"

Definition at line 17158 of file gpsdefs.h.

◆ MBG_NTP_PEER_STATUS_STR_ENG_REACH

#define MBG_NTP_PEER_STATUS_STR_ENG_REACH   "Host reachable"

Definition at line 17161 of file gpsdefs.h.

◆ MBG_NTP_SERVICE_ASYNC_STR

#define MBG_NTP_SERVICE_ASYNC_STR   "NTP service not synchronized"

Definition at line 16856 of file gpsdefs.h.

◆ MBG_NTP_SERVICE_INIT_STR

#define MBG_NTP_SERVICE_INIT_STR   "NTP service initializing"

Definition at line 16854 of file gpsdefs.h.

◆ MBG_NTP_SERVICE_STATES_STRS

#define MBG_NTP_SERVICE_STATES_STRS
Value:
{ \
MBG_NTP_SERVICE_INIT_STR, \
MBG_NTP_SERVICE_SYNC_STR, \
MBG_NTP_SERVICE_ASYNC_STR, \
MBG_NTP_SERVICE_STOPPED_STR \
}

Definition at line 16859 of file gpsdefs.h.

◆ MBG_NTP_SERVICE_STOPPED_STR

#define MBG_NTP_SERVICE_STOPPED_STR   "NTP service stopped"

Definition at line 16857 of file gpsdefs.h.

◆ MBG_NTP_SERVICE_SYNC_STR

#define MBG_NTP_SERVICE_SYNC_STR   "NTP service synchronized"

Definition at line 16855 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_NAMES_ENG

#define MBG_NTP_SYNC_SRC_NAMES_ENG
Value:
{ \
MBG_NTP_SYNC_SRC_STR_ENG_UNSPEC, \
MBG_NTP_SYNC_SRC_STR_ENG_PPS, \
MBG_NTP_SYNC_SRC_STR_ENG_LF_RADIO, \
MBG_NTP_SYNC_SRC_STR_ENG_HF_RADIO, \
MBG_NTP_SYNC_SRC_STR_ENG_UHF_RADIO, \
MBG_NTP_SYNC_SRC_STR_ENG_LOCAL, \
MBG_NTP_SYNC_SRC_STR_ENG_NTP, \
MBG_NTP_SYNC_SRC_STR_ENG_OTHER, \
MBG_NTP_SYNC_SRC_STR_ENG_WRISTWATCH, \
MBG_NTP_SYNC_SRC_STR_ENG_TELEPHONE \
}

Definition at line 16700 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_HF_RADIO

#define MBG_NTP_SYNC_SRC_STR_ENG_HF_RADIO   "MF/HF radio"

Definition at line 16692 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_LABEL

#define MBG_NTP_SYNC_SRC_STR_ENG_LABEL   "Sync Source:"

Definition at line 16687 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_LF_RADIO

#define MBG_NTP_SYNC_SRC_STR_ENG_LF_RADIO   "VLF/LF radio"

Definition at line 16691 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_LOCAL

#define MBG_NTP_SYNC_SRC_STR_ENG_LOCAL   "local timecode"

Definition at line 16694 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_NTP

#define MBG_NTP_SYNC_SRC_STR_ENG_NTP   "NTP"

Definition at line 16695 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_OTHER

#define MBG_NTP_SYNC_SRC_STR_ENG_OTHER   "other"

Definition at line 16696 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_PPS

#define MBG_NTP_SYNC_SRC_STR_ENG_PPS   "Pulse per second signal"

Definition at line 16690 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_TELEPHONE

#define MBG_NTP_SYNC_SRC_STR_ENG_TELEPHONE   "telephone modem"

Definition at line 16698 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_UHF_RADIO

#define MBG_NTP_SYNC_SRC_STR_ENG_UHF_RADIO   "VHF/UHF radio/satellite"

Definition at line 16693 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_UNSPEC

#define MBG_NTP_SYNC_SRC_STR_ENG_UNSPEC   "Not yet synchronized"

Definition at line 16689 of file gpsdefs.h.

◆ MBG_NTP_SYNC_SRC_STR_ENG_WRISTWATCH

#define MBG_NTP_SYNC_SRC_STR_ENG_WRISTWATCH   "eyeball and wristwatch"

Definition at line 16697 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_NAMES_ENG

#define MBG_NTP_SYS_EVT_NAMES_ENG
Value:
{ \
MBG_NTP_SYS_EVT_STR_ENG_UNSPEC, \
MBG_NTP_SYS_EVT_STR_ENG_FREQ_NOT_SET, \
MBG_NTP_SYS_EVT_STR_ENG_FREQ_SET, \
MBG_NTP_SYS_EVT_STR_ENG_SPIKE_DETECT, \
MBG_NTP_SYS_EVT_STR_ENG_FREQ_MODE, \
MBG_NTP_SYS_EVT_STR_ENG_CLOCK_SYNC, \
MBG_NTP_SYS_EVT_STR_ENG_RESTART, \
MBG_NTP_SYS_EVT_STR_ENG_PANIC_STOP, \
MBG_NTP_SYS_EVT_STR_ENG_NO_SYSTEM_PEER, \
MBG_NTP_SYS_EVT_STR_ENG_LEAP_ARMED, \
MBG_NTP_SYS_EVT_STR_ENG_LEAP_DISARMED, \
MBG_NTP_SYS_EVT_STR_ENG_LEAP_EVENT, \
MBG_NTP_SYS_EVT_STR_ENG_CLOCK_STEP, \
MBG_NTP_SYS_EVT_STR_ENG_KERNEL, \
MBG_NTP_SYS_EVT_STR_ENG_TAI, \
MBG_NTP_SYS_EVT_STR_ENG_STALE_LS_VALUES \
}

Definition at line 16770 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_CLOCK_STEP

#define MBG_NTP_SYS_EVT_STR_ENG_CLOCK_STEP   "Clock stepped"

Definition at line 16764 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_CLOCK_SYNC

#define MBG_NTP_SYS_EVT_STR_ENG_CLOCK_SYNC   "Clock synchronized"

Definition at line 16757 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_CNT_LABEL

#define MBG_NTP_SYS_EVT_STR_ENG_CNT_LABEL   "System Event Counter:"

Definition at line 16749 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_FREQ_MODE

#define MBG_NTP_SYS_EVT_STR_ENG_FREQ_MODE   "Initial frequency training mode"

Definition at line 16756 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_FREQ_NOT_SET

#define MBG_NTP_SYS_EVT_STR_ENG_FREQ_NOT_SET   "Frequency file not available"

Definition at line 16753 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_FREQ_SET

#define MBG_NTP_SYS_EVT_STR_ENG_FREQ_SET   "Frequency set from frequency file"

Definition at line 16754 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_KERNEL

#define MBG_NTP_SYS_EVT_STR_ENG_KERNEL   "Kernel information message"

Definition at line 16765 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_LEAP_ARMED

#define MBG_NTP_SYS_EVT_STR_ENG_LEAP_ARMED   "Leap second armed from file or autokey"

Definition at line 16761 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_LEAP_DISARMED

#define MBG_NTP_SYS_EVT_STR_ENG_LEAP_DISARMED   "Leap second disarmed"

Definition at line 16762 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_LEAP_EVENT

#define MBG_NTP_SYS_EVT_STR_ENG_LEAP_EVENT   "Leap event"

Definition at line 16763 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_MSG_LABEL

#define MBG_NTP_SYS_EVT_STR_ENG_MSG_LABEL   "System Event Message:"

Definition at line 16750 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_NO_SYSTEM_PEER

#define MBG_NTP_SYS_EVT_STR_ENG_NO_SYSTEM_PEER   "No system peer"

Definition at line 16760 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_PANIC_STOP

#define MBG_NTP_SYS_EVT_STR_ENG_PANIC_STOP   "Clock error more than 600 s"

Definition at line 16759 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_RESTART

#define MBG_NTP_SYS_EVT_STR_ENG_RESTART   "Program restart"

Definition at line 16758 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_SPIKE_DETECT

#define MBG_NTP_SYS_EVT_STR_ENG_SPIKE_DETECT   "Spike detected"

Definition at line 16755 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_STALE_LS_VALUES

#define MBG_NTP_SYS_EVT_STR_ENG_STALE_LS_VALUES   "New NIST leapseconds file needed"

Definition at line 16767 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_TAI

#define MBG_NTP_SYS_EVT_STR_ENG_TAI   "Leap second values update from file"

Definition at line 16766 of file gpsdefs.h.

◆ MBG_NTP_SYS_EVT_STR_ENG_UNSPEC

#define MBG_NTP_SYS_EVT_STR_ENG_UNSPEC   "Unspecified NTP event"

Definition at line 16752 of file gpsdefs.h.

◆ N_NTP_REFCLOCK_FUDGE_FLAGS

#define N_NTP_REFCLOCK_FUDGE_FLAGS   4

the number of supported fudge flags

Definition at line 15671 of file gpsdefs.h.

◆ N_NTP_SYMM_KEY_LEN

#define N_NTP_SYMM_KEY_LEN   128

Maximum length of a symmetric key. 128 byte was chosen to be prepared for hash algorithms like SHA256, SH384, up to SHA512.

Definition at line 15879 of file gpsdefs.h.

◆ N_NTP_SYMM_KEY_MAX_IP_ADDR

#define N_NTP_SYMM_KEY_MAX_IP_ADDR   8

Maximum number of ip addresses which can be assign to each key in order to limit usage

Definition at line 15883 of file gpsdefs.h.

◆ NTP_CPU_TYPES_STRS

#define NTP_CPU_TYPES_STRS
Value:
{ \
"Unknown", \
"x86", \
"i386", \
"i486", \
"i586", \
"i686", \
"x64", \
"x86_64", \
"amd64", \
"sun4u", \
"arm" \
}

Name strings for known CPU types using NTP.

See also
NTP_CPU_TYPES

Definition at line 16570 of file gpsdefs.h.

◆ NTP_DEF_ADD_CONF_FILE

#define NTP_DEF_ADD_CONF_FILE   NTP_DEF_ADD_CONF_PATH "/" NTP_DEF_ADD_CONF_FILENAME

Definition at line 15211 of file gpsdefs.h.

◆ NTP_DEF_ADD_CONF_FILENAME

#define NTP_DEF_ADD_CONF_FILENAME   "ntp.conf.add"

Definition at line 15210 of file gpsdefs.h.

◆ NTP_DEF_ADD_CONF_PATH

#define NTP_DEF_ADD_CONF_PATH   "/etc/mbg"

Definition at line 15209 of file gpsdefs.h.

◆ NTP_MIN_REFCLOCK_FUDGE_FLAG

#define NTP_MIN_REFCLOCK_FUDGE_FLAG   1

Numbers related to the "fudge" flags used with ntpd's refclock interface.

Used with NTP_REFCLK_CFG_SETTINGS::drv_flags_enable and NTP_REFCLK_CFG_SETTINGS::drv_flags_value

The refclock interface provided by ntpd supports a number of flags (flag1..flag4) which can be "fudged" in ntp.conf to control specific features of a particular refclock driver, e.g.: "fudge 127.127.8.0 flag1 1"

Which feature is controlled by which flag depends on the refclock driver type, so usually each flag has a different meaning for different refclock types.

There are different cases to be distinguished:

  • if a flag is not specified at all in ntp.conf then the controlled feature is enabled or disabled according to the driver's default settings
  • if a flag is specified as '0' or '1' in ntp.conf then the controlled feature is enabled or disabled according to the flag's setting.

Thus, the bit mask in NTP_REFCLK_CFG_SETTINGS::drv_flags_enable controls if the associated fudge flag should be specified in ntp.conf, and if it is specified then the associated bit in NTP_REFCLK_CFG_SETTINGS::drv_flags_value controls if the fudge flag is set to 0 or 1.

minimum refclock fudge flag number, associated with bit 0

Definition at line 15670 of file gpsdefs.h.

◆ NTP_MSK_ADD_CONF

#define NTP_MSK_ADD_CONF   ( 1UL << NTP_ADD_CONF )

see NTP_ADD_CONF

Definition at line 15204 of file gpsdefs.h.

◆ NTP_MSK_AUTOKEY

#define NTP_MSK_AUTOKEY   ( 1UL << NTP_AUTOKEY )

see NTP_AUTOKEY

Definition at line 15182 of file gpsdefs.h.

◆ NTP_MSK_BROADCAST

#define NTP_MSK_BROADCAST   ( 1UL << NTP_BROADCAST )

see NTP_BROADCAST

Definition at line 15189 of file gpsdefs.h.

◆ NTP_MSK_BROADCASTCLIENT

#define NTP_MSK_BROADCASTCLIENT   ( 1UL << NTP_BROADCASTCLIENT)

see NTP_BROADCASTCLIENT

Definition at line 15194 of file gpsdefs.h.

◆ NTP_MSK_BURST

#define NTP_MSK_BURST   ( 1UL << NTP_BURST )

see NTP_BURST

Definition at line 15183 of file gpsdefs.h.

◆ NTP_MSK_DISCARD

#define NTP_MSK_DISCARD   ( 1UL << NTP_DISCARD )

see NTP_DISCARD

Definition at line 15198 of file gpsdefs.h.

◆ NTP_MSK_FIXED_REFCLOCKS

#define NTP_MSK_FIXED_REFCLOCKS   ( 1UL << NTP_FIXED_REFCLOCKS )

see NTP_FIXED_REFCLOCKS

Definition at line 15203 of file gpsdefs.h.

◆ NTP_MSK_IBURST

#define NTP_MSK_IBURST   ( 1UL << NTP_IBURST )

see NTP_IBURST

Definition at line 15184 of file gpsdefs.h.

◆ NTP_MSK_IPV4

◆ NTP_MSK_IPV6

#define NTP_MSK_IPV6   ( 1UL << NTP_IPV6 )

see NTP_IPV6

Definition at line 15180 of file gpsdefs.h.

◆ NTP_MSK_MANYCAST

#define NTP_MSK_MANYCAST   ( 1UL << NTP_MANYCAST )

see NTP_MANYCAST

Definition at line 15191 of file gpsdefs.h.

◆ NTP_MSK_MANYCASTCLIENT

#define NTP_MSK_MANYCASTCLIENT   ( 1UL << NTP_MANYCASTCLIENT)

see NTP_MANYCASTCLIENT

Definition at line 15196 of file gpsdefs.h.

◆ NTP_MSK_MISCELLANEOUS

#define NTP_MSK_MISCELLANEOUS   ( 1UL << NTP_MISCELLANEOUS )

see NTP_MISCELLANEOUS

Definition at line 15201 of file gpsdefs.h.

◆ NTP_MSK_MULTICAST

#define NTP_MSK_MULTICAST   ( 1UL << NTP_MULTICAST )

see NTP_MULTICAST

Definition at line 15190 of file gpsdefs.h.

◆ NTP_MSK_MULTICASTCLIENT

#define NTP_MSK_MULTICASTCLIENT   ( 1UL << NTP_MULTICASTCLIENT)

see NTP_MULTICASTCLIENT

Definition at line 15195 of file gpsdefs.h.

◆ NTP_MSK_NO_SELECT

#define NTP_MSK_NO_SELECT   ( 1UL << NTP_NO_SELECT )

see NTP_NO_SELECT

Definition at line 15185 of file gpsdefs.h.

◆ NTP_MSK_PEER

#define NTP_MSK_PEER   ( 1UL << NTP_PEER )

see NTP_PEER

Definition at line 15193 of file gpsdefs.h.

◆ NTP_MSK_POOL

#define NTP_MSK_POOL   ( 1UL << NTP_POOL )

see NTP_POOL

Definition at line 15192 of file gpsdefs.h.

◆ NTP_MSK_PREEMPT

#define NTP_MSK_PREEMPT   ( 1UL << NTP_PREEMPT )

see NTP_PREEMPT

Definition at line 15186 of file gpsdefs.h.

◆ NTP_MSK_PREFER

#define NTP_MSK_PREFER   ( 1UL << NTP_PREFER )

see NTP_PREFER

Definition at line 15187 of file gpsdefs.h.

◆ NTP_MSK_REFCLK_CFG_TRUSTTIME

#define NTP_MSK_REFCLK_CFG_TRUSTTIME   ( 1UL << NTP_REFCLK_CFG_TRUSTTIME )

Flag masks associated with NTP_REFCLK_CFG_FLAGS.

Used with NTP_REFCLK_CFG_INFO::supp_cfgs,

See also
NTP_REFCLK_CFG_FLAGS

see NTP_REFCLK_CFG_TRUSTTIME

Definition at line 15760 of file gpsdefs.h.

◆ NTP_MSK_REFCLOCKS

#define NTP_MSK_REFCLOCKS   ( 1UL << NTP_REFCLOCKS )

see NTP_REFCLOCKS

Definition at line 15199 of file gpsdefs.h.

◆ NTP_MSK_RESTRICTIONS

#define NTP_MSK_RESTRICTIONS   ( 1UL << NTP_RESTRICTIONS )

see NTP_RESTRICTIONS

Definition at line 15197 of file gpsdefs.h.

◆ NTP_MSK_STATISTICS

#define NTP_MSK_STATISTICS   ( 1UL << NTP_STATISTICS )

see NTP_STATISTICS; if set, NTP_STATS_GLB_INFO can be queried

Definition at line 15200 of file gpsdefs.h.

◆ NTP_MSK_SYMM_KEYS

#define NTP_MSK_SYMM_KEYS   ( 1UL << NTP_SYMM_KEYS )

see NTP_SYMM_KEYS; if set, NTP_SYMM_KEY_LIMITS can be queried

Definition at line 15181 of file gpsdefs.h.

◆ NTP_MSK_TRUE

#define NTP_MSK_TRUE   ( 1UL << NTP_TRUE )

see NTP_TRUE

Definition at line 15188 of file gpsdefs.h.

◆ NTP_MSK_TRUSTED_KEYS

#define NTP_MSK_TRUSTED_KEYS   ( 1UL << NTP_TRUSTED_KEYS )

see NTP_TRUSTED_KEYS

Definition at line 15202 of file gpsdefs.h.

◆ NTP_SYMM_KEY_HASHES_STRS

#define NTP_SYMM_KEY_HASHES_STRS
Value:
{ \
"MD5", \
"SHA1" \
}

Name strings for defined NTP symm key hashes.

See also
NTP_SYMM_KEY_HASHES

Definition at line 15844 of file gpsdefs.h.

◆ NTP_SYSTEMS_STRS

#define NTP_SYSTEMS_STRS
Value:
{ \
"Unknown", \
"No OS", \
"Windows", \
"Linux", \
"BSD", \
"Solaris" \
}

Name strings for operating systens using NTP.

See also
NTP_SYSTEMS

Definition at line 16610 of file gpsdefs.h.

Typedef Documentation

◆ NTP_REFCLK_STATE

◆ NTP_REFCLK_STATE_IDX

Enumeration Type Documentation

◆ MBG_NTP_SERVICE_STATES

Enumeration of supported NTP service state values.

Enumerator
MBG_NTP_SERVICE_INIT 
MBG_NTP_SERVICE_SYNC 
MBG_NTP_SERVICE_ASYNC 
MBG_NTP_SERVICE_STOPPED 
N_MBG_NTP_SERVICE_STATES 

Definition at line 16841 of file gpsdefs.h.

◆ NTP_CPU_TYPES

Enumeration of CPU types using NTP.

Used with NTP_SYS_STATE::cpu_type

Enumerator
NTP_CPU_TYPE_UNKNOWN 
NTP_CPU_TYPE_X86 
NTP_CPU_TYPE_I386 
NTP_CPU_TYPE_I486 
NTP_CPU_TYPE_I586 
NTP_CPU_TYPE_I686 
NTP_CPU_TYPE_X64 
NTP_CPU_TYPE_X86_64 
NTP_CPU_TYPE_AMD64 
NTP_CPU_TYPE_SUN4U 
NTP_CPU_TYPE_ARM 
N_NTP_CPU_TYPES 

Definition at line 16547 of file gpsdefs.h.

◆ NTP_FLAGS

enum NTP_FLAGS

Enumeration of global NTP flags.

See also
NTP_FLAG_MASKS
Enumerator
NTP_IPV4 

NTP via IPv4/UDP.

NTP_IPV6 

NTP via IPv6/UDP.

NTP_SYMM_KEYS 

support symmetric key authentication (MD5)

NTP_AUTOKEY 

include authentication fields encrypted using the autokey scheme

NTP_BURST 

send a burst of eight packets at each polling cycle

NTP_IBURST 

send a burst of eight packets at the first polling cycle

NTP_NO_SELECT 

marks a server as not to be selected for time synchronization

NTP_PREEMPT 

specifies the association as preemptable rather than the default persistent

NTP_PREFER 

marks a server as preferred peer for time synchronization

NTP_TRUE 

force the association to assume truechimer status; always survive the selection and clustering algorithms

NTP_BROADCAST 

transmission via broadcast, point to multipoint

NTP_MULTICAST 

transmission via multicast, point to multipoint

NTP_MANYCAST 

transmission via manycast, point to multipoint

NTP_POOL 

peer shall be treated as a pool server

NTP_PEER 

specifies a symmetric-active association should be used with this server

NTP_BROADCASTCLIENT 

receive broadcast messages on all interfaces

NTP_MULTICASTCLIENT 

receive messages from the given multicast group

NTP_MANYCASTCLIENT 

manycast shall be used on the given multicast address to discover peers

NTP_RESTRICTIONS 

NTP supports restrictions.

NTP_DISCARD 

NTP supports "discard" rate limiting.

NTP_REFCLOCKS 

NTP supports refclocks.

NTP_STATISTICS 

NTP supports statistics (e.g. clockstats, loopstats, etc...)

NTP_MISCELLANEOUS 

NTP supports misc options (e.g. tinker, driftfile, orphan mode, etc...)

NTP_TRUSTED_KEYS 

NTP supports specifying trusted symmetric keys.

NTP_FIXED_REFCLOCKS 

NTP refclocks not configurable.

NTP_ADD_CONF 

Supports additional NTP configuration (i.e. via script)

N_NTP_FLAGS 

Definition at line 15132 of file gpsdefs.h.

◆ NTP_FLASH_STAT_FLAG_MASKS

Flag masks for NTP_FLASH_STAT_FLAGS.

Used with NTP_PEER_STATE::flash_stat_flags

See also
NTP_FLASH_STAT_FLAGS
Enumerator
NTP_FLASH_STAT_PKT_DUP_MSK 

see NTP_FLASH_STAT_PKT_DUP

NTP_FLASH_STAT_PKT_BOGUS_MSK 

see NTP_FLASH_STAT_PKT_BOGUS

NTP_FLASH_STAT_PKT_UNSYNC_MSK 

see NTP_FLASH_STAT_PKT_UNSYNC

NTP_FLASH_STAT_PKT_DENIED_MSK 

see NTP_FLASH_STAT_PKT_DENIED

NTP_FLASH_STAT_PKT_AUTH_MSK 

see NTP_FLASH_STAT_PKT_AUTH

NTP_FLASH_STAT_PKT_STRATUM_MSK 

see NTP_FLASH_STAT_PKT_STRATUM

NTP_FLASH_STAT_PKT_HEADER_MSK 

see NTP_FLASH_STAT_PKT_HEADER

NTP_FLASH_STAT_PKT_AUTOKEY_MSK 

see NTP_FLASH_STAT_PKT_AUTOKEY

NTP_FLASH_STAT_PKT_CRYPTO_MSK 

see NTP_FLASH_STAT_PKT_CRYPTO

NTP_FLASH_STAT_PEER_STRATUM_MSK 

see NTP_FLASH_STAT_PEER_STRATUM

NTP_FLASH_STAT_PEER_DIST_MSK 

see NTP_FLASH_STAT_PEER_DIST

NTP_FLASH_STAT_PEER_LOOP_MSK 

see NTP_FLASH_STAT_PEER_LOOP

NTP_FLASH_STAT_PEER_UNREACH_MSK 

see NTP_FLASH_STAT_PEER_UNREACH

Definition at line 17284 of file gpsdefs.h.

◆ NTP_FLASH_STAT_FLAGS

Enumeration of NTP flash status bit codes.

See also
NTP_FLASH_STAT_FLAG_MASKS
Enumerator
NTP_FLASH_STAT_PKT_DUP 

duplicate packet

NTP_FLASH_STAT_PKT_BOGUS 

bogus packet

NTP_FLASH_STAT_PKT_UNSYNC 

server not synchronized

NTP_FLASH_STAT_PKT_DENIED 

access denied

NTP_FLASH_STAT_PKT_AUTH 

authentication failure

NTP_FLASH_STAT_PKT_STRATUM 

invalid leap or stratum

NTP_FLASH_STAT_PKT_HEADER 

header distance exceeded

NTP_FLASH_STAT_PKT_AUTOKEY 

Autokey sequence error.

NTP_FLASH_STAT_PKT_CRYPTO 

Autokey protocol error.

NTP_FLASH_STAT_PEER_STRATUM 

invalid header or stratum

NTP_FLASH_STAT_PEER_DIST 

distance threshold exceeded

NTP_FLASH_STAT_PEER_LOOP 

synchronization loop

NTP_FLASH_STAT_PEER_UNREACH 

unreachable or nonselect

N_NTP_FLASH_STAT_FLAGS 

Definition at line 17257 of file gpsdefs.h.

◆ NTP_GLB_STATS_FLAGS

Enumeration of NTP supported statistics.

See also
NTP_GLB_STATS_MASKS
Enumerator
NTP_GLB_STATS_FLAG_ENABLE 

NTP stats can generally be enabled or disabled.

NTP_GLB_STATS_FLAG_CLOCKSTATS 

NTP supports clockstats.

NTP_GLB_STATS_FLAG_CRYPTOSTATS 

NTP supports cryptostats.

NTP_GLB_STATS_FLAG_LOOPSTATS 

NTP supports loopstats.

NTP_GLB_STATS_FLAG_PEERSTATS 

NTP supports peerstats.

NTP_GLB_STATS_FLAG_RAWSTATS 

NTP supports rawstats.

NTP_GLB_STATS_FLAG_SYSSTATS 

NTP supports sysstats.

NTP_GLB_STATS_FLAG_FILEGEN 

NTP supports sets of files If flag is set there are structures needed that are not avail right now. Future use

N_NTP_GLB_STATS_FLAGS 

Definition at line 15497 of file gpsdefs.h.

◆ NTP_GLB_STATS_MASKS

Flag masks associated with NTP_GLB_STATS_FLAGS.

See also
NTP_GLB_STATS_FLAGS
Enumerator
NTP_GLB_STATS_MSK_ENABLE 

See NTP_GLB_STATS_FLAG_ENABLE.

NTP_GLB_STATS_MSK_CLOCKSTATS 

See NTP_GLB_STATS_FLAG_CLOCKSTATS.

NTP_GLB_STATS_MSK_CRYPTOSTATS 

See NTP_GLB_STATS_FLAG_CRYPTOSTATS.

NTP_GLB_STATS_MSK_LOOPSTATS 

See NTP_GLB_STATS_FLAG_LOOPSTATS.

NTP_GLB_STATS_MSK_PEERSTATS 

See NTP_GLB_STATS_FLAG_PEERSTATS.

NTP_GLB_STATS_MSK_RAWSTATS 

See NTP_GLB_STATS_FLAG_RAWSTATS.

NTP_GLB_STATS_MSK_SYSSTATS 

See NTP_GLB_STATS_FLAG_SYSSTATS.

NTP_GLB_STATS_MSK_FILEGEN 

See NTP_GLB_STATS_FLAG_FILEGEN.

Definition at line 15519 of file gpsdefs.h.

◆ NTP_IMPL

enum NTP_IMPL

Enumeration of known NTP implementations.

Used with NTP_SYS_STATE::impl_type

Enumerator
NTP_IMPL_UNKNOWN 

Unknown NTP implementation.

NTP_IMPL_NTPD 

Network Time Protocol daemon (ntpd)

NTP_IMPL_NTPDATE 

NTP client only (ntpdate)

NTP_IMPL_SNTP 

Simple Network Time Protocol (sntp)

NTP_IMPL_W32TIME 

Windows time service (w32time)

NTP_IMPL_MBGNTP 

Meinberg NTP implementation (mbgntp)

N_NTP_IMPLS 

Definition at line 16505 of file gpsdefs.h.

◆ NTP_LI_BITS

Enumeration of NTP leap indication bits.

Used with NTP_SYS_STATE::leap_ind

Enumerator
NTP_LEAP_NONE 

normal synchronized state

NTP_LEAP_ADD_SEC 

insert second after 23:59:59 of the current day

NTP_LEAP_DEL_SEC 

delete second 23:59:59 of the current day

NTP_LEAP_ALARM 

never synchronized

N_NTP_LI_BITS 

Definition at line 16628 of file gpsdefs.h.

◆ NTP_MISC_FLAGS

Enumeration of NTP supported (various) misc options.

See also
NTP_MISC_MSKS
Enumerator
NTP_MISC_FLAG_DRIFTFILE 

NTP supports driftfile.

NTP_MISC_FLAG_ORPHAN_MODE 

NTP supports orphan mode.

NTP_MISC_FLAG_LEAPFILE 

NTP supports leapfile.

N_NTP_MISC_FLAGS 

Definition at line 16071 of file gpsdefs.h.

◆ NTP_MISC_MSKS

Flag masks associated with NTP_MISC_FLAGS.

See also
NTP_MISC_FLAGS
Enumerator
NTP_MISC_MSK_DRIFTFILE 

See NTP_MISC_FLAG_DRIFTFILE.

NTP_MISC_MSK_ORPHAN_MODE 

See NTP_MISC_FLAG_ORPHAN_MODE.

NTP_MISC_MSK_LEAPFILE 

See NTP_MISC_FLAG_LEAPFILE.

Definition at line 16086 of file gpsdefs.h.

◆ NTP_MODE_BITS

Enumeration of NTP mode bits.

Used with NTP_PEER_STATE::host_mode and NTP_PEER_STATE::peer_mode

Enumerator
NTP_MODE_RESERVED 
NTP_MODE_SYMM_ACT 
NTP_MODE_SYMM_PASS 
NTP_MODE_CLIENT 
NTP_MODE_SERVER 
NTP_MODE_BROADCAST 
NTP_MODE_CONTROL 
NTP_MODE_PRIVATE 
N_NTP_MODE_BITS 

Definition at line 16976 of file gpsdefs.h.

◆ NTP_ORPHAN_MODE_FLAGS

Enumeration of NTP supported (various) misc options.

See also
NTP_ORPHAN_MODE_MSK
Enumerator
NTP_ORPHAN_MODE_FLAG_SUPP_DISABLE 

Orphan Mode support disabling.

N_NTP_ORPHAN_MODE_FLAGS 

Definition at line 16142 of file gpsdefs.h.

◆ NTP_ORPHAN_MODE_MSK

Flag masks associated with NTP_ORPHAN_MODE_FLAGS.

See also
NTP_ORPHAN_MODE_FLAGS
Enumerator
NTP_ORPHAN_MODE_MSK_SUPP_DISABLE 

See NTP_ORPHAN_MODE_FLAG_SUPP_DISABLE.

Definition at line 16156 of file gpsdefs.h.

◆ NTP_PEER_EVT_BITS

Enumeration of NTP peer event message codes.

Used with NTP_PEER_STATE::peer_rec_evt

Enumerator
NTP_PEER_EVT_UNSPEC 

unspecified NTP event

NTP_PEER_EVT_MOBILIZE 

association mobilized

NTP_PEER_EVT_DEMOBILIZE 

association demobilized

NTP_PEER_EVT_UNREACHABLE 

server unreachable

NTP_PEER_EVT_REACHABLE 

server reachable

NTP_PEER_EVT_RESTART 

association restart

NTP_PEER_EVT_NO_REPLY 

no server found (ntpdate mode)

NTP_PEER_EVT_RATE_EXCEEDED 

rate exceeded (kiss code RATE)

NTP_PEER_EVT_ACCESS_DENIED 

access denied (kiss code DENY)

NTP_PEER_EVT_LEAP_ARMED 

leap armed from server LI code

NTP_PEER_EVT_SYS_PEER 

become system peer

NTP_PEER_EVT_CLOCK_EVENT 

see clock status word

NTP_PEER_EVT_BAD_AUTH 

authentication failure

NTP_PEER_EVT_POPCORN 

popcorn spike suppressor

NTP_PEER_EVT_INTERLEAVE_MODE 

entering interleave mode

NTP_PEER_EVT_INTERLEAVE_ERROR 

interleave error (recovered)

N_NTP_PEER_EVT_BITS 

Definition at line 17182 of file gpsdefs.h.

◆ NTP_PEER_SEL_STATUS_BITS

Enumeration of NTP peer selection status.

Used with NTP_PEER_STATE::peer_sel_stat

Enumerator
NTP_PEER_SEL_REJECT 

discarded as not valid (TEST10-TEST13)

NTP_PEER_SEL_FALSETICK 

discarded by intersection algorithm

NTP_PEER_SEL_EXCESS 

discarded by table overflow (not used)

NTP_PEER_SEL_OUTLYER 

discarded by the cluster algorithm

NTP_PEER_SEL_CANDIDATE 

included by the combine algorithm

NTP_PEER_SEL_BACKUP 

backup (more than tos maxclock sources)

NTP_PEER_SEL_SYS_PEER 

system peer

NTP_PEER_SEL_PPS_PEER 

PPS peer (when the prefer peer is valid)

N_NTP_PEER_SEL_STATUS_BITS 

Definition at line 17076 of file gpsdefs.h.

◆ NTP_PEER_STATE_SUPP_FLAG_MASKS

Flag masks for NTP_PEER_STATE_SUPP_FLAGS.

Used with NTP_PEER_STATE::supp_flags

See also
NTP_PEER_STATE_SUPP_FLAGS
Enumerator
NTP_PEER_STATE_SUPP_STD_MSK 

see NTP_PEER_STATE_SUPP_STD

NTP_PEER_STATE_SUPP_ASS_ID_MSK 

see NTP_PEER_STATE_SUPP_ASS_ID

NTP_PEER_STATE_SUPP_EVENTS_MSK 

see NTP_PEER_STATE_SUPP_EVENTS

NTP_PEER_STATE_SUPP_REACH_STAT_MSK 

see NTP_PEER_STATE_SUPP_REACH_STAT

NTP_PEER_STATE_SUPP_PRECISION_MSK 

see NTP_PEER_STATE_SUPP_PRECISION

NTP_PEER_STATE_SUPP_ROOT_DELAY_MSK 

see NTP_PEER_STATE_SUPP_ROOT_DELAY

NTP_PEER_STATE_SUPP_ROOT_DISP_MSK 

see NTP_PEER_STATE_SUPP_ROOT_DISP

NTP_PEER_STATE_SUPP_HEADWAY_MSK 

see NTP_PEER_STATE_SUPP_HEADWAY

NTP_PEER_STATE_SUPP_FLASH_STAT_MSK 

see NTP_PEER_STATE_SUPP_FLASH_STAT

NTP_PEER_STATE_SUPP_KEY_ID_MSK 

see NTP_PEER_STATE_SUPP_KEY_ID

NTP_PEER_STATE_SUPP_DISP_MSK 

see NTP_PEER_STATE_SUPP_DISP

NTP_PEER_STATE_SUPP_JITTER_MSK 

see NTP_PEER_STATE_SUPP_JITTER

NTP_PEER_STATE_SUPP_XLEAVE_MSK 

see NTP_PEER_STATE_SUPP_XLEAVE

Definition at line 17374 of file gpsdefs.h.

◆ NTP_PEER_STATE_SUPP_FLAGS

Enumeration of supported NTP peer state values.

See also
NTP_PEER_STATE_SUPP_FLAG_MASKS
Enumerator
NTP_PEER_STATE_SUPP_STD 

supports standard values of NTP_PEER_STATE, all fields except below and reserved

NTP_PEER_STATE_SUPP_ASS_ID 

supports association ID, see NTP_PEER_STATE::ass_id

NTP_PEER_STATE_SUPP_EVENTS 

supports peer state events (NTP_PEER_STATE::peer_evt_cnt, NTP_PEER_STATE::peer_rec_evt)

NTP_PEER_STATE_SUPP_REACH_STAT 

supports peer reach status, see NTP_PEER_STATE::peer_reach_stat

NTP_PEER_STATE_SUPP_PRECISION 

supports precision indication, see NTP_PEER_STATE::precision

NTP_PEER_STATE_SUPP_ROOT_DELAY 

supports root delay to syspeer, see NTP_PEER_STATE::root_delay

NTP_PEER_STATE_SUPP_ROOT_DISP 

supports root dispersion, see NTP_PEER_STATE::root_disp

NTP_PEER_STATE_SUPP_HEADWAY 

supports headway, see NTP_PEER_STATE::headway

NTP_PEER_STATE_SUPP_FLASH_STAT 

supports flash status word, see NTP_PEER_STATE::flash_stat_flags

NTP_PEER_STATE_SUPP_KEY_ID 

supports symmetric key id, see NTP_PEER_STATE::key_id

NTP_PEER_STATE_SUPP_DISP 

supports filter dispersion, see NTP_PEER_STATE::disp

NTP_PEER_STATE_SUPP_JITTER 

supports filter jitter, see NTP_PEER_STATE::jitter

NTP_PEER_STATE_SUPP_XLEAVE 

supports interleave delay, see NTP_PEER_STATE::xleave

N_NTP_PEER_STATE_SUPP_FLAGS 

Definition at line 17348 of file gpsdefs.h.

◆ NTP_PEER_STATUS_FLAG_MASKS

Flag masks for NTP_PEER_STATUS_FLAGS.

Used with NTP_PEER_STATE::peer_status_flags

See also
NTP_PEER_STATUS_FLAGS
Enumerator
NTP_PEER_STATUS_BCST_MSK 

see NTP_PEER_STATUS_BCST

NTP_PEER_STATUS_REACH_MSK 

see NTP_PEER_STATUS_REACH

NTP_PEER_STATUS_AUTHENB_MSK 

see NTP_PEER_STATUS_AUTHENB

NTP_PEER_STATUS_AUTH_MSK 

see NTP_PEER_STATUS_AUTH

NTP_PEER_STATUS_CONFIG_MSK 

see NTP_PEER_STATUS_CONFIG

Definition at line 17144 of file gpsdefs.h.

◆ NTP_PEER_STATUS_FLAGS

Enumeration of NTP peer status codes.

See also
NTP_PEER_STATUS_FLAG_MASKS
Enumerator
NTP_PEER_STATUS_BCST 

broadcast association

NTP_PEER_STATUS_REACH 

host reachable

NTP_PEER_STATUS_AUTHENB 

authentication enabled

NTP_PEER_STATUS_AUTH 

authentication ok

NTP_PEER_STATUS_CONFIG 

persistent association

N_NTP_PEER_STATUS_FLAGS 

Definition at line 17126 of file gpsdefs.h.

◆ NTP_REACH_STAT_BITS

Enumeration of NTP peer reach status.

Used with NTP_PEER_STATE::peer_reach_stat

Enumerator
NTP_REACH_STAT_UNKNOWN 

unknown reach status

NTP_REACH_STAT_NO_LINK 

no network connection

NTP_REACH_STAT_DNS_UNREACH 

DNS server could not be reached.

NTP_REACH_STAT_DNS_UNRESOLVED 

DNS name could not be resolved.

NTP_REACH_STAT_PEER_UNREACH 

peer could not be reached

NTP_REACH_STAT_PEER_NOT_SYNC 

peer is not sync (leap alarm, stratum 16)

NTP_REACH_STAT_PEER_BAD_QUALITY 

peer has bad quality (dispersion, ...)

NTP_REACH_STAT_OK 

reach status is fine

N_NTP_REACH_STAT_BITS 

Definition at line 17026 of file gpsdefs.h.

◆ NTP_REFCLK_CFG_FLAGS

Enumeration of NTP refclock config flags.

See also
NTP_REFCLK_CFG_FLAGS
Enumerator
NTP_REFCLK_CFG_TRUSTTIME 

Trusttime of refclk configurable.

N_NTP_REFCLK_CFG_FLAGS 

Definition at line 15743 of file gpsdefs.h.

◆ NTP_REFCLK_TYPE_MSKS

Bit masks associated with NTP_REFCLK_TYPES.

Used with NTP_REFCLK_CFG_INFO::supp_refclk_types

See also
NTP_REFCLK_TYPES
Enumerator
NTP_REFCLK_TYPE_MSK_LOCAL 

see NTP_REFCLK_TYPE_LOCAL

NTP_REFCLK_TYPE_MSK_TRUETIME 

see NTP_REFCLK_TYPE_TRUETIME

NTP_REFCLK_TYPE_MSK_PARSE 

see NTP_REFCLK_TYPE_PARSE

NTP_REFCLK_TYPE_MSK_NMEA 

see NTP_REFCLK_TYPE_NMEA

NTP_REFCLK_TYPE_MSK_PPS 

see NTP_REFCLK_TYPE_PPS

NTP_REFCLK_TYPE_MSK_SHM 

see NTP_REFCLK_TYPE_SHM

Definition at line 15626 of file gpsdefs.h.

◆ NTP_REFCLK_TYPES

Enumeration of supported refclock types.

Used with NTP_REFCLK_CFG_SETTINGS::type

See also
https://www.eecis.udel.edu/~mills/ntp/html/refclock.html
NTP_REFCLK_TYPE_MSKS
Enumerator
NTP_REFCLK_TYPE_LOCAL 

NTP local clock.

NTP_REFCLK_TYPE_TRUETIME 

NTP Truetime driver.

NTP_REFCLK_TYPE_PARSE 

NTP parse driver.

NTP_REFCLK_TYPE_NMEA 

NTP NMEA driver.

NTP_REFCLK_TYPE_PPS 

NTP atom driver (standalone PPS)

NTP_REFCLK_TYPE_SHM 

NTP shared memory driver.

N_NTP_REFCLK_TYPES 

Definition at line 15606 of file gpsdefs.h.

◆ NTP_RESTR_FLAG_MSKS

Flag masks associated with NTP_RESTR_FLAGS.

Used with NTP_RESTR::flags and NTP_RESTR_LIMITS::supp_flags

See also
NTP_RESTR_FLAGS
Enumerator
NTP_RESTR_FLAG_MSK_FLAKE 

see NTP_RESTR_FLAG_FLAKE

NTP_RESTR_FLAG_MSK_IGNORE 

see NTP_RESTR_FLAG_IGNORE

NTP_RESTR_FLAG_MSK_KOD 

see NTP_RESTR_FLAG_KOD

NTP_RESTR_FLAG_MSK_LIMITED 

see NTP_RESTR_FLAG_LIMITED

NTP_RESTR_FLAG_MSK_LOWPRIOTRAP 

see NTP_RESTR_FLAG_LOWPRIOTRAP

NTP_RESTR_FLAG_MSK_MSSNTP 

see NTP_RESTR_FLAG_MSSNTP

NTP_RESTR_FLAG_MSK_NOMODIFY 

see NTP_RESTR_FLAG_NOMODIFY

NTP_RESTR_FLAG_MSK_NOQUERY 

see NTP_RESTR_FLAG_NOQUERY

NTP_RESTR_FLAG_MSK_NOPEER 

see NTP_RESTR_FLAG_NOPEER

NTP_RESTR_FLAG_MSK_NOSERVE 

see NTP_RESTR_FLAG_NOSERVE

NTP_RESTR_FLAG_MSK_NOTRAP 

see NTP_RESTR_FLAG_NOTRAP

NTP_RESTR_FLAG_MSK_NOTRUST 

see NTP_RESTR_FLAG_NOTRUST

NTP_RESTR_FLAG_MSK_NTPPORT 

see NTP_RESTR_FLAG_NTPPORT

NTP_RESTR_FLAG_MSK_VERSION 

see NTP_RESTR_FLAG_VERSION

NTP_RESTR_FLAG_MSK_IPV4 

see NTP_RESTR_FLAG_IPV4

NTP_RESTR_FLAG_MSK_IPV6 

see NTP_RESTR_FLAG_IPV6

Definition at line 15344 of file gpsdefs.h.

◆ NTP_RESTR_FLAGS

Enumeration of supported NTP restriction flags.

Used to define NTP_RESTR_FLAG_MSKS

See also
https://www.eecis.udel.edu/~mills/ntp/html/accopt.html#restrict
NTP_RESTR_FLAG_MSKS
Enumerator
NTP_RESTR_FLAG_FLAKE 
NTP_RESTR_FLAG_IGNORE 
NTP_RESTR_FLAG_KOD 
NTP_RESTR_FLAG_LIMITED 
NTP_RESTR_FLAG_LOWPRIOTRAP 
NTP_RESTR_FLAG_MSSNTP 
NTP_RESTR_FLAG_NOMODIFY 
NTP_RESTR_FLAG_NOQUERY 
NTP_RESTR_FLAG_NOPEER 
NTP_RESTR_FLAG_NOSERVE 
NTP_RESTR_FLAG_NOTRAP 
NTP_RESTR_FLAG_NOTRUST 
NTP_RESTR_FLAG_NTPPORT 
NTP_RESTR_FLAG_VERSION 
NTP_RESTR_FLAG_IPV4 

This default restriction only applies to IPv4.

NTP_RESTR_FLAG_IPV6 

This default restriction only applies to IPv6.

N_NTP_RESTR_FLAGS 

Definition at line 15314 of file gpsdefs.h.

◆ NTP_RESTR_TYPE_MSKS

Bit masks associated with NTP_RESTR_TYPES.

Used with NTP_RESTR_LIMITS::supp_types

See also
NTP_RESTR_TYPES
Enumerator
NTP_RESTR_TYPE_MSK_DEFAULT 

see NTP_RESTR_TYPE_DEFAULT

NTP_RESTR_TYPE_MSK_SOURCE 

see NTP_RESTR_TYPE_SOURCE

NTP_RESTR_TYPE_MSK_ADDRESS 

see NTP_RESTR_TYPE_ADDRESS

Definition at line 15297 of file gpsdefs.h.

◆ NTP_RESTR_TYPES

Enumeration of supported NTP restriction types/keywords.

Used with NTP_RESTR::type

See also
https://www.eecis.udel.edu/~mills/ntp/html/accopt.html#restrict
NTP_RESTR_TYPE_MSKS
Enumerator
NTP_RESTR_TYPE_DEFAULT 
NTP_RESTR_TYPE_SOURCE 
NTP_RESTR_TYPE_ADDRESS 
N_NTP_RESTR_TYPES 

Definition at line 15280 of file gpsdefs.h.

◆ NTP_ROLE_MASKS

Flag masks associated with NTP roles.

See also
NTP_GLB_INFO::supp_ntp_roles
Enumerator
NTP_MSK_ROLE_NONE 

see NTP_ROLE_NONE

NTP_MSK_ROLE_CLIENT 

see NTP_ROLE_CLIENT

NTP_MSK_ROLE_SERVER 

see NTP_ROLE_SERVER

NTP_MSK_ROLE_CLIENT_SERVER 

see NTP_ROLE_CLIENT_SERVER

Definition at line 15118 of file gpsdefs.h.

◆ NTP_ROLES

enum NTP_ROLES

Enumeration of known NTP roles.

See also
NTP_GLB_SETTINGS::ntp_role
Enumerator
NTP_ROLE_NONE 

NTP services disabled.

NTP_ROLE_CLIENT 

NTP client.

NTP_ROLE_SERVER 

NTP server.

NTP_ROLE_CLIENT_SERVER 

both NTP client and server

N_NTP_ROLES 

number of supported roles

Definition at line 15103 of file gpsdefs.h.

◆ NTP_SYMM_KEY_HASH_MASKS

Flag masks associated with NTP_SYMM_KEY_HASHES.

See also
NTP_SYMM_KEY_HASHES
Enumerator
NTP_SYMM_KEY_HASH_MSK_MD5 

see NTP_SYMM_KEY_HASH_MD5

NTP_SYMM_KEY_HASH_MSK_SHA1 

see NTP_SYMM_KEY_HASH_SHA1

Definition at line 15832 of file gpsdefs.h.

◆ NTP_SYMM_KEY_HASHES

Enumeration of NTP supported symmetric key hashing algorithms.

See also
NTP_SYMM_KEY_HASH_MASKS
Note
Support of external libraries (e.g.: OpenSSL) may be needed for some hashing algorithms.
Enumerator
NTP_SYMM_KEY_HASH_MD5 

NTP supports MD5 as key hashing algorithm.

NTP_SYMM_KEY_HASH_SHA1 

NTP supports SHA1 as key hashing algorithm.

N_NTP_SYMM_KEY_HASHES 

Definition at line 15818 of file gpsdefs.h.

◆ NTP_SYNC_SRC_BITS

Enumeration of NTP synchronization source bits.

Used with NTP_SYS_STATE::sys_sync_src

Enumerator
NTP_SYNC_SRC_UNSPEC 

not yet synchronized

NTP_SYNC_SRC_PPS 

pulse-per-second signal (Cs, Ru, GPS, etc.)

NTP_SYNC_SRC_LF_RADIO 

VLF/LF radio (WWVB, DCF77, etc.)

NTP_SYNC_SRC_HF_RADIO 

MF/HF radio (WWV, etc.)

NTP_SYNC_SRC_UHF_RADIO 

VHF/UHF radio/satellite (GPS, Galileo, etc.)

NTP_SYNC_SRC_LOCAL 

local timecode (IRIG, LOCAL driver, etc.)

NTP_SYNC_SRC_NTP 

NTP.

NTP_SYNC_SRC_OTHER 

other (IEEE 1588, openntp, crony, etc.)

NTP_SYNC_SRC_WRISTWATCH 

eyeball and wristwatch

NTP_SYNC_SRC_TELEPHONE 

telephone modem (ACTS, PTB, etc.)

N_NTP_SYNC_SRC_BITS 

Definition at line 16666 of file gpsdefs.h.

◆ NTP_SYS_EVT_BITS

Enumeration of NTP system event message bits.

Used with NTP_SYS_STATE::sys_rec_evt

Enumerator
NTP_SYS_EVT_UNSPEC 

unspecified NTP event

NTP_SYS_EVT_FREQ_NOT_SET 

frequency file not available

NTP_SYS_EVT_FREQ_SET 

frequency set from frequency file

NTP_SYS_EVT_SPIKE_DETECT 

spike detected

NTP_SYS_EVT_FREQ_MODE 

initial frequency training mode

NTP_SYS_EVT_CLOCK_SYNC 

clock synchronized

NTP_SYS_EVT_RESTART 

program restart

NTP_SYS_EVT_PANIC_STOP 

clock error more than 600 s

NTP_SYS_EVT_NO_SYSTEM_PEER 

no system peer

NTP_SYS_EVT_LEAP_ARMED 

leap second armed from file or autokey

NTP_SYS_EVT_LEAP_DISARMED 

leap second disarmed

NTP_SYS_EVT_LEAP_EVENT 

leap event

NTP_SYS_EVT_CLOCK_STEP 

clock stepped

NTP_SYS_EVT_KERNEL 

kernel information message

NTP_SYS_EVT_TAI 

leapsecond values update from file

NTP_SYS_EVT_STALE_LS_VALUES 

new NIST leapseconds file needed

N_NTP_SYS_EVT_BITS 

Definition at line 16722 of file gpsdefs.h.

◆ NTP_SYS_STATE_SUPP_FLAG_MASKS

Flag masks for NTP_SYS_STATE_SUPP_FLAGS.

Used with NTP_SYS_STATE::supp_flags

See also
NTP_SYS_STATE_SUPP_FLAGS
Enumerator
NTP_SYS_STATE_SUPP_STD_MSK 

see NTP_SYS_STATE_SUPP_STD

NTP_SYS_STATE_SUPP_EVENTS_MSK 

see NTP_SYS_STATE_SUPP_EVENTS

NTP_SYS_STATE_SUPP_PRECISION_MSK 

see NTP_SYS_STATE_SUPP_PRECISION

NTP_SYS_STATE_SUPP_ROOT_DELAY_MSK 

see NTP_SYS_STATE_SUPP_ROOT_DELAY

NTP_SYS_STATE_SUPP_ROOT_DISP_MSK 

see NTP_SYS_STATE_SUPP_ROOT_DISP

NTP_SYS_STATE_SUPP_FREQ_MSK 

see NTP_SYS_STATE_SUPP_FREQ

NTP_SYS_STATE_SUPP_SYS_JITTER_MSK 

see NTP_SYS_STATE_SUPP_SYS_JITTER

NTP_SYS_STATE_SUPP_CLK_JITTER_MSK 

see NTP_SYS_STATE_SUPP_CLK_JITTER

NTP_SYS_STATE_SUPP_CLK_WANDER_MSK 

see NTP_SYS_STATE_SUPP_CLK_WANDER

NTP_SYS_STATE_SUPP_SYS_ASSOC_MSK 

see NTP_SYS_STATE_SUPP_SYS_ASSOC

NTP_SYS_STATE_SUPP_SERVICE_STATE_MSK 

see NTP_SYS_STATE_SUPP_SERVICE_STATE

Definition at line 16822 of file gpsdefs.h.

◆ NTP_SYS_STATE_SUPP_FLAGS

Enumeration of supported NTP system state values.

See also
NTP_SYS_STATE_SUPP_FLAG_MASKS
Enumerator
NTP_SYS_STATE_SUPP_STD 

supports standard values of NTP_SYS_STATE, all fields except below and reserved

NTP_SYS_STATE_SUPP_EVENTS 

supports sys state events (NTP_SYS_STATE::sys_evt_cnt, NTP_SYS_STATE::sys_rec_evt)

NTP_SYS_STATE_SUPP_PRECISION 

supports precision indication, see NTP_SYS_STATE::precision

NTP_SYS_STATE_SUPP_ROOT_DELAY 

supports root delay to syspeer, see NTP_SYS_STATE::root_delay

NTP_SYS_STATE_SUPP_ROOT_DISP 

supports root dispersion, see NTP_SYS_STATE::root_disp

NTP_SYS_STATE_SUPP_FREQ 

supports frequency offset, see NTP_SYS_STATE::freq

NTP_SYS_STATE_SUPP_SYS_JITTER 

supports combined jitter, see NTP_SYS_STATE::sys_jitter

NTP_SYS_STATE_SUPP_CLK_JITTER 

supports clock jitter, see NTP_SYS_STATE::clk_jitter

NTP_SYS_STATE_SUPP_CLK_WANDER 

supports clock wander, see NTP_SYS_STATE::clk_wander

NTP_SYS_STATE_SUPP_SYS_ASSOC 

supports sys assoc ID as sys peer, see NTP_SYS_STATE::sys_assoc

NTP_SYS_STATE_SUPP_SERVICE_STATE 

supports service state, see NTP_SYS_STATE::service_state

N_NTP_SYS_STATE_SUPP_FLAGS 

Definition at line 16797 of file gpsdefs.h.

◆ NTP_SYSTEMS

Enumeration of operating systems using NTP.

Used with NTP_SYS_STATE::system

Enumerator
NTP_SYSTEM_UNKNOWN 
NTP_SYSTEM_NONE 
NTP_SYSTEM_WINDOWS 
NTP_SYSTEM_LINUX 
NTP_SYSTEM_BSD 
NTP_SYSTEM_SOLARIS 
N_NTP_SYSTEMS 

Definition at line 16592 of file gpsdefs.h.