File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / ntpdc / layout.std
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>