mbgtools-lx
4.2.8
|
NTP refclock specific settings. More...
#include <gpsdefs.h>
Data Fields | |
uint8_t | type |
See NTP_REFCLK_TYPES. More... | |
uint8_t | instance |
Refclock instance of the specified type. Usually up to 4 instances of the same type are supported by ntpd. More... | |
uint8_t | mode |
Driver specific "mode" ::FIXME Flag to enable "mode"? More... | |
int8_t | stratum |
Stratum number to be fudged; -1 if unspecified and thus default is to be used. More... | |
int8_t | refid [4] |
Reference id used by driver ::FIXME Flag to enable "refid"? More... | |
uint8_t | minpoll |
Minimum polling interval, [log2 seconds], 0 if unused/unspecified. More... | |
uint8_t | maxpoll |
Maximum polling interval, [log2 seconds], 0 if unused/unspecified. More... | |
uint8_t | reserved_1 |
Future use. More... | |
uint8_t | reserved_2 |
Future use. More... | |
NANO_TIME_64 | time1 |
Driver specific. More... | |
NANO_TIME_64 | time2 |
Driver specific. More... | |
uint16_t | drv_flags_enable |
Enable/disable driver specific flags, see NTP_FUDGE_FLAG_NUMBERS. More... | |
uint16_t | drv_flags_value |
0 or 1, if (drv_flags_enable & x) == 1, see NTP_FUDGE_FLAG_NUMBERS More... | |
uint32_t | flags |
See NTP_FLAG_MASKS. Only flags specified in ::FIXME can be used here. More... | |
uint32_t | reserved_3 |
Future use. More... | |
NTP refclock specific settings.
Used to configure a NTP refclock.
uint16_t NTP_REFCLK_CFG_SETTINGS::drv_flags_enable |
Enable/disable driver specific flags, see NTP_FUDGE_FLAG_NUMBERS.
uint16_t NTP_REFCLK_CFG_SETTINGS::drv_flags_value |
0 or 1, if (drv_flags_enable & x) == 1, see NTP_FUDGE_FLAG_NUMBERS
uint32_t NTP_REFCLK_CFG_SETTINGS::flags |
See NTP_FLAG_MASKS. Only flags specified in ::FIXME can be used here.
uint8_t NTP_REFCLK_CFG_SETTINGS::instance |
uint8_t NTP_REFCLK_CFG_SETTINGS::maxpoll |
uint8_t NTP_REFCLK_CFG_SETTINGS::minpoll |
uint8_t NTP_REFCLK_CFG_SETTINGS::mode |
int8_t NTP_REFCLK_CFG_SETTINGS::refid[4] |
uint32_t NTP_REFCLK_CFG_SETTINGS::reserved_3 |
int8_t NTP_REFCLK_CFG_SETTINGS::stratum |
NANO_TIME_64 NTP_REFCLK_CFG_SETTINGS::time1 |
NANO_TIME_64 NTP_REFCLK_CFG_SETTINGS::time2 |
uint8_t NTP_REFCLK_CFG_SETTINGS::type |
See NTP_REFCLK_TYPES.