/contrib/ntp/ntpdc/layout.std

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 439 lines · 405 code · 34 blank · 0 comment · 0 complexity · a7f5edc56cdb891ce17ad465918d1685 MD5 · raw file

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