1 /* $FreeBSD$ */ 2 printf("sizeof(union req_data_u_tag) = %d\n", 3 (int) sizeof(union req_data_u_tag)); 4 printf("offsetof(u32) = %d\n", 5 (int) offsetof(union req_data_u_tag, u32)); 6 printf("offsetof(data) = %d\n", 7 (int) offsetof(union req_data_u_tag, data)); 8 printf("\n"); 9 10 printf("sizeof(struct req_pkt) = %d\n", 11 (int) sizeof(struct req_pkt)); 12 printf("offsetof(rm_vn_mode) = %d\n", 13 (int) offsetof(struct req_pkt, rm_vn_mode)); 14 printf("offsetof(auth_seq) = %d\n", 15 (int) offsetof(struct req_pkt, auth_seq)); 16 printf("offsetof(implementation) = %d\n", 17 (int) offsetof(struct req_pkt, implementation)); 18 printf("offsetof(request) = %d\n", 19 (int) offsetof(struct req_pkt, request)); 20 printf("offsetof(err_nitems) = %d\n", 21 (int) offsetof(struct req_pkt, err_nitems)); 22 printf("offsetof(mbz_itemsize) = %d\n", 23 (int) offsetof(struct req_pkt, mbz_itemsize)); 24 printf("offsetof(u) = %d\n", 25 (int) offsetof(struct req_pkt, u)); 26 printf("offsetof(tstamp) = %d\n", 27 (int) offsetof(struct req_pkt, tstamp)); 28 printf("offsetof(keyid) = %d\n", 29 (int) offsetof(struct req_pkt, keyid)); 30 printf("offsetof(mac) = %d\n", 31 (int) offsetof(struct req_pkt, mac)); 32 printf("\n"); 33 34 printf("sizeof(struct req_pkt_tail) = %d\n", 35 (int) sizeof(struct req_pkt_tail)); 36 printf("offsetof(tstamp) = %d\n", 37 (int) offsetof(struct req_pkt_tail, tstamp)); 38 printf("offsetof(keyid) = %d\n", 39 (int) offsetof(struct req_pkt_tail, keyid)); 40 printf("offsetof(mac) = %d\n", 41 (int) offsetof(struct req_pkt_tail, mac)); 42 printf("\n"); 43 44 printf("sizeof(union resp_pkt_u_tag) = %d\n", 45 (int) sizeof(union resp_pkt_u_tag)); 46 printf("offsetof(data) = %d\n", 47 (int) offsetof(union resp_pkt_u_tag, data)); 48 printf("offsetof(u32) = %d\n", 49 (int) offsetof(union resp_pkt_u_tag, u32)); 50 printf("\n"); 51 52 printf("sizeof(struct resp_pkt) = %d\n", 53 (int) sizeof(struct resp_pkt)); 54 printf("offsetof(rm_vn_mode) = %d\n", 55 (int) offsetof(struct resp_pkt, rm_vn_mode)); 56 printf("offsetof(auth_seq) = %d\n", 57 (int) offsetof(struct resp_pkt, auth_seq)); 58 printf("offsetof(implementation) = %d\n", 59 (int) offsetof(struct resp_pkt, implementation)); 60 printf("offsetof(request) = %d\n", 61 (int) offsetof(struct resp_pkt, request)); 62 printf("offsetof(err_nitems) = %d\n", 63 (int) offsetof(struct resp_pkt, err_nitems)); 64 printf("offsetof(mbz_itemsize) = %d\n", 65 (int) offsetof(struct resp_pkt, mbz_itemsize)); 66 printf("offsetof(u) = %d\n", 67 (int) offsetof(struct resp_pkt, u)); 68 printf("\n"); 69 70 printf("sizeof(struct info_peer_list) = %d\n", 71 (int) sizeof(struct info_peer_list)); 72 printf("offsetof(addr) = %d\n", 73 (int) offsetof(struct info_peer_list, addr)); 74 printf("offsetof(port) = %d\n", 75 (int) offsetof(struct info_peer_list, port)); 76 printf("offsetof(hmode) = %d\n", 77 (int) offsetof(struct info_peer_list, hmode)); 78 printf("offsetof(flags) = %d\n", 79 (int) offsetof(struct info_peer_list, flags)); 80 printf("offsetof(v6_flag) = %d\n", 81 (int) offsetof(struct info_peer_list, v6_flag)); 82 printf("offsetof(unused1) = %d\n", 83 (int) offsetof(struct info_peer_list, unused1)); 84 printf("offsetof(addr6) = %d\n", 85 (int) offsetof(struct info_peer_list, addr6)); 86 printf("\n"); 87 88 printf("sizeof(struct info_peer_summary) = %d\n", 89 (int) sizeof(struct info_peer_summary)); 90 printf("offsetof(dstadr) = %d\n", 91 (int) offsetof(struct info_peer_summary, dstadr)); 92 printf("offsetof(srcadr) = %d\n", 93 (int) offsetof(struct info_peer_summary, srcadr)); 94 printf("offsetof(srcport) = %d\n", 95 (int) offsetof(struct info_peer_summary, srcport)); 96 printf("offsetof(stratum) = %d\n", 97 (int) offsetof(struct info_peer_summary, stratum)); 98 printf("offsetof(hpoll) = %d\n", 99 (int) offsetof(struct info_peer_summary, hpoll)); 100 printf("offsetof(ppoll) = %d\n", 101 (int) offsetof(struct info_peer_summary, ppoll)); 102 printf("offsetof(reach) = %d\n", 103 (int) offsetof(struct info_peer_summary, reach)); 104 printf("offsetof(flags) = %d\n", 105 (int) offsetof(struct info_peer_summary, flags)); 106 printf("offsetof(hmode) = %d\n", 107 (int) offsetof(struct info_peer_summary, hmode)); 108 printf("offsetof(delay) = %d\n", 109 (int) offsetof(struct info_peer_summary, delay)); 110 printf("offsetof(offset) = %d\n", 111 (int) offsetof(struct info_peer_summary, offset)); 112 printf("offsetof(dispersion) = %d\n", 113 (int) offsetof(struct info_peer_summary, dispersion)); 114 printf("offsetof(v6_flag) = %d\n", 115 (int) offsetof(struct info_peer_summary, v6_flag)); 116 printf("offsetof(unused1) = %d\n", 117 (int) offsetof(struct info_peer_summary, unused1)); 118 printf("offsetof(dstadr6) = %d\n", 119 (int) offsetof(struct info_peer_summary, dstadr6)); 120 printf("offsetof(srcadr6) = %d\n", 121 (int) offsetof(struct info_peer_summary, srcadr6)); 122 printf("\n"); 123 124 printf("sizeof(struct info_peer) = %d\n", 125 (int) sizeof(struct info_peer)); 126 printf("offsetof(dstadr) = %d\n", 127 (int) offsetof(struct info_peer, dstadr)); 128 printf("offsetof(srcadr) = %d\n", 129 (int) offsetof(struct info_peer, srcadr)); 130 printf("offsetof(srcport) = %d\n", 131 (int) offsetof(struct info_peer, srcport)); 132 printf("offsetof(flags) = %d\n", 133 (int) offsetof(struct info_peer, flags)); 134 printf("offsetof(leap) = %d\n", 135 (int) offsetof(struct info_peer, leap)); 136 printf("offsetof(hmode) = %d\n", 137 (int) offsetof(struct info_peer, hmode)); 138 printf("offsetof(pmode) = %d\n", 139 (int) offsetof(struct info_peer, pmode)); 140 printf("offsetof(stratum) = %d\n", 141 (int) offsetof(struct info_peer, stratum)); 142 printf("offsetof(ppoll) = %d\n", 143 (int) offsetof(struct info_peer, ppoll)); 144 printf("offsetof(hpoll) = %d\n", 145 (int) offsetof(struct info_peer, hpoll)); 146 printf("offsetof(precision) = %d\n", 147 (int) offsetof(struct info_peer, precision)); 148 printf("offsetof(version) = %d\n", 149 (int) offsetof(struct info_peer, version)); 150 printf("offsetof(unused8) = %d\n", 151 (int) offsetof(struct info_peer, unused8)); 152 printf("offsetof(reach) = %d\n", 153 (int) offsetof(struct info_peer, reach)); 154 printf("offsetof(unreach) = %d\n", 155 (int) offsetof(struct info_peer, unreach)); 156 printf("offsetof(flash) = %d\n", 157 (int) offsetof(struct info_peer, flash)); 158 printf("offsetof(ttl) = %d\n", 159 (int) offsetof(struct info_peer, ttl)); 160 printf("offsetof(flash2) = %d\n", 161 (int) offsetof(struct info_peer, flash2)); 162 printf("offsetof(associd) = %d\n", 163 (int) offsetof(struct info_peer, associd)); 164 printf("offsetof(keyid) = %d\n", 165 (int) offsetof(struct info_peer, keyid)); 166 printf("offsetof(pkeyid) = %d\n", 167 (int) offsetof(struct info_peer, pkeyid)); 168 printf("offsetof(refid) = %d\n", 169 (int) offsetof(struct info_peer, refid)); 170 printf("offsetof(timer) = %d\n", 171 (int) offsetof(struct info_peer, timer)); 172 printf("offsetof(rootdelay) = %d\n", 173 (int) offsetof(struct info_peer, rootdelay)); 174 printf("offsetof(rootdispersion) = %d\n", 175 (int) offsetof(struct info_peer, rootdispersion)); 176 printf("offsetof(reftime) = %d\n", 177 (int) offsetof(struct info_peer, reftime)); 178 printf("offsetof(org) = %d\n", 179 (int) offsetof(struct info_peer, org)); 180 printf("offsetof(rec) = %d\n", 181 (int) offsetof(struct info_peer, rec)); 182 printf("offsetof(xmt) = %d\n", 183 (int) offsetof(struct info_peer, xmt)); 184 printf("offsetof(filtdelay) = %d\n", 185 (int) offsetof(struct info_peer, filtdelay)); 186 printf("offsetof(filtoffset) = %d\n", 187 (int) offsetof(struct info_peer, filtoffset)); 188 printf("offsetof(order) = %d\n", 189 (int) offsetof(struct info_peer, order)); 190 printf("offsetof(delay) = %d\n", 191 (int) offsetof(struct info_peer, delay)); 192 printf("offsetof(dispersion) = %d\n", 193 (int) offsetof(struct info_peer, dispersion)); 194 printf("offsetof(offset) = %d\n", 195 (int) offsetof(struct info_peer, offset)); 196 printf("offsetof(selectdisp) = %d\n", 197 (int) offsetof(struct info_peer, selectdisp)); 198 printf("offsetof(unused1) = %d\n", 199 (int) offsetof(struct info_peer, unused1)); 200 printf("offsetof(unused2) = %d\n", 201 (int) offsetof(struct info_peer, unused2)); 202 printf("offsetof(unused3) = %d\n", 203 (int) offsetof(struct info_peer, unused3)); 204 printf("offsetof(unused4) = %d\n", 205 (int) offsetof(struct info_peer, unused4)); 206 printf("offsetof(unused5) = %d\n", 207 (int) offsetof(struct info_peer, unused5)); 208 printf("offsetof(unused6) = %d\n", 209 (int) offsetof(struct info_peer, unused6)); 210 printf("offsetof(unused7) = %d\n", 211 (int) offsetof(struct info_peer, unused7)); 212 printf("offsetof(estbdelay) = %d\n", 213 (int) offsetof(struct info_peer, estbdelay)); 214 printf("offsetof(v6_flag) = %d\n", 215 (int) offsetof(struct info_peer, v6_flag)); 216 printf("offsetof(unused9) = %d\n", 217 (int) offsetof(struct info_peer, unused9)); 218 printf("offsetof(dstadr6) = %d\n", 219 (int) offsetof(struct info_peer, dstadr6)); 220 printf("offsetof(srcadr6) = %d\n", 221 (int) offsetof(struct info_peer, srcadr6)); 222 printf("\n"); 223 224 printf("sizeof(struct info_peer_stats) = %d\n", 225 (int) sizeof(struct info_peer_stats)); 226 printf("offsetof(dstadr) = %d\n", 227 (int) offsetof(struct info_peer_stats, dstadr)); 228 printf("offsetof(srcadr) = %d\n", 229 (int) offsetof(struct info_peer_stats, srcadr)); 230 printf("offsetof(srcport) = %d\n", 231 (int) offsetof(struct info_peer_stats, srcport)); 232 printf("offsetof(flags) = %d\n", 233 (int) offsetof(struct info_peer_stats, flags)); 234 printf("offsetof(timereset) = %d\n", 235 (int) offsetof(struct info_peer_stats, timereset)); 236 printf("offsetof(timereceived) = %d\n", 237 (int) offsetof(struct info_peer_stats, timereceived)); 238 printf("offsetof(timetosend) = %d\n", 239 (int) offsetof(struct info_peer_stats, timetosend)); 240 printf("offsetof(timereachable) = %d\n", 241 (int) offsetof(struct info_peer_stats, timereachable)); 242 printf("offsetof(sent) = %d\n", 243 (int) offsetof(struct info_peer_stats, sent)); 244 printf("offsetof(unused1) = %d\n", 245 (int) offsetof(struct info_peer_stats, unused1)); 246 printf("offsetof(processed) = %d\n", 247 (int) offsetof(struct info_peer_stats, processed)); 248 printf("offsetof(unused2) = %d\n", 249 (int) offsetof(struct info_peer_stats, unused2)); 250 printf("offsetof(badauth) = %d\n", 251 (int) offsetof(struct info_peer_stats, badauth)); 252 printf("offsetof(bogusorg) = %d\n", 253 (int) offsetof(struct info_peer_stats, bogusorg)); 254 printf("offsetof(oldpkt) = %d\n", 255 (int) offsetof(struct info_peer_stats, oldpkt)); 256 printf("offsetof(unused3) = %d\n", 257 (int) offsetof(struct info_peer_stats, unused3)); 258 printf("offsetof(unused4) = %d\n", 259 (int) offsetof(struct info_peer_stats, unused4)); 260 printf("offsetof(seldisp) = %d\n", 261 (int) offsetof(struct info_peer_stats, seldisp)); 262 printf("offsetof(selbroken) = %d\n", 263 (int) offsetof(struct info_peer_stats, selbroken)); 264 printf("offsetof(unused5) = %d\n", 265 (int) offsetof(struct info_peer_stats, unused5)); 266 printf("offsetof(candidate) = %d\n", 267 (int) offsetof(struct info_peer_stats, candidate)); 268 printf("offsetof(unused6) = %d\n", 269 (int) offsetof(struct info_peer_stats, unused6)); 270 printf("offsetof(unused7) = %d\n", 271 (int) offsetof(struct info_peer_stats, unused7)); 272 printf("offsetof(unused8) = %d\n", 273 (int) offsetof(struct info_peer_stats, unused8)); 274 printf("offsetof(v6_flag) = %d\n", 275 (int) offsetof(struct info_peer_stats, v6_flag)); 276 printf("offsetof(unused9) = %d\n", 277 (int) offsetof(struct info_peer_stats, unused9)); 278 printf("offsetof(dstadr6) = %d\n", 279 (int) offsetof(struct info_peer_stats, dstadr6)); 280 printf("offsetof(srcadr6) = %d\n", 281 (int) offsetof(struct info_peer_stats, srcadr6)); 282 printf("\n"); 283 284 printf("sizeof(struct info_loop) = %d\n", 285 (int) sizeof(struct info_loop)); 286 printf("offsetof(last_offset) = %d\n", 287 (int) offsetof(struct info_loop, last_offset)); 288 printf("offsetof(drift_comp) = %d\n", 289 (int) offsetof(struct info_loop, drift_comp)); 290 printf("offsetof(compliance) = %d\n", 291 (int) offsetof(struct info_loop, compliance)); 292 printf("offsetof(watchdog_timer) = %d\n", 293 (int) offsetof(struct info_loop, watchdog_timer)); 294 printf("\n"); 295 296 printf("sizeof(struct info_sys) = %d\n", 297 (int) sizeof(struct info_sys)); 298 printf("offsetof(peer) = %d\n", 299 (int) offsetof(struct info_sys, peer)); 300 printf("offsetof(peer_mode) = %d\n", 301 (int) offsetof(struct info_sys, peer_mode)); 302 printf("offsetof(leap) = %d\n", 303 (int) offsetof(struct info_sys, leap)); 304 printf("offsetof(stratum) = %d\n", 305 (int) offsetof(struct info_sys, stratum)); 306 printf("offsetof(precision) = %d\n", 307 (int) offsetof(struct info_sys, precision)); 308 printf("offsetof(rootdelay) = %d\n", 309 (int) offsetof(struct info_sys, rootdelay)); 310 printf("offsetof(rootdispersion) = %d\n", 311 (int) offsetof(struct info_sys, rootdispersion)); 312 printf("offsetof(refid) = %d\n", 313 (int) offsetof(struct info_sys, refid)); 314 printf("offsetof(reftime) = %d\n", 315 (int) offsetof(struct info_sys, reftime)); 316 printf("offsetof(poll) = %d\n", 317 (int) offsetof(struct info_sys, poll)); 318 printf("offsetof(flags) = %d\n", 319 (int) offsetof(struct info_sys, flags)); 320 printf("offsetof(unused1) = %d\n", 321 (int) offsetof(struct info_sys, unused1)); 322 printf("offsetof(unused2) = %d\n", 323 (int) offsetof(struct info_sys, unused2)); 324 printf("offsetof(unused3) = %d\n", 325 (int) offsetof(struct info_sys, unused3)); 326 printf("offsetof(bdelay) = %d\n", 327 (int) offsetof(struct info_sys, bdelay)); 328 printf("offsetof(frequency) = %d\n", 329 (int) offsetof(struct info_sys, frequency)); 330 printf("offsetof(authdelay) = %d\n", 331 (int) offsetof(struct info_sys, authdelay)); 332 printf("offsetof(stability) = %d\n", 333 (int) offsetof(struct info_sys, stability)); 334 printf("offsetof(v6_flag) = %d\n", 335 (int) offsetof(struct info_sys, v6_flag)); 336 printf("offsetof(unused4) = %d\n", 337 (int) offsetof(struct info_sys, unused4)); 338 printf("offsetof(peer6) = %d\n", 339 (int) offsetof(struct info_sys, peer6)); 340 printf("\n"); 341 342 printf("sizeof(struct info_sys_stats) = %d\n", 343 (int) sizeof(struct info_sys_stats)); 344 printf("offsetof(timeup) = %d\n", 345 (int) offsetof(struct info_sys_stats, timeup)); 346 printf("offsetof(timereset) = %d\n", 347 (int) offsetof(struct info_sys_stats, timereset)); 348 printf("offsetof(denied) = %d\n", 349 (int) offsetof(struct info_sys_stats, denied)); 350 printf("offsetof(oldversionpkt) = %d\n", 351 (int) offsetof(struct info_sys_stats, oldversionpkt)); 352 printf("offsetof(newversionpkt) = %d\n", 353 (int) offsetof(struct info_sys_stats, newversionpkt)); 354 printf("offsetof(unknownversion) = %d\n", 355 (int) offsetof(struct info_sys_stats, unknownversion)); 356 printf("offsetof(badlength) = %d\n", 357 (int) offsetof(struct info_sys_stats, badlength)); 358 printf("offsetof(processed) = %d\n", 359 (int) offsetof(struct info_sys_stats, processed)); 360 printf("offsetof(badauth) = %d\n", 361 (int) offsetof(struct info_sys_stats, badauth)); 362 printf("offsetof(received) = %d\n", 363 (int) offsetof(struct info_sys_stats, received)); 364 printf("offsetof(limitrejected) = %d\n", 365 (int) offsetof(struct info_sys_stats, limitrejected)); 366 printf("\n"); 367 368 printf("sizeof(struct old_info_sys_stats) = %d\n", 369 (int) sizeof(struct old_info_sys_stats)); 370 printf("offsetof(timeup) = %d\n", 371 (int) offsetof(struct old_info_sys_stats, timeup)); 372 printf("offsetof(timereset) = %d\n", 373 (int) offsetof(struct old_info_sys_stats, timereset)); 374 printf("offsetof(denied) = %d\n", 375 (int) offsetof(struct old_info_sys_stats, denied)); 376 printf("offsetof(oldversionpkt) = %d\n", 377 (int) offsetof(struct old_info_sys_stats, oldversionpkt)); 378 printf("offsetof(newversionpkt) = %d\n", 379 (int) offsetof(struct old_info_sys_stats, newversionpkt)); 380 printf("offsetof(unknownversion) = %d\n", 381 (int) offsetof(struct old_info_sys_stats, unknownversion)); 382 printf("offsetof(badlength) = %d\n", 383 (int) offsetof(struct old_info_sys_stats, badlength)); 384 printf("offsetof(processed) = %d\n", 385 (int) offsetof(struct old_info_sys_stats, processed)); 386 printf("offsetof(badauth) = %d\n", 387 (int) offsetof(struct old_info_sys_stats, badauth)); 388 printf("offsetof(wanderhold) = %d\n", 389 (int) offsetof(struct old_info_sys_stats, wanderhold)); 390 printf("\n"); 391 392 printf("sizeof(struct info_mem_stats) = %d\n", 393 (int) sizeof(struct info_mem_stats)); 394 printf("offsetof(timereset) = %d\n", 395 (int) offsetof(struct info_mem_stats, timereset)); 396 printf("offsetof(totalpeermem) = %d\n", 397 (int) offsetof(struct info_mem_stats, totalpeermem)); 398 printf("offsetof(freepeermem) = %d\n", 399 (int) offsetof(struct info_mem_stats, freepeermem)); 400 printf("offsetof(findpeer_calls) = %d\n", 401 (int) offsetof(struct info_mem_stats, findpeer_calls)); 402 printf("offsetof(allocations) = %d\n", 403 (int) offsetof(struct info_mem_stats, allocations)); 404 printf("offsetof(demobilizations) = %d\n", 405 (int) offsetof(struct info_mem_stats, demobilizations)); 406 printf("offsetof(hashcount) = %d\n", 407 (int) offsetof(struct info_mem_stats, hashcount)); 408 printf("\n"); 409 410 printf("sizeof(struct info_io_stats) = %d\n", 411 (int) sizeof(struct info_io_stats)); 412 printf("offsetof(timereset) = %d\n", 413 (int) offsetof(struct info_io_stats, timereset)); 414 printf("offsetof(totalrecvbufs) = %d\n", 415 (int) offsetof(struct info_io_stats, totalrecvbufs)); 416 printf("offsetof(freerecvbufs) = %d\n", 417 (int) offsetof(struct info_io_stats, freerecvbufs)); 418 printf("offsetof(fullrecvbufs) = %d\n", 419 (int) offsetof(struct info_io_stats, fullrecvbufs)); 420 printf("offsetof(lowwater) = %d\n", 421 (int) offsetof(struct info_io_stats, lowwater)); 422 printf("offsetof(dropped) = %d\n", 423 (int) offsetof(struct info_io_stats, dropped)); 424 printf("offsetof(ignored) = %d\n", 425 (int) offsetof(struct info_io_stats, ignored)); 426 printf("offsetof(received) = %d\n", 427 (int) offsetof(struct info_io_stats, received)); 428 printf("offsetof(sent) = %d\n", 429 (int) offsetof(struct info_io_stats, sent)); 430 printf("offsetof(notsent) = %d\n", 431 (int) offsetof(struct info_io_stats, notsent)); 432 printf("offsetof(interrupts) = %d\n", 433 (int) offsetof(struct info_io_stats, interrupts)); 434 printf("offsetof(int_received) = %d\n", 435 (int) offsetof(struct info_io_stats, int_received)); 436 printf("\n"); 437 438 printf("sizeof(struct info_timer_stats) = %d\n", 439 (int) sizeof(struct info_timer_stats)); 440 printf("offsetof(timereset) = %d\n", 441 (int) offsetof(struct info_timer_stats, timereset)); 442 printf("offsetof(alarms) = %d\n", 443 (int) offsetof(struct info_timer_stats, alarms)); 444 printf("offsetof(overflows) = %d\n", 445 (int) offsetof(struct info_timer_stats, overflows)); 446 printf("offsetof(xmtcalls) = %d\n", 447 (int) offsetof(struct info_timer_stats, xmtcalls)); 448 printf("\n"); 449 450 printf("sizeof(struct old_conf_peer) = %d\n", 451 (int) sizeof(struct old_conf_peer)); 452 printf("offsetof(peeraddr) = %d\n", 453 (int) offsetof(struct old_conf_peer, peeraddr)); 454 printf("offsetof(hmode) = %d\n", 455 (int) offsetof(struct old_conf_peer, hmode)); 456 printf("offsetof(version) = %d\n", 457 (int) offsetof(struct old_conf_peer, version)); 458 printf("offsetof(minpoll) = %d\n", 459 (int) offsetof(struct old_conf_peer, minpoll)); 460 printf("offsetof(maxpoll) = %d\n", 461 (int) offsetof(struct old_conf_peer, maxpoll)); 462 printf("offsetof(flags) = %d\n", 463 (int) offsetof(struct old_conf_peer, flags)); 464 printf("offsetof(ttl) = %d\n", 465 (int) offsetof(struct old_conf_peer, ttl)); 466 printf("offsetof(unused) = %d\n", 467 (int) offsetof(struct old_conf_peer, unused)); 468 printf("offsetof(keyid) = %d\n", 469 (int) offsetof(struct old_conf_peer, keyid)); 470 printf("\n"); 471 472 printf("sizeof(struct conf_peer) = %d\n", 473 (int) sizeof(struct conf_peer)); 474 printf("offsetof(peeraddr) = %d\n", 475 (int) offsetof(struct conf_peer, peeraddr)); 476 printf("offsetof(hmode) = %d\n", 477 (int) offsetof(struct conf_peer, hmode)); 478 printf("offsetof(version) = %d\n", 479 (int) offsetof(struct conf_peer, version)); 480 printf("offsetof(minpoll) = %d\n", 481 (int) offsetof(struct conf_peer, minpoll)); 482 printf("offsetof(maxpoll) = %d\n", 483 (int) offsetof(struct conf_peer, maxpoll)); 484 printf("offsetof(flags) = %d\n", 485 (int) offsetof(struct conf_peer, flags)); 486 printf("offsetof(ttl) = %d\n", 487 (int) offsetof(struct conf_peer, ttl)); 488 printf("offsetof(unused1) = %d\n", 489 (int) offsetof(struct conf_peer, unused1)); 490 printf("offsetof(keyid) = %d\n", 491 (int) offsetof(struct conf_peer, keyid)); 492 printf("offsetof(keystr) = %d\n", 493 (int) offsetof(struct conf_peer, keystr)); 494 printf("offsetof(v6_flag) = %d\n", 495 (int) offsetof(struct conf_peer, v6_flag)); 496 printf("offsetof(unused2) = %d\n", 497 (int) offsetof(struct conf_peer, unused2)); 498 printf("offsetof(peeraddr6) = %d\n", 499 (int) offsetof(struct conf_peer, peeraddr6)); 500 printf("\n"); 501 502 printf("sizeof(struct conf_unpeer) = %d\n", 503 (int) sizeof(struct conf_unpeer)); 504 printf("offsetof(peeraddr) = %d\n", 505 (int) offsetof(struct conf_unpeer, peeraddr)); 506 printf("offsetof(v6_flag) = %d\n", 507 (int) offsetof(struct conf_unpeer, v6_flag)); 508 printf("offsetof(peeraddr6) = %d\n", 509 (int) offsetof(struct conf_unpeer, peeraddr6)); 510 printf("\n"); 511 512 printf("sizeof(struct conf_sys_flags) = %d\n", 513 (int) sizeof(struct conf_sys_flags)); 514 printf("offsetof(flags) = %d\n", 515 (int) offsetof(struct conf_sys_flags, flags)); 516 printf("\n"); 517 518 printf("sizeof(struct info_restrict) = %d\n", 519 (int) sizeof(struct info_restrict)); 520 printf("offsetof(addr) = %d\n", 521 (int) offsetof(struct info_restrict, addr)); 522 printf("offsetof(mask) = %d\n", 523 (int) offsetof(struct info_restrict, mask)); 524 printf("offsetof(count) = %d\n", 525 (int) offsetof(struct info_restrict, count)); 526 printf("offsetof(flags) = %d\n", 527 (int) offsetof(struct info_restrict, flags)); 528 printf("offsetof(mflags) = %d\n", 529 (int) offsetof(struct info_restrict, mflags)); 530 printf("offsetof(v6_flag) = %d\n", 531 (int) offsetof(struct info_restrict, v6_flag)); 532 printf("offsetof(unused1) = %d\n", 533 (int) offsetof(struct info_restrict, unused1)); 534 printf("offsetof(addr6) = %d\n", 535 (int) offsetof(struct info_restrict, addr6)); 536 printf("offsetof(mask6) = %d\n", 537 (int) offsetof(struct info_restrict, mask6)); 538 printf("\n"); 539 540 printf("sizeof(struct conf_restrict) = %d\n", 541 (int) sizeof(struct conf_restrict)); 542 printf("offsetof(addr) = %d\n", 543 (int) offsetof(struct conf_restrict, addr)); 544 printf("offsetof(mask) = %d\n", 545 (int) offsetof(struct conf_restrict, mask)); 546 printf("offsetof(flags) = %d\n", 547 (int) offsetof(struct conf_restrict, flags)); 548 printf("offsetof(mflags) = %d\n", 549 (int) offsetof(struct conf_restrict, mflags)); 550 printf("offsetof(v6_flag) = %d\n", 551 (int) offsetof(struct conf_restrict, v6_flag)); 552 printf("offsetof(addr6) = %d\n", 553 (int) offsetof(struct conf_restrict, addr6)); 554 printf("offsetof(mask6) = %d\n", 555 (int) offsetof(struct conf_restrict, mask6)); 556 printf("\n"); 557 558 printf("sizeof(struct info_monitor_1) = %d\n", 559 (int) sizeof(struct info_monitor_1)); 560 printf("offsetof(avg_int) = %d\n", 561 (int) offsetof(struct info_monitor_1, avg_int)); 562 printf("offsetof(last_int) = %d\n", 563 (int) offsetof(struct info_monitor_1, last_int)); 564 printf("offsetof(restr) = %d\n", 565 (int) offsetof(struct info_monitor_1, restr)); 566 printf("offsetof(count) = %d\n", 567 (int) offsetof(struct info_monitor_1, count)); 568 printf("offsetof(addr) = %d\n", 569 (int) offsetof(struct info_monitor_1, addr)); 570 printf("offsetof(daddr) = %d\n", 571 (int) offsetof(struct info_monitor_1, daddr)); 572 printf("offsetof(flags) = %d\n", 573 (int) offsetof(struct info_monitor_1, flags)); 574 printf("offsetof(port) = %d\n", 575 (int) offsetof(struct info_monitor_1, port)); 576 printf("offsetof(mode) = %d\n", 577 (int) offsetof(struct info_monitor_1, mode)); 578 printf("offsetof(version) = %d\n", 579 (int) offsetof(struct info_monitor_1, version)); 580 printf("offsetof(v6_flag) = %d\n", 581 (int) offsetof(struct info_monitor_1, v6_flag)); 582 printf("offsetof(unused1) = %d\n", 583 (int) offsetof(struct info_monitor_1, unused1)); 584 printf("offsetof(addr6) = %d\n", 585 (int) offsetof(struct info_monitor_1, addr6)); 586 printf("offsetof(daddr6) = %d\n", 587 (int) offsetof(struct info_monitor_1, daddr6)); 588 printf("\n"); 589 590 printf("sizeof(struct info_monitor) = %d\n", 591 (int) sizeof(struct info_monitor)); 592 printf("offsetof(avg_int) = %d\n", 593 (int) offsetof(struct info_monitor, avg_int)); 594 printf("offsetof(last_int) = %d\n", 595 (int) offsetof(struct info_monitor, last_int)); 596 printf("offsetof(restr) = %d\n", 597 (int) offsetof(struct info_monitor, restr)); 598 printf("offsetof(count) = %d\n", 599 (int) offsetof(struct info_monitor, count)); 600 printf("offsetof(addr) = %d\n", 601 (int) offsetof(struct info_monitor, addr)); 602 printf("offsetof(port) = %d\n", 603 (int) offsetof(struct info_monitor, port)); 604 printf("offsetof(mode) = %d\n", 605 (int) offsetof(struct info_monitor, mode)); 606 printf("offsetof(version) = %d\n", 607 (int) offsetof(struct info_monitor, version)); 608 printf("offsetof(v6_flag) = %d\n", 609 (int) offsetof(struct info_monitor, v6_flag)); 610 printf("offsetof(unused1) = %d\n", 611 (int) offsetof(struct info_monitor, unused1)); 612 printf("offsetof(addr6) = %d\n", 613 (int) offsetof(struct info_monitor, addr6)); 614 printf("\n"); 615 616 printf("sizeof(struct old_info_monitor) = %d\n", 617 (int) sizeof(struct old_info_monitor)); 618 printf("offsetof(lasttime) = %d\n", 619 (int) offsetof(struct old_info_monitor, lasttime)); 620 printf("offsetof(firsttime) = %d\n", 621 (int) offsetof(struct old_info_monitor, firsttime)); 622 printf("offsetof(count) = %d\n", 623 (int) offsetof(struct old_info_monitor, count)); 624 printf("offsetof(addr) = %d\n", 625 (int) offsetof(struct old_info_monitor, addr)); 626 printf("offsetof(port) = %d\n", 627 (int) offsetof(struct old_info_monitor, port)); 628 printf("offsetof(mode) = %d\n", 629 (int) offsetof(struct old_info_monitor, mode)); 630 printf("offsetof(version) = %d\n", 631 (int) offsetof(struct old_info_monitor, version)); 632 printf("offsetof(v6_flag) = %d\n", 633 (int) offsetof(struct old_info_monitor, v6_flag)); 634 printf("offsetof(addr6) = %d\n", 635 (int) offsetof(struct old_info_monitor, addr6)); 636 printf("\n"); 637 638 printf("sizeof(struct reset_flags) = %d\n", 639 (int) sizeof(struct reset_flags)); 640 printf("offsetof(flags) = %d\n", 641 (int) offsetof(struct reset_flags, flags)); 642 printf("\n"); 643 644 printf("sizeof(struct info_auth) = %d\n", 645 (int) sizeof(struct info_auth)); 646 printf("offsetof(timereset) = %d\n", 647 (int) offsetof(struct info_auth, timereset)); 648 printf("offsetof(numkeys) = %d\n", 649 (int) offsetof(struct info_auth, numkeys)); 650 printf("offsetof(numfreekeys) = %d\n", 651 (int) offsetof(struct info_auth, numfreekeys)); 652 printf("offsetof(keylookups) = %d\n", 653 (int) offsetof(struct info_auth, keylookups)); 654 printf("offsetof(keynotfound) = %d\n", 655 (int) offsetof(struct info_auth, keynotfound)); 656 printf("offsetof(encryptions) = %d\n", 657 (int) offsetof(struct info_auth, encryptions)); 658 printf("offsetof(decryptions) = %d\n", 659 (int) offsetof(struct info_auth, decryptions)); 660 printf("offsetof(expired) = %d\n", 661 (int) offsetof(struct info_auth, expired)); 662 printf("offsetof(keyuncached) = %d\n", 663 (int) offsetof(struct info_auth, keyuncached)); 664 printf("\n"); 665 666 printf("sizeof(struct info_trap) = %d\n", 667 (int) sizeof(struct info_trap)); 668 printf("offsetof(local_address) = %d\n", 669 (int) offsetof(struct info_trap, local_address)); 670 printf("offsetof(trap_address) = %d\n", 671 (int) offsetof(struct info_trap, trap_address)); 672 printf("offsetof(trap_port) = %d\n", 673 (int) offsetof(struct info_trap, trap_port)); 674 printf("offsetof(sequence) = %d\n", 675 (int) offsetof(struct info_trap, sequence)); 676 printf("offsetof(settime) = %d\n", 677 (int) offsetof(struct info_trap, settime)); 678 printf("offsetof(origtime) = %d\n", 679 (int) offsetof(struct info_trap, origtime)); 680 printf("offsetof(resets) = %d\n", 681 (int) offsetof(struct info_trap, resets)); 682 printf("offsetof(flags) = %d\n", 683 (int) offsetof(struct info_trap, flags)); 684 printf("offsetof(v6_flag) = %d\n", 685 (int) offsetof(struct info_trap, v6_flag)); 686 printf("offsetof(local_address6) = %d\n", 687 (int) offsetof(struct info_trap, local_address6)); 688 printf("offsetof(trap_address6) = %d\n", 689 (int) offsetof(struct info_trap, trap_address6)); 690 printf("\n"); 691 692 printf("sizeof(struct conf_trap) = %d\n", 693 (int) sizeof(struct conf_trap)); 694 printf("offsetof(local_address) = %d\n", 695 (int) offsetof(struct conf_trap, local_address)); 696 printf("offsetof(trap_address) = %d\n", 697 (int) offsetof(struct conf_trap, trap_address)); 698 printf("offsetof(trap_port) = %d\n", 699 (int) offsetof(struct conf_trap, trap_port)); 700 printf("offsetof(unused) = %d\n", 701 (int) offsetof(struct conf_trap, unused)); 702 printf("offsetof(v6_flag) = %d\n", 703 (int) offsetof(struct conf_trap, v6_flag)); 704 printf("offsetof(local_address6) = %d\n", 705 (int) offsetof(struct conf_trap, local_address6)); 706 printf("offsetof(trap_address6) = %d\n", 707 (int) offsetof(struct conf_trap, trap_address6)); 708 printf("\n"); 709 710 printf("sizeof(struct info_control) = %d\n", 711 (int) sizeof(struct info_control)); 712 printf("offsetof(ctltimereset) = %d\n", 713 (int) offsetof(struct info_control, ctltimereset)); 714 printf("offsetof(numctlreq) = %d\n", 715 (int) offsetof(struct info_control, numctlreq)); 716 printf("offsetof(numctlbadpkts) = %d\n", 717 (int) offsetof(struct info_control, numctlbadpkts)); 718 printf("offsetof(numctlresponses) = %d\n", 719 (int) offsetof(struct info_control, numctlresponses)); 720 printf("offsetof(numctlfrags) = %d\n", 721 (int) offsetof(struct info_control, numctlfrags)); 722 printf("offsetof(numctlerrors) = %d\n", 723 (int) offsetof(struct info_control, numctlerrors)); 724 printf("offsetof(numctltooshort) = %d\n", 725 (int) offsetof(struct info_control, numctltooshort)); 726 printf("offsetof(numctlinputresp) = %d\n", 727 (int) offsetof(struct info_control, numctlinputresp)); 728 printf("offsetof(numctlinputfrag) = %d\n", 729 (int) offsetof(struct info_control, numctlinputfrag)); 730 printf("offsetof(numctlinputerr) = %d\n", 731 (int) offsetof(struct info_control, numctlinputerr)); 732 printf("offsetof(numctlbadoffset) = %d\n", 733 (int) offsetof(struct info_control, numctlbadoffset)); 734 printf("offsetof(numctlbadversion) = %d\n", 735 (int) offsetof(struct info_control, numctlbadversion)); 736 printf("offsetof(numctldatatooshort) = %d\n", 737 (int) offsetof(struct info_control, numctldatatooshort)); 738 printf("offsetof(numctlbadop) = %d\n", 739 (int) offsetof(struct info_control, numctlbadop)); 740 printf("offsetof(numasyncmsgs) = %d\n", 741 (int) offsetof(struct info_control, numasyncmsgs)); 742 printf("\n"); 743 744 printf("sizeof(struct info_clock) = %d\n", 745 (int) sizeof(struct info_clock)); 746 printf("offsetof(clockadr) = %d\n", 747 (int) offsetof(struct info_clock, clockadr)); 748 printf("offsetof(type) = %d\n", 749 (int) offsetof(struct info_clock, type)); 750 printf("offsetof(flags) = %d\n", 751 (int) offsetof(struct info_clock, flags)); 752 printf("offsetof(lastevent) = %d\n", 753 (int) offsetof(struct info_clock, lastevent)); 754 printf("offsetof(currentstatus) = %d\n", 755 (int) offsetof(struct info_clock, currentstatus)); 756 printf("offsetof(polls) = %d\n", 757 (int) offsetof(struct info_clock, polls)); 758 printf("offsetof(noresponse) = %d\n", 759 (int) offsetof(struct info_clock, noresponse)); 760 printf("offsetof(badformat) = %d\n", 761 (int) offsetof(struct info_clock, badformat)); 762 printf("offsetof(baddata) = %d\n", 763 (int) offsetof(struct info_clock, baddata)); 764 printf("offsetof(timestarted) = %d\n", 765 (int) offsetof(struct info_clock, timestarted)); 766 printf("offsetof(fudgetime1) = %d\n", 767 (int) offsetof(struct info_clock, fudgetime1)); 768 printf("offsetof(fudgetime2) = %d\n", 769 (int) offsetof(struct info_clock, fudgetime2)); 770 printf("offsetof(fudgeval1) = %d\n", 771 (int) offsetof(struct info_clock, fudgeval1)); 772 printf("offsetof(fudgeval2) = %d\n", 773 (int) offsetof(struct info_clock, fudgeval2)); 774 printf("\n"); 775 776 printf("sizeof(struct conf_fudge) = %d\n", 777 (int) sizeof(struct conf_fudge)); 778 printf("offsetof(clockadr) = %d\n", 779 (int) offsetof(struct conf_fudge, clockadr)); 780 printf("offsetof(which) = %d\n", 781 (int) offsetof(struct conf_fudge, which)); 782 printf("offsetof(fudgetime) = %d\n", 783 (int) offsetof(struct conf_fudge, fudgetime)); 784 printf("offsetof(fudgeval_flags) = %d\n", 785 (int) offsetof(struct conf_fudge, fudgeval_flags)); 786 printf("\n"); 787 788 printf("sizeof(struct info_clkbug) = %d\n", 789 (int) sizeof(struct info_clkbug)); 790 printf("offsetof(clockadr) = %d\n", 791 (int) offsetof(struct info_clkbug, clockadr)); 792 printf("offsetof(nvalues) = %d\n", 793 (int) offsetof(struct info_clkbug, nvalues)); 794 printf("offsetof(ntimes) = %d\n", 795 (int) offsetof(struct info_clkbug, ntimes)); 796 printf("offsetof(svalues) = %d\n", 797 (int) offsetof(struct info_clkbug, svalues)); 798 printf("offsetof(stimes) = %d\n", 799 (int) offsetof(struct info_clkbug, stimes)); 800 printf("offsetof(values) = %d\n", 801 (int) offsetof(struct info_clkbug, values)); 802 printf("offsetof(times) = %d\n", 803 (int) offsetof(struct info_clkbug, times)); 804 printf("\n"); 805 806 printf("sizeof(struct info_kernel) = %d\n", 807 (int) sizeof(struct info_kernel)); 808 printf("offsetof(offset) = %d\n", 809 (int) offsetof(struct info_kernel, offset)); 810 printf("offsetof(freq) = %d\n", 811 (int) offsetof(struct info_kernel, freq)); 812 printf("offsetof(maxerror) = %d\n", 813 (int) offsetof(struct info_kernel, maxerror)); 814 printf("offsetof(esterror) = %d\n", 815 (int) offsetof(struct info_kernel, esterror)); 816 printf("offsetof(status) = %d\n", 817 (int) offsetof(struct info_kernel, status)); 818 printf("offsetof(shift) = %d\n", 819 (int) offsetof(struct info_kernel, shift)); 820 printf("offsetof(constant) = %d\n", 821 (int) offsetof(struct info_kernel, constant)); 822 printf("offsetof(precision) = %d\n", 823 (int) offsetof(struct info_kernel, precision)); 824 printf("offsetof(tolerance) = %d\n", 825 (int) offsetof(struct info_kernel, tolerance)); 826 printf("offsetof(ppsfreq) = %d\n", 827 (int) offsetof(struct info_kernel, ppsfreq)); 828 printf("offsetof(jitter) = %d\n", 829 (int) offsetof(struct info_kernel, jitter)); 830 printf("offsetof(stabil) = %d\n", 831 (int) offsetof(struct info_kernel, stabil)); 832 printf("offsetof(jitcnt) = %d\n", 833 (int) offsetof(struct info_kernel, jitcnt)); 834 printf("offsetof(calcnt) = %d\n", 835 (int) offsetof(struct info_kernel, calcnt)); 836 printf("offsetof(errcnt) = %d\n", 837 (int) offsetof(struct info_kernel, errcnt)); 838 printf("offsetof(stbcnt) = %d\n", 839 (int) offsetof(struct info_kernel, stbcnt)); 840 printf("\n"); 841 842 printf("sizeof(struct info_if_stats) = %d\n", 843 (int) sizeof(struct info_if_stats)); 844 printf("offsetof(unaddr) = %d\n", 845 (int) offsetof(struct info_if_stats, unaddr)); 846 printf("offsetof(unbcast) = %d\n", 847 (int) offsetof(struct info_if_stats, unbcast)); 848 printf("offsetof(unmask) = %d\n", 849 (int) offsetof(struct info_if_stats, unmask)); 850 printf("offsetof(v6_flag) = %d\n", 851 (int) offsetof(struct info_if_stats, v6_flag)); 852 printf("offsetof(name) = %d\n", 853 (int) offsetof(struct info_if_stats, name)); 854 printf("offsetof(flags) = %d\n", 855 (int) offsetof(struct info_if_stats, flags)); 856 printf("offsetof(last_ttl) = %d\n", 857 (int) offsetof(struct info_if_stats, last_ttl)); 858 printf("offsetof(num_mcast) = %d\n", 859 (int) offsetof(struct info_if_stats, num_mcast)); 860 printf("offsetof(received) = %d\n", 861 (int) offsetof(struct info_if_stats, received)); 862 printf("offsetof(sent) = %d\n", 863 (int) offsetof(struct info_if_stats, sent)); 864 printf("offsetof(notsent) = %d\n", 865 (int) offsetof(struct info_if_stats, notsent)); 866 printf("offsetof(uptime) = %d\n", 867 (int) offsetof(struct info_if_stats, uptime)); 868 printf("offsetof(scopeid) = %d\n", 869 (int) offsetof(struct info_if_stats, scopeid)); 870 printf("offsetof(ifindex) = %d\n", 871 (int) offsetof(struct info_if_stats, ifindex)); 872 printf("offsetof(ifnum) = %d\n", 873 (int) offsetof(struct info_if_stats, ifnum)); 874 printf("offsetof(peercnt) = %d\n", 875 (int) offsetof(struct info_if_stats, peercnt)); 876 printf("offsetof(family) = %d\n", 877 (int) offsetof(struct info_if_stats, family)); 878 printf("offsetof(ignore_packets) = %d\n", 879 (int) offsetof(struct info_if_stats, ignore_packets)); 880 printf("offsetof(action) = %d\n", 881 (int) offsetof(struct info_if_stats, action)); 882 printf("offsetof(_filler0) = %d\n", 883 (int) offsetof(struct info_if_stats, _filler0)); 884 printf("\n"); 885 886 printf("sizeof(struct info_dns_assoc) = %d\n", 887 (int) sizeof(struct info_dns_assoc)); 888 printf("offsetof(peeraddr) = %d\n", 889 (int) offsetof(struct info_dns_assoc, peeraddr)); 890 printf("offsetof(associd) = %d\n", 891 (int) offsetof(struct info_dns_assoc, associd)); 892 printf("offsetof(hostname) = %d\n", 893 (int) offsetof(struct info_dns_assoc, hostname)); 894 printf("\n"); 895 896