ntohl
quad[i] = ntohl(tmp);
printf("0x%08x ", ntohl(qld[i/4]));
ntohl(fp->mode.wreqq.data));
bmr = ntohl(xfer->recv.payload[0]);
xfer->spd, xfer->recv.len, ntohl(ld[0]), ntohl(ld[1]), ntohl(ld[2]), ntohl(ld[3]));
printf("vmaccess data:%08x %08x %08x %08x\n", ntohl(ld[4]), ntohl(ld[5]), ntohl(ld[6]), ntohl(ld[7]));
(caddr_t)ntohl(rfp->mode.wreqb.dest_lo), ntohs(rfp->mode.wreqb.len));
*((uint32_t *)(ntohl(rfp->mode.wreqb.dest_lo))) = rfp->mode.wreqq.data;
bcopy((caddr_t)ntohl(rfp->mode.rreqb.dest_lo),
sfp->mode.rresq.data = *(uint32_t *)(ntohl(rfp->mode.rreqq.dest_lo));
OWRITE(sc, OHCI_CROMHDR, ntohl(sc->fc.config_rom[0]));
OWRITE(sc, OHCI_BUS_OPT, ntohl(sc->fc.config_rom[2]));
OWRITE(sc, OHCI_CROMHDR, ntohl(sc->fc.config_rom[0]));
OWRITE(sc, OHCI_BUS_OPT, ntohl(sc->fc.config_rom[2]));
hwcfg = ntohl(hwcfg);
record_size = ntohl(record_size);
unsigned int hostAddress = ntohl(address);
primary_dns = ntohl(fLocalConfiguration.primaryDNS);
secondary_dns = ntohl(fLocalConfiguration.secondaryDNS);
data->mtu = ntohl(header.icmp6_mtu);
|| IN_MULTICAST(ntohl(((sockaddr_in*)address)->sin_addr.s_addr))
} else if (IN_MULTICAST(ntohl(destination.sin_addr.s_addr)))
ntohl(destination.sin_addr.s_addr));
if (IN_MULTICAST(ntohl(
} else if (IN_MULTICAST(ntohl(header.destination))) {
ntohl(header.source), ntohl(header.destination));
else if (IN_MULTICAST(ntohl(header.destination)))
ntohl(header.source), ntohl(header.destination));
unsigned int addr = ntohl(address->s_addr);
uint32 mask = ntohl(((const sockaddr_in *)_mask)->sin_addr.s_addr);
uint32 mask = ntohl(((const sockaddr_in *)_mask)->sin_addr.s_addr);
unsigned int addr = ntohl(address->sin_addr.s_addr);
net = ntohl(address->sin_addr.s_addr);
uint8 ServiceType() const { return ntohl(header.ip6_flow) >> 20;}
segment.timestamp_value = ntohl(option->timestamp.value);
ntohl(option->timestamp.reply);
segment.sacks[i].left_edge = ntohl(
segment.sacks[i].right_edge = ntohl(
value = ntohl(value);
xres = ntohl(xres);
yres = ntohl(yres);
lower = ntohl(lower);
upper = ntohl(upper);
request_id = ntohl(request_id);
eui.hi = ntohl(*(u_int32_t*)&(target.octet[0]));
eui.lo = ntohl(*(u_int32_t*)&(target.octet[4]));
return ntohl(res);
*bp++ = ntohl(textleaf->text[i]);
tl->text[i] = ntohl(*p++);
unsigned int serverIP=ntohl(*((unsigned int *)ent->h_addr));
tv1.tv_sec = ntohl(tv32.tv32_sec);
tv1.tv_nsec = ntohl(tv32.tv32_nsec);
sec = ntohl(timestamp) / 1000;
if (options & F_FLOOD && IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
&& !IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
tp.tv_sec = ntohl(tpp.tv32_sec);
tp.tv_nsec = ntohl(tpp.tv32_nsec);
ttl = (int32_t)ntohl(t);
(u_int32_t)ntohl(value4));
v = (u_int32_t)ntohl(v);
ttl = (u_int32_t)ntohl(t);
(int)ntohl(icp->icmp6_mtu));
(u_int32_t)ntohl(icp->icmp6_pptr));
(ip6->ip6_vfc & IPV6_VERSION_MASK) >> 4, tc, (u_int32_t)ntohl(flow),
Printf("%2d: %8.8x\n", i, ntohl(*lp++));
uint32 hostMask = ntohl(mask.sin_addr.s_addr);
tos = (uint8_t)(ntohl(flow) >> 20);
flowlabel = ntohl(ip6.ip6_flow);
if ((ntohl(fAssignedAddress) & IN_CLASSB_NET) == 0xa9fe0000) {
ntohl(*(uint32*)data));
fLeaseTime = ntohl(*(uint32*)data) * 1000000LL;
ntohl(*(uint32*)data));
fRenewalTime = ntohl(*(uint32*)data) * 1000000LL;
ntohl(*(uint32*)data));
fRebindingTime = ntohl(*(uint32*)data) * 1000000LL;
_PutEntry(ntohl(header->sender_ip), header->sender_mac);
_SendARPPacket(ntohl(header->sender_ip), header->sender_mac,
service->HandleIPPacket(this, ntohl(header->source),
ntohl(header->destination),
uint32 sequenceNumber = ntohl(header->seqNumber);
uint32 ackedNumber = ntohl(header->ackNumber);
SetIPAddress(ntohl(dhcpResponse.ip_address));
fClientIP = ntohl(*(ip_addr_t *)(buf + 16));
fServerIP = ntohl(*(ip_addr_t *)(buf + 20));
return ntohl(inet_addr(p));
ntohl(((const struct sockaddr_in *)
register uint32_t i = ntohl(in.s_addr);
if (!IN_MULTICAST(ntohl(*hostinfo->h_addr)))
(unsigned)ntohl(serverAddr.sin_addr.s_addr),
if (ntohl(p[0]) != 'DOS\0') {
sum += ntohl(*p++);
ntohl(*(uint32*)magic),
ntohl(*(uint32*)kX86ResourceFileMagic));