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