Lines Matching refs:htonl

1045 		ip->timereceived = htonl((u_int32)(current_time - pp->timereceived));
1046 ip->timetosend = htonl(pp->nextdate - current_time);
1047 ip->timereachable = htonl((u_int32)(current_time - pp->timereachable));
1048 ip->sent = htonl((u_int32)(pp->sent));
1049 ip->processed = htonl((u_int32)(pp->processed));
1050 ip->badauth = htonl((u_int32)(pp->badauth));
1051 ip->bogusorg = htonl((u_int32)(pp->bogusorg));
1052 ip->oldpkt = htonl((u_int32)(pp->oldpkt));
1053 ip->seldisp = htonl((u_int32)(pp->seldisptoolarge));
1054 ip->selbroken = htonl((u_int32)(pp->selbroken));
1098 is->rootdelay = htonl(DTOFP(sys_rootdelay));
1099 is->rootdispersion = htonl(DTOUFP(sys_rootdispersion));
1100 is->frequency = htonl(DTOFP(sys_jitter));
1101 is->stability = htonl(DTOUFP(clock_stability));
1151 ss->timeup = htonl((u_int32)current_time);
1152 ss->timereset = htonl((u_int32)(current_time - sys_stattime));
1153 ss->denied = htonl((u_int32)sys_restricted);
1154 ss->oldversionpkt = htonl((u_int32)sys_oldversionpkt);
1155 ss->newversionpkt = htonl((u_int32)sys_newversionpkt);
1156 ss->unknownversion = htonl((u_int32)sys_unknownversion);
1157 ss->badlength = htonl((u_int32)sys_badlength);
1158 ss->processed = htonl((u_int32)sys_processed);
1159 ss->badauth = htonl((u_int32)sys_badauth);
1160 ss->limitrejected = htonl((u_int32)sys_limitrejected);
1161 ss->received = htonl((u_int32)sys_received);
1194 ms->timereset = htonl((u_int32)(current_time - peer_timereset));
1197 ms->findpeer_calls = htonl((u_int32)findpeer_calls);
1198 ms->allocations = htonl((u_int32)peer_allocations);
1199 ms->demobilizations = htonl((u_int32)peer_demobilizations);
1233 io->timereset = htonl((u_int32)(current_time - io_timereset));
1238 io->dropped = htonl((u_int32)packets_dropped);
1239 io->ignored = htonl((u_int32)packets_ignored);
1240 io->received = htonl((u_int32)packets_received);
1241 io->sent = htonl((u_int32)packets_sent);
1242 io->notsent = htonl((u_int32)packets_notsent);
1243 io->interrupts = htonl((u_int32)handler_calls);
1244 io->int_received = htonl((u_int32)handler_pkts);
1273 ts->timereset = htonl((u_int32)(current_time - timer_timereset));
1274 ts->alarms = htonl((u_int32)alarm_overflow);
1275 ts->overflows = htonl((u_int32)timer_overflows);
1276 ts->xmtcalls = htonl((u_int32)timer_xmtcalls);
1311 li->compliance = htonl((u_int32)(tc_counter));
1312 li->watchdog_timer = htonl((u_int32)(current_time - sys_clocktime));
1753 ir->addr = htonl(rl->addr);
1756 ir->mask = htonl(rl->mask);
1757 ir->count = htonl((u_int32)rl->count);
1767 ir->count = htonl((u_int32)rl6->count);
1856 if (cr->mask != htonl(INADDR_ANY)) {
1861 if (cr->addr == htonl(INADDR_ANY))
1930 im->lasttime = htonl((u_int32)md->avg_interval);
1931 im->firsttime = htonl((u_int32)(current_time - md->lasttime));
1932 im->lastdrop = htonl((u_int32)md->drop_count);
1933 im->count = htonl((u_int32)(md->count));
1975 im->lasttime = htonl((u_int32)md->avg_interval);
1976 im->firsttime = htonl((u_int32)(current_time - md->lasttime));
1977 im->lastdrop = htonl((u_int32)md->drop_count);
1978 im->count = htonl((u_int32)md->count);
1997 im->flags = htonl(md->cast_flags);
2238 ia->numkeys = htonl((u_int32)authnumkeys);
2239 ia->numfreekeys = htonl((u_int32)authnumfreekeys);
2240 ia->keylookups = htonl((u_int32)authkeylookups);
2241 ia->keynotfound = htonl((u_int32)authkeynotfound);
2242 ia->encryptions = htonl((u_int32)authencryptions);
2243 ia->decryptions = htonl((u_int32)authdecryptions);
2244 ia->keyuncached = htonl((u_int32)authkeyuncached);
2245 ia->expired = htonl((u_int32)authkeyexpired);
2246 ia->timereset = htonl((u_int32)(current_time - auth_timereset));
2328 it->settime = htonl((u_int32)(current_time - tr->tr_settime));
2329 it->origtime = htonl((u_int32)(current_time - tr->tr_origtime));
2330 it->resets = htonl((u_int32)tr->tr_resets);
2331 it->flags = htonl((u_int32)tr->tr_flags);
2537 ic->ctltimereset = htonl((u_int32)(current_time - ctltimereset));
2538 ic->numctlreq = htonl((u_int32)numctlreq);
2539 ic->numctlbadpkts = htonl((u_int32)numctlbadpkts);
2540 ic->numctlresponses = htonl((u_int32)numctlresponses);
2541 ic->numctlfrags = htonl((u_int32)numctlfrags);
2542 ic->numctlerrors = htonl((u_int32)numctlerrors);
2543 ic->numctltooshort = htonl((u_int32)numctltooshort);
2544 ic->numctlinputresp = htonl((u_int32)numctlinputresp);
2545 ic->numctlinputfrag = htonl((u_int32)numctlinputfrag);
2546 ic->numctlinputerr = htonl((u_int32)numctlinputerr);
2547 ic->numctlbadoffset = htonl((u_int32)numctlbadoffset);
2548 ic->numctlbadversion = htonl((u_int32)numctlbadversion);
2549 ic->numctldatatooshort = htonl((u_int32)numctldatatooshort);
2550 ic->numctlbadop = htonl((u_int32)numctlbadop);
2551 ic->numasyncmsgs = htonl((u_int32)numasyncmsgs);
2586 ik->offset = htonl((u_int32)ntx.offset);
2587 ik->freq = htonl((u_int32)ntx.freq);
2588 ik->maxerror = htonl((u_int32)ntx.maxerror);
2589 ik->esterror = htonl((u_int32)ntx.esterror);
2591 ik->constant = htonl((u_int32)ntx.constant);
2592 ik->precision = htonl((u_int32)ntx.precision);
2593 ik->tolerance = htonl((u_int32)ntx.tolerance);
2598 ik->ppsfreq = htonl((u_int32)ntx.ppsfreq);
2599 ik->jitter = htonl((u_int32)ntx.jitter);
2601 ik->stabil = htonl((u_int32)ntx.stabil);
2602 ik->jitcnt = htonl((u_int32)ntx.jitcnt);
2603 ik->calcnt = htonl((u_int32)ntx.calcnt);
2604 ik->errcnt = htonl((u_int32)ntx.errcnt);
2605 ik->stbcnt = htonl((u_int32)ntx.stbcnt);
2662 ic->polls = htonl((u_int32)clock_stat.polls);
2663 ic->noresponse = htonl((u_int32)clock_stat.noresponse);
2664 ic->badformat = htonl((u_int32)clock_stat.badformat);
2665 ic->baddata = htonl((u_int32)clock_stat.baddata);
2666 ic->timestarted = htonl((u_int32)clock_stat.timereset);
2671 ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1);
2672 ic->fudgeval2 = htonl((u_int32)clock_stat.fudgeval2);
2810 ic->values[i] = htonl(bug.values[i]);
2816 ic->stimes = htonl(bug.stimes);
2853 ifs->v6_flag = htonl(ifs->v6_flag);
2856 ifs->flags = htonl(interface->flags);
2857 ifs->last_ttl = htonl(interface->last_ttl);
2858 ifs->num_mcast = htonl(interface->num_mcast);
2859 ifs->received = htonl(interface->received);
2860 ifs->sent = htonl(interface->sent);
2861 ifs->notsent = htonl(interface->notsent);
2862 ifs->scopeid = htonl(interface->scopeid);
2863 ifs->ifindex = htonl(interface->ifindex);
2864 ifs->ifnum = htonl(interface->ifnum);
2865 ifs->uptime = htonl(current_time - interface->starttime);
2867 ifs->peercnt = htonl(interface->peercnt);