xref: /netbsd/external/bsd/ntp/dist/ntpdc/layout.std (revision 6550d01e)
1sizeof(struct req_pkt) = 216
2offsetof(rm_vn_mode) = 0
3offsetof(auth_seq) = 1
4offsetof(implementation) = 2
5offsetof(request) = 3
6offsetof(err_nitems) = 4
7offsetof(mbz_itemsize) = 6
8offsetof(data) = 8
9offsetof(tstamp) = 184
10offsetof(keyid) = 192
11offsetof(mac) = 196
12
13sizeof(struct req_pkt_tail) = 32
14offsetof(tstamp) = 0
15offsetof(keyid) = 8
16offsetof(mac) = 12
17
18sizeof(struct resp_pkt) = 508
19offsetof(rm_vn_mode) = 0
20offsetof(auth_seq) = 1
21offsetof(implementation) = 2
22offsetof(request) = 3
23offsetof(err_nitems) = 4
24offsetof(mbz_itemsize) = 6
25offsetof(data) = 8
26
27sizeof(struct info_peer_list) = 32
28offsetof(addr) = 0
29offsetof(port) = 4
30offsetof(hmode) = 6
31offsetof(flags) = 7
32offsetof(v6_flag) = 8
33offsetof(unused1) = 12
34offsetof(addr6) = 16
35
36sizeof(struct info_peer_summary) = 72
37offsetof(dstadr) = 0
38offsetof(srcadr) = 4
39offsetof(srcport) = 8
40offsetof(stratum) = 10
41offsetof(hpoll) = 11
42offsetof(ppoll) = 12
43offsetof(reach) = 13
44offsetof(flags) = 14
45offsetof(hmode) = 15
46offsetof(delay) = 16
47offsetof(offset) = 20
48offsetof(dispersion) = 28
49offsetof(v6_flag) = 32
50offsetof(unused1) = 36
51offsetof(dstadr6) = 40
52offsetof(srcadr6) = 56
53
54sizeof(struct info_peer) = 280
55offsetof(dstadr) = 0
56offsetof(srcadr) = 4
57offsetof(srcport) = 8
58offsetof(flags) = 10
59offsetof(leap) = 11
60offsetof(hmode) = 12
61offsetof(pmode) = 13
62offsetof(stratum) = 14
63offsetof(ppoll) = 15
64offsetof(hpoll) = 16
65offsetof(precision) = 17
66offsetof(version) = 18
67offsetof(unused8) = 19
68offsetof(reach) = 20
69offsetof(unreach) = 21
70offsetof(flash) = 22
71offsetof(ttl) = 23
72offsetof(flash2) = 24
73offsetof(associd) = 26
74offsetof(keyid) = 28
75offsetof(pkeyid) = 32
76offsetof(refid) = 36
77offsetof(timer) = 40
78offsetof(rootdelay) = 44
79offsetof(rootdispersion) = 48
80offsetof(reftime) = 52
81offsetof(org) = 60
82offsetof(rec) = 68
83offsetof(xmt) = 76
84offsetof(filtdelay) = 84
85offsetof(filtoffset) = 116
86offsetof(order) = 180
87offsetof(delay) = 188
88offsetof(dispersion) = 192
89offsetof(offset) = 196
90offsetof(selectdisp) = 204
91offsetof(unused1) = 208
92offsetof(unused2) = 212
93offsetof(unused3) = 216
94offsetof(unused4) = 220
95offsetof(unused5) = 224
96offsetof(unused6) = 228
97offsetof(unused7) = 232
98offsetof(estbdelay) = 236
99offsetof(v6_flag) = 240
100offsetof(unused9) = 244
101offsetof(dstadr6) = 248
102offsetof(srcadr6) = 264
103
104sizeof(struct info_peer_stats) = 120
105offsetof(dstadr) = 0
106offsetof(srcadr) = 4
107offsetof(srcport) = 8
108offsetof(flags) = 10
109offsetof(timereset) = 12
110offsetof(timereceived) = 16
111offsetof(timetosend) = 20
112offsetof(timereachable) = 24
113offsetof(sent) = 28
114offsetof(unused1) = 32
115offsetof(processed) = 36
116offsetof(unused2) = 40
117offsetof(badauth) = 44
118offsetof(bogusorg) = 48
119offsetof(oldpkt) = 52
120offsetof(unused3) = 56
121offsetof(unused4) = 60
122offsetof(seldisp) = 64
123offsetof(selbroken) = 68
124offsetof(unused5) = 72
125offsetof(candidate) = 76
126offsetof(unused6) = 77
127offsetof(unused7) = 78
128offsetof(unused8) = 79
129offsetof(v6_flag) = 80
130offsetof(unused9) = 84
131offsetof(dstadr6) = 88
132offsetof(srcadr6) = 104
133
134sizeof(struct info_loop) = 24
135offsetof(last_offset) = 0
136offsetof(drift_comp) = 8
137offsetof(compliance) = 16
138offsetof(watchdog_timer) = 20
139
140sizeof(struct info_sys) = 80
141offsetof(peer) = 0
142offsetof(peer_mode) = 4
143offsetof(leap) = 5
144offsetof(stratum) = 6
145offsetof(precision) = 7
146offsetof(rootdelay) = 8
147offsetof(rootdispersion) = 12
148offsetof(refid) = 16
149offsetof(reftime) = 20
150offsetof(poll) = 28
151offsetof(flags) = 32
152offsetof(unused1) = 33
153offsetof(unused2) = 34
154offsetof(unused3) = 35
155offsetof(bdelay) = 36
156offsetof(frequency) = 40
157offsetof(authdelay) = 44
158offsetof(stability) = 52
159offsetof(v6_flag) = 56
160offsetof(unused4) = 60
161offsetof(peer6) = 64
162
163sizeof(struct info_sys_stats) = 44
164offsetof(timeup) = 0
165offsetof(timereset) = 4
166offsetof(denied) = 8
167offsetof(oldversionpkt) = 12
168offsetof(newversionpkt) = 16
169offsetof(unknownversion) = 20
170offsetof(badlength) = 24
171offsetof(processed) = 28
172offsetof(badauth) = 32
173offsetof(received) = 36
174offsetof(limitrejected) = 40
175
176sizeof(struct old_info_sys_stats) = 40
177offsetof(timeup) = 0
178offsetof(timereset) = 4
179offsetof(denied) = 8
180offsetof(oldversionpkt) = 12
181offsetof(newversionpkt) = 16
182offsetof(unknownversion) = 20
183offsetof(badlength) = 24
184offsetof(processed) = 28
185offsetof(badauth) = 32
186offsetof(wanderhold) = 36
187
188sizeof(struct info_mem_stats) = 148
189offsetof(timereset) = 0
190offsetof(totalpeermem) = 4
191offsetof(freepeermem) = 6
192offsetof(findpeer_calls) = 8
193offsetof(allocations) = 12
194offsetof(demobilizations) = 16
195offsetof(hashcount) = 20
196
197sizeof(struct info_io_stats) = 40
198offsetof(timereset) = 0
199offsetof(totalrecvbufs) = 4
200offsetof(freerecvbufs) = 6
201offsetof(fullrecvbufs) = 8
202offsetof(lowwater) = 10
203offsetof(dropped) = 12
204offsetof(ignored) = 16
205offsetof(received) = 20
206offsetof(sent) = 24
207offsetof(notsent) = 28
208offsetof(interrupts) = 32
209offsetof(int_received) = 36
210
211sizeof(struct info_timer_stats) = 16
212offsetof(timereset) = 0
213offsetof(alarms) = 4
214offsetof(overflows) = 8
215offsetof(xmtcalls) = 12
216
217sizeof(struct old_conf_peer) = 16
218offsetof(peeraddr) = 0
219offsetof(hmode) = 4
220offsetof(version) = 5
221offsetof(minpoll) = 6
222offsetof(maxpoll) = 7
223offsetof(flags) = 8
224offsetof(ttl) = 9
225offsetof(unused) = 10
226offsetof(keyid) = 12
227
228sizeof(struct conf_peer) = 168
229offsetof(peeraddr) = 0
230offsetof(hmode) = 4
231offsetof(version) = 5
232offsetof(minpoll) = 6
233offsetof(maxpoll) = 7
234offsetof(flags) = 8
235offsetof(ttl) = 9
236offsetof(unused1) = 10
237offsetof(keyid) = 12
238offsetof(keystr) = 16
239offsetof(v6_flag) = 144
240offsetof(unused2) = 148
241offsetof(peeraddr6) = 152
242
243sizeof(struct conf_unpeer) = 24
244offsetof(peeraddr) = 0
245offsetof(v6_flag) = 4
246offsetof(peeraddr6) = 8
247
248sizeof(struct conf_sys_flags) = 4
249offsetof(flags) = 0
250
251sizeof(struct info_restrict) = 56
252offsetof(addr) = 0
253offsetof(mask) = 4
254offsetof(count) = 8
255offsetof(flags) = 12
256offsetof(mflags) = 14
257offsetof(v6_flag) = 16
258offsetof(unused1) = 20
259offsetof(addr6) = 24
260offsetof(mask6) = 40
261
262sizeof(struct conf_restrict) = 48
263offsetof(addr) = 0
264offsetof(mask) = 4
265offsetof(flags) = 8
266offsetof(mflags) = 10
267offsetof(v6_flag) = 12
268offsetof(addr6) = 16
269offsetof(mask6) = 32
270
271sizeof(struct info_monitor_1) = 72
272offsetof(lasttime) = 0
273offsetof(firsttime) = 4
274offsetof(restr) = 8
275offsetof(count) = 12
276offsetof(addr) = 16
277offsetof(daddr) = 20
278offsetof(flags) = 24
279offsetof(port) = 28
280offsetof(mode) = 30
281offsetof(version) = 31
282offsetof(v6_flag) = 32
283offsetof(unused1) = 36
284offsetof(addr6) = 40
285offsetof(daddr6) = 56
286
287sizeof(struct info_monitor) = 48
288offsetof(lasttime) = 0
289offsetof(firsttime) = 4
290offsetof(restr) = 8
291offsetof(count) = 12
292offsetof(addr) = 16
293offsetof(port) = 20
294offsetof(mode) = 22
295offsetof(version) = 23
296offsetof(v6_flag) = 24
297offsetof(unused1) = 28
298offsetof(addr6) = 32
299
300sizeof(struct old_info_monitor) = 40
301offsetof(lasttime) = 0
302offsetof(firsttime) = 4
303offsetof(count) = 8
304offsetof(addr) = 12
305offsetof(port) = 16
306offsetof(mode) = 18
307offsetof(version) = 19
308offsetof(v6_flag) = 20
309offsetof(addr6) = 24
310
311sizeof(struct reset_flags) = 4
312offsetof(flags) = 0
313
314sizeof(struct info_auth) = 36
315offsetof(timereset) = 0
316offsetof(numkeys) = 4
317offsetof(numfreekeys) = 8
318offsetof(keylookups) = 12
319offsetof(keynotfound) = 16
320offsetof(encryptions) = 20
321offsetof(decryptions) = 24
322offsetof(expired) = 28
323offsetof(keyuncached) = 32
324
325sizeof(struct info_trap) = 64
326offsetof(local_address) = 0
327offsetof(trap_address) = 4
328offsetof(trap_port) = 8
329offsetof(sequence) = 10
330offsetof(settime) = 12
331offsetof(origtime) = 16
332offsetof(resets) = 20
333offsetof(flags) = 24
334offsetof(v6_flag) = 28
335offsetof(local_address6) = 32
336offsetof(trap_address6) = 48
337
338sizeof(struct conf_trap) = 48
339offsetof(local_address) = 0
340offsetof(trap_address) = 4
341offsetof(trap_port) = 8
342offsetof(unused) = 10
343offsetof(v6_flag) = 12
344offsetof(local_address6) = 16
345offsetof(trap_address6) = 32
346
347sizeof(struct info_control) = 60
348offsetof(ctltimereset) = 0
349offsetof(numctlreq) = 4
350offsetof(numctlbadpkts) = 8
351offsetof(numctlresponses) = 12
352offsetof(numctlfrags) = 16
353offsetof(numctlerrors) = 20
354offsetof(numctltooshort) = 24
355offsetof(numctlinputresp) = 28
356offsetof(numctlinputfrag) = 32
357offsetof(numctlinputerr) = 36
358offsetof(numctlbadoffset) = 40
359offsetof(numctlbadversion) = 44
360offsetof(numctldatatooshort) = 48
361offsetof(numctlbadop) = 52
362offsetof(numasyncmsgs) = 56
363
364sizeof(struct info_clock) = 52
365offsetof(clockadr) = 0
366offsetof(type) = 4
367offsetof(flags) = 5
368offsetof(lastevent) = 6
369offsetof(currentstatus) = 7
370offsetof(polls) = 8
371offsetof(noresponse) = 12
372offsetof(badformat) = 16
373offsetof(baddata) = 20
374offsetof(timestarted) = 24
375offsetof(fudgetime1) = 28
376offsetof(fudgetime2) = 36
377offsetof(fudgeval1) = 44
378offsetof(fudgeval2) = 48
379
380sizeof(struct conf_fudge) = 20
381offsetof(clockadr) = 0
382offsetof(which) = 4
383offsetof(fudgetime) = 8
384offsetof(fudgeval_flags) = 16
385
386sizeof(struct info_clkbug) = 332
387offsetof(clockadr) = 0
388offsetof(nvalues) = 4
389offsetof(ntimes) = 5
390offsetof(svalues) = 6
391offsetof(stimes) = 8
392offsetof(values) = 12
393offsetof(times) = 76
394
395sizeof(struct info_kernel) = 60
396offsetof(offset) = 0
397offsetof(freq) = 4
398offsetof(maxerror) = 8
399offsetof(esterror) = 12
400offsetof(status) = 16
401offsetof(shift) = 18
402offsetof(constant) = 20
403offsetof(precision) = 24
404offsetof(tolerance) = 28
405offsetof(ppsfreq) = 32
406offsetof(jitter) = 36
407offsetof(stabil) = 40
408offsetof(jitcnt) = 44
409offsetof(calcnt) = 48
410offsetof(errcnt) = 52
411offsetof(stbcnt) = 56
412
413sizeof(struct info_if_stats) = 136
414offsetof(unaddr) = 0
415offsetof(unbcast) = 16
416offsetof(unmask) = 32
417offsetof(v6_flag) = 48
418offsetof(name) = 52
419offsetof(flags) = 84
420offsetof(last_ttl) = 88
421offsetof(num_mcast) = 92
422offsetof(received) = 96
423offsetof(sent) = 100
424offsetof(notsent) = 104
425offsetof(uptime) = 108
426offsetof(scopeid) = 112
427offsetof(ifindex) = 116
428offsetof(ifnum) = 120
429offsetof(peercnt) = 124
430offsetof(family) = 128
431offsetof(ignore_packets) = 130
432offsetof(action) = 131
433offsetof(_filler0) = 132
434
435sizeof(struct info_dns_assoc) = 32
436offsetof(peeraddr) = 0
437offsetof(associd) = 4
438offsetof(hostname) = 6
439
440