Lines Matching refs:htons
328 rpkt.err_nitems = htons((u_short)nitems);
394 rpkt.err_nitems = htons((u_short)nitems);
914 ip->associd = htons(pp->associd);
1044 ip->flags = htons(ip->flags);
1195 ms->totalpeermem = htons((u_short)total_peer_structs);
1196 ms->freepeermem = htons((u_short)peer_free_count);
1234 io->totalrecvbufs = htons((u_short) total_recvbuffs());
1235 io->freerecvbufs = htons((u_short) free_recvbuffs());
1236 io->fullrecvbufs = htons((u_short) full_recvbuffs());
1237 io->lowwater = htons((u_short) lowater_additions());
1410 NSRCPORT(&peeraddr) = htons(NTP_PORT);
1478 peeraddr.sin_port = htons(NTP_PORT);
1582 NSRCPORT(&peeraddr) = htons(NTP_PORT);
1627 NSRCPORT(&peeraddr) = htons(NTP_PORT);
1758 ir->flags = htons(rl->flags);
1759 ir->mflags = htons(rl->mflags);
1768 ir->flags = htons(rl6->flags);
1769 ir->mflags = htons(rl6->mflags);
2096 NSRCPORT(&peeraddr) = htons(NTP_PORT);
2327 it->sequence = htons(tr->tr_sequence);
2427 NSRCPORT(&laddr) = htons(TRAPPORT);
2590 ik->status = htons(ntx.status);
2600 ik->shift = htons(ntx.shift);
2637 NSRCPORT(&addr) = htons(NTP_PORT);
2712 NSRCPORT(&addr) = htons(NTP_PORT);
2780 NSRCPORT(&addr) = htons(NTP_PORT);
2808 ic->svalues = htons((u_short) (bug.svalues & ((1<<i)-1)));
2855 ifs->family = htons(interface->family);