2021-09-17 04:44:35 +00:00
|
|
|
package ntp
|
|
|
|
|
|
|
|
const (
|
2022-01-31 05:25:15 +00:00
|
|
|
ntpClientModeValue uint8 = 3 // 00000011.
|
|
|
|
ntpLeapEnabledValue uint8 = 64 // 01000000.
|
|
|
|
ntpVersion3Value uint8 = 24 // 00011000.
|
|
|
|
ntpVersion4Value uint8 = 40 // 00101000.
|
2021-09-17 04:44:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const ntpEpochOffset = 2208988800
|
|
|
|
|
|
|
|
const (
|
|
|
|
ntpV3 ntpVersion = iota
|
|
|
|
ntpV4
|
|
|
|
)
|