Searched refs:ntohl (Results 1 - 25 of 38) sorted by relevance

12

/haiku/src/tools/fixup_amiga_boot_checksum/
H A Dfixup_amiga_boot_checksum.c24 if (ntohl(p[0]) != 'DOS\0') {
32 sum += ntohl(*p++);
/haiku/src/system/libnetwork/musl/network/
H A Dinet_legacy.c7 return ntohl(inet_addr(p));
/haiku/headers/posix/netinet/
H A Din.h40 # define ntohl(x) ((uint32_t)__net_swap_int32(x)) macro
45 # define ntohl(x) (x) macro
/haiku/src/bin/network/mount_nfs/
H A Dmount_nfs.cpp85 unsigned int serverIP=ntohl(*((unsigned int *)ent->h_addr));
/haiku/src/tests/system/network/
H A Dtcp_connection_test.cpp99 (unsigned)ntohl(serverAddr.sin_addr.s_addr),
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4_address.cpp219 uint32 mask = ntohl(((const sockaddr_in *)_mask)->sin_addr.s_addr);
244 uint32 mask = ntohl(((const sockaddr_in *)_mask)->sin_addr.s_addr);
281 unsigned int addr = ntohl(address->sin_addr.s_addr);
426 net = ntohl(address->sin_addr.s_addr);
H A Dipv4.cpp224 unsigned int addr = ntohl(address->s_addr);
1437 || IN_MULTICAST(ntohl(((sockaddr_in*)address)->sin_addr.s_addr))
1508 } else if (IN_MULTICAST(ntohl(destination.sin_addr.s_addr)))
1599 ntohl(destination.sin_addr.s_addr));
1633 if (IN_MULTICAST(ntohl(
1764 } else if (IN_MULTICAST(ntohl(header.destination))) {
1794 ntohl(header.source), ntohl(header.destination));
1909 else if (IN_MULTICAST(ntohl(header.destination)))
1916 ntohl(heade
[all...]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dparam.h105 # define ntohl(x) B_BENDIAN_TO_HOST_INT32(x) macro
/haiku/src/system/boot/loader/net/
H A DARP.cpp101 _PutEntry(ntohl(header->sender_ip), header->sender_mac);
106 _SendARPPacket(ntohl(header->sender_ip), header->sender_mac,
H A DIP.cpp113 service->HandleIPPacket(this, ntohl(header->source),
114 ntohl(header->destination),
H A DTCP.cpp732 uint32 sequenceNumber = ntohl(header->seqNumber);
733 uint32 ackedNumber = ntohl(header->ackNumber);
/haiku/src/servers/net/
H A DDHCPClient.cpp509 if ((ntohl(fAssignedAddress) & IN_CLASSB_NET) == 0xa9fe0000) {
836 ntohl(*(uint32*)data));
837 fLeaseTime = ntohl(*(uint32*)data) * 1000000LL;
841 ntohl(*(uint32*)data));
842 fRenewalTime = ntohl(*(uint32*)data) * 1000000LL;
846 ntohl(*(uint32*)data));
847 fRebindingTime = ntohl(*(uint32*)data) * 1000000LL;
/haiku/headers/private/kernel/boot/net/
H A DNetDefs.h21 # define ntohl(x) B_BENDIAN_TO_HOST_INT32(x) macro
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfirewire.cpp1540 quad[i] = ntohl(tmp);
2034 printf("0x%08x ", ntohl(qld[i/4]));
2111 ntohl(fp->mode.wreqq.data));
2240 bmr = ntohl(xfer->recv.payload[0]);
2306 xfer->spd, xfer->recv.len, ntohl(ld[0]), ntohl(ld[1]), ntohl(ld[2]), ntohl(ld[3]));
2307 printf("vmaccess data:%08x %08x %08x %08x\n", ntohl(ld[4]), ntohl(l
[all...]
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A Dtcp.cpp224 segment.timestamp_value = ntohl(option->timestamp.value);
226 ntohl(option->timestamp.reply);
239 segment.sacks[i].left_edge = ntohl(
241 segment.sacks[i].right_edge = ntohl(
/haiku/src/add-ons/print/transports/ipp/
H A DIppContent.cpp209 value = ntohl(value);
479 xres = ntohl(xres);
488 yres = ntohl(yres);
559 lower = ntohl(lower);
568 upper = ntohl(upper);
672 request_id = ntohl(request_id);
/haiku/src/system/boot/platform/pxe_ia32/
H A Dnetwork.cpp100 fClientIP = ntohl(*(ip_addr_t *)(buf + 16));
101 fServerIP = ntohl(*(ip_addr_t *)(buf + 20));
/haiku/src/system/boot/platform/openfirmware/
H A Dnetwork.cpp169 SetIPAddress(ntohl(dhcpResponse.ip_address));
/haiku/src/bin/network/ping/
H A Dping.c642 if (options & F_FLOOD && IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
646 && !IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
1200 tv1.tv_sec = ntohl(tv32.tv32_sec);
1201 tv1.tv_nsec = ntohl(tv32.tv32_nsec);
1657 sec = ntohl(timestamp) / 1000;
H A Dping6.c1620 tp.tv_sec = ntohl(tpp.tv32_sec);
1621 tp.tv_nsec = ntohl(tpp.tv32_nsec);
1789 ttl = (int32_t)ntohl(t);
1933 (u_int32_t)ntohl(value4));
2122 v = (u_int32_t)ntohl(v);
2176 ttl = (u_int32_t)ntohl(t);
2359 (int)ntohl(icp->icmp6_mtu));
2394 (u_int32_t)ntohl(icp->icmp6_pptr));
2564 (ip6->ip6_vfc & IPV6_VERSION_MASK) >> 4, tc, (u_int32_t)ntohl(flow),
/haiku/src/bin/fwcontrol/
H A Dfwcrom.c236 *bp++ = ntohl(textleaf->text[i]);
490 tl->text[i] = ntohl(*p++);
H A Dfwcontrol.c252 return ntohl(res);
1056 eui.hi = ntohl(*(u_int32_t*)&(target.octet[0]));
1057 eui.lo = ntohl(*(u_int32_t*)&(target.octet[4]));
/haiku/headers/private/firewire/
H A Dfirewire.h463 # define ntohl(x) B_BENDIAN_TO_HOST_INT32(x) macro
/haiku/src/tests/system/network/multicast/
H A Dmulticat.c289 if (!IN_MULTICAST(ntohl(*hostinfo->h_addr)))
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetnameinfo.c312 ntohl(((const struct sockaddr_in *)

Completed in 231 milliseconds

12