[][src]Module nc::timex

Structs

kernel_timex_t
kernel_timex_timeval_t
timex_t

syscall interface - used (mainly by NTP daemon) to discipline kernel clock oscillator

Constants

ADJ_ESTERROR

estimated time error

ADJ_FREQUENCY

frequency offset

ADJ_MAXERROR

maximum time error

ADJ_MICRO

select microsecond resolution

ADJ_NANO

select nanosecond resolution

ADJ_OFFSET

Mode codes (timex.mode) time offset

ADJ_OFFSET_SINGLESHOT

old-fashioned adjtime

ADJ_OFFSET_SS_READ

read-only adjtime

ADJ_SETOFFSET

add 'time' to current time

ADJ_STATUS

clock status

ADJ_TAI

set TAI offset

ADJ_TICK

tick value

ADJ_TIMECONST

pll time constant

MOD_ESTERROR
MOD_FREQUENCY
MOD_MAXERROR
MOD_MICRO
MOD_NANO
MOD_OFFSET

NTP userland likes the MOD_ prefix better

MOD_STATUS
MOD_TAI
MOD_TIMECONST
NTP_API

NTP API version

STA_CLK

clock source (0 = A, 1 = B) (ro)

STA_CLOCKERR

clock hardware fault (ro)

STA_DEL

delete leap (rw)

STA_FLL

select frequency-lock mode (rw)

STA_FREQHOLD

hold frequency (rw)

STA_INS

insert leap (rw)

STA_MODE

mode (0 = PLL, 1 = FLL) (ro)

STA_NANO

resolution (0 = us, 1 = ns) (ro)

STA_PLL

Status codes (timex.status) enable PLL updates (rw)

STA_PPSERROR

PPS signal calibration error (ro)

STA_PPSFREQ

enable PPS freq discipline (rw)

STA_PPSJITTER

PPS signal jitter exceeded (ro)

STA_PPSSIGNAL

PPS signal present (ro)

STA_PPSTIME

enable PPS time discipline (rw)

STA_PPSWANDER

PPS signal wander exceeded (ro)

STA_RONLY

read-only bits

STA_UNSYNC

clock unsynchronized (rw)

TIME_BAD

bw compat

TIME_DEL

delete leap second

TIME_ERROR

clock not synchronized

TIME_INS

insert leap second

TIME_OK

Clock states (time_state) clock synchronized, no leap second

TIME_OOP

leap second in progress

TIME_WAIT

leap second has occurred