Lines Matching refs:htonl

1040 		ip->timereceived = htonl((u_int32)(current_time - pp->timereceived));
1041 ip->timetosend = htonl(pp->nextdate - current_time);
1042 ip->timereachable = htonl((u_int32)(current_time - pp->timereachable));
1043 ip->sent = htonl((u_int32)(pp->sent));
1044 ip->processed = htonl((u_int32)(pp->processed));
1045 ip->badauth = htonl((u_int32)(pp->badauth));
1046 ip->bogusorg = htonl((u_int32)(pp->bogusorg));
1047 ip->oldpkt = htonl((u_int32)(pp->oldpkt));
1048 ip->seldisp = htonl((u_int32)(pp->seldisptoolarge));
1049 ip->selbroken = htonl((u_int32)(pp->selbroken));
1093 is->rootdelay = htonl(DTOFP(sys_rootdelay));
1094 is->rootdispersion = htonl(DTOUFP(sys_rootdisp));
1095 is->frequency = htonl(DTOFP(sys_jitter));
1096 is->stability = htonl(DTOUFP(clock_stability * 1e6));
1142 ss->timeup = htonl((u_int32)current_time);
1143 ss->timereset = htonl((u_int32)(current_time - sys_stattime));
1144 ss->denied = htonl((u_int32)sys_restricted);
1145 ss->oldversionpkt = htonl((u_int32)sys_oldversion);
1146 ss->newversionpkt = htonl((u_int32)sys_newversion);
1147 ss->unknownversion = htonl((u_int32)sys_declined);
1148 ss->badlength = htonl((u_int32)sys_badlength);
1149 ss->processed = htonl((u_int32)sys_processed);
1150 ss->badauth = htonl((u_int32)sys_badauth);
1151 ss->limitrejected = htonl((u_int32)sys_limitrejected);
1152 ss->received = htonl((u_int32)sys_received);
1174 ms->timereset = htonl((u_int32)(current_time - peer_timereset));
1177 ms->findpeer_calls = htonl((u_int32)findpeer_calls);
1178 ms->allocations = htonl((u_int32)peer_allocations);
1179 ms->demobilizations = htonl((u_int32)peer_demobilizations);
1205 io->timereset = htonl((u_int32)(current_time - io_timereset));
1210 io->dropped = htonl((u_int32)packets_dropped);
1211 io->ignored = htonl((u_int32)packets_ignored);
1212 io->received = htonl((u_int32)packets_received);
1213 io->sent = htonl((u_int32)packets_sent);
1214 io->notsent = htonl((u_int32)packets_notsent);
1215 io->interrupts = htonl((u_int32)handler_calls);
1216 io->int_received = htonl((u_int32)handler_pkts);
1240 ts->timereset = htonl((u_int32)sincereset);
1242 ts->overflows = htonl((u_int32)alarm_overflow);
1243 ts->xmtcalls = htonl((u_int32)timer_xmtcalls);
1270 li->compliance = htonl((u_int32)(tc_counter));
1271 li->watchdog_timer = htonl((u_int32)(current_time - sys_epoch));
1651 pir->addr = htonl(res->u.v4.addr);
1654 pir->mask = htonl(res->u.v4.mask);
1655 pir->count = htonl(res->count);
1686 pir->count = htonl(res->count);
2106 ia->numkeys = htonl((u_int32)authnumkeys);
2107 ia->numfreekeys = htonl((u_int32)authnumfreekeys);
2108 ia->keylookups = htonl((u_int32)authkeylookups);
2109 ia->keynotfound = htonl((u_int32)authkeynotfound);
2110 ia->encryptions = htonl((u_int32)authencryptions);
2111 ia->decryptions = htonl((u_int32)authdecryptions);
2112 ia->keyuncached = htonl((u_int32)authkeyuncached);
2113 ia->expired = htonl((u_int32)authkeyexpired);
2114 ia->timereset = htonl((u_int32)(current_time - auth_timereset));
2181 it->settime = htonl((u_int32)(current_time - tr->tr_settime));
2182 it->origtime = htonl((u_int32)(current_time - tr->tr_origtime));
2183 it->resets = htonl((u_int32)tr->tr_resets);
2184 it->flags = htonl((u_int32)tr->tr_flags);
2386 ic->ctltimereset = htonl((u_int32)(current_time - ctltimereset));
2387 ic->numctlreq = htonl((u_int32)numctlreq);
2388 ic->numctlbadpkts = htonl((u_int32)numctlbadpkts);
2389 ic->numctlresponses = htonl((u_int32)numctlresponses);
2390 ic->numctlfrags = htonl((u_int32)numctlfrags);
2391 ic->numctlerrors = htonl((u_int32)numctlerrors);
2392 ic->numctltooshort = htonl((u_int32)numctltooshort);
2393 ic->numctlinputresp = htonl((u_int32)numctlinputresp);
2394 ic->numctlinputfrag = htonl((u_int32)numctlinputfrag);
2395 ic->numctlinputerr = htonl((u_int32)numctlinputerr);
2396 ic->numctlbadoffset = htonl((u_int32)numctlbadoffset);
2397 ic->numctlbadversion = htonl((u_int32)numctlbadversion);
2398 ic->numctldatatooshort = htonl((u_int32)numctldatatooshort);
2399 ic->numctlbadop = htonl((u_int32)numctlbadop);
2400 ic->numasyncmsgs = htonl((u_int32)numasyncmsgs);
2435 ik->offset = htonl((u_int32)ntx.offset);
2436 ik->freq = htonl((u_int32)ntx.freq);
2437 ik->maxerror = htonl((u_int32)ntx.maxerror);
2438 ik->esterror = htonl((u_int32)ntx.esterror);
2440 ik->constant = htonl((u_int32)ntx.constant);
2441 ik->precision = htonl((u_int32)ntx.precision);
2442 ik->tolerance = htonl((u_int32)ntx.tolerance);
2447 ik->ppsfreq = htonl((u_int32)ntx.ppsfreq);
2448 ik->jitter = htonl((u_int32)ntx.jitter);
2450 ik->stabil = htonl((u_int32)ntx.stabil);
2451 ik->jitcnt = htonl((u_int32)ntx.jitcnt);
2452 ik->calcnt = htonl((u_int32)ntx.calcnt);
2453 ik->errcnt = htonl((u_int32)ntx.errcnt);
2454 ik->stbcnt = htonl((u_int32)ntx.stbcnt);
2509 ic->polls = htonl((u_int32)clock_stat.polls);
2510 ic->noresponse = htonl((u_int32)clock_stat.noresponse);
2511 ic->badformat = htonl((u_int32)clock_stat.badformat);
2512 ic->baddata = htonl((u_int32)clock_stat.baddata);
2513 ic->timestarted = htonl((u_int32)clock_stat.timereset);
2518 ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1);
2519 ic->fudgeval2 = htonl(clock_stat.fudgeval2);
2653 ic->values[i] = htonl(bug.values[i]);
2659 ic->stimes = htonl(bug.stimes);
2698 ifs->v6_flag = htonl(ifs->v6_flag);
2701 ifs->flags = htonl(ep->flags);
2702 ifs->last_ttl = htonl(ep->last_ttl);
2703 ifs->num_mcast = htonl(ep->num_mcast);
2704 ifs->received = htonl(ep->received);
2705 ifs->sent = htonl(ep->sent);
2706 ifs->notsent = htonl(ep->notsent);
2707 ifs->ifindex = htonl(ep->ifindex);
2710 ifs->ifnum = htonl(ep->ifnum);
2711 ifs->uptime = htonl(current_time - ep->starttime);
2713 ifs->peercnt = htonl(ep->peercnt);