summaryrefslogtreecommitdiff
path: root/internal/ntp/const.go
blob: 8f60fc22fcbc268e9ff425b4291b7aaad75eb329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package ntp

const ntpEpochOffset = 2208988800

const (
	ntpV3 ntpVersion = iota
	ntpV4
)

const (
	maskMode    = 0xf8
	maskVersion = 0xc7
	maskLeap    = 0x3f
)

const (
	modeClient = 3
)

const (
	version3 = 3
	version4 = 4
)

const (
	leapUnknown = 3
)