/haiku/src/tests/kits/net/ |
H A D | NetAddressTest.cpp | 74 checkNetAddr(netAddr, htonl(0x7F000001), htons(123)); 76 netAddr.SetTo(htonl(0x7F000001), 123); 77 checkNetAddr(netAddr, htonl(0x7F000001), htons(123)); 80 addr.s_addr = htonl(0x7F000001); 82 checkNetAddr(netAddr, htonl(0x7F000001), htons(54321)); 86 sockaddr.sin_addr.s_addr = htonl(0x7F000001); 89 checkNetAddr(netAddr, htonl(0x7F000001), htons(54321));
|
/haiku/src/bin/fwcontrol/ |
H A D | fwmpegts.c | 218 htonl(ptr[0]), htonl(ptr[1]), 219 htonl(ptr[2]), htonl(ptr[3]));
|
H A D | fwdv.c | 182 htonl(ptr[0]), htonl(ptr[1]), 183 htonl(ptr[2]), htonl(ptr[3])); 328 htonl(hdr[0]), htonl(hdr[1]), htonl(hdr[2]));
|
/haiku/src/tools/fixup_amiga_boot_checksum/ |
H A D | fixup_amiga_boot_checksum.c | 40 ((uint32_t *)bootblock)[1] = htonl(sum);
|
/haiku/src/preferences/time/ |
H A D | ntp.cpp | 55 this->integer = htonl(integer); 56 this->fraction = htonl(fraction); 59 uint32 Integer() { return htonl(integer); } 60 uint32 Fraction() { return htonl(fraction); }
|
/haiku/src/system/boot/loader/net/ |
H A D | ARP.cpp | 87 || header->target_ip != htonl(fEthernet->IPAddress()))) { 99 if (header->sender_ip != htonl(INADDR_ANY) 100 && header->sender_ip != htonl(INADDR_BROADCAST)) { 176 header.sender_ip = htonl(fEthernet->IPAddress()); 178 header.target_ip = htonl(ip);
|
H A D | IP.cpp | 100 || (header->destination != htonl(INADDR_BROADCAST) 102 || header->destination != htonl(fEthernet->IPAddress()))) 147 header.source = htonl(fEthernet->IPAddress()); 148 header.destination = htonl(destination);
|
/haiku/headers/posix/netinet/ |
H A D | in.h | 37 #ifndef htonl 39 # define htonl(x) ((uint32_t)__net_swap_int32(x)) macro 44 # define htonl(x) (x) macro
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | param.h | 103 #ifndef htonl 104 # define htonl(x) B_HOST_TO_BENDIAN_INT32(x) macro
|
/haiku/src/add-ons/kernel/debugger/netconsole/ |
H A D | netconsole.cpp | 65 fServerAddress.sin_addr.s_addr = htonl(INADDR_BROADCAST);
|
/haiku/src/tests/system/network/ |
H A D | at_srv.c | 33 sin.sin_addr.s_addr = htonl(INADDR_ANY); // LOOPBACK);
|
H A D | at_client.c | 34 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
H A D | test2.c | 29 sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
H A D | test3.c | 29 sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
H A D | firefox_crash.cpp | 38 address.sin_addr.s_addr = htonl(ipAddress);
|
/haiku/src/tests/system/network/ipv6/ |
H A D | raw_client.cpp | 42 sa->sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
H A D | udp_client.cpp | 43 sa->sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
H A D | multicast_sender.cpp | 59 sa->sin_addr.s_addr = htonl(INADDR_ALLHOSTS_GROUP);
|
/haiku/src/tests/system/network/posixnet/ |
H A D | SocketTests.cpp | 31 address.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/haiku/src/system/kernel/util/ |
H A D | inet_addr.c | 194 addr->s_addr = htonl(val);
|
/haiku/headers/private/kernel/boot/net/ |
H A D | NetDefs.h | 19 #ifndef htonl 20 # define htonl(x) B_HOST_TO_BENDIAN_INT32(x) macro
|
/haiku/src/system/kernel/fs/ |
H A D | vfs_net_boot.cpp | 236 address.sin_addr.s_addr = htonl(fClientIP); 245 address.sin_addr.s_addr = htonl(fNetMask); 253 address.sin_addr.s_addr = htonl(fClientIP | ~fNetMask);
|
/haiku/src/add-ons/kernel/network/protocols/ipv4/ |
H A D | ipv4_address.cpp | 429 net = htonl(IN_CLASSA_NET); 432 net = htonl(IN_CLASSB_NET); 435 net = htonl(IN_CLASSC_NET); 519 address->sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/haiku/src/tools/fixup_next_boot_floppy/ |
H A D | fixup_next_boot_floppy.c | 22 #define H2B32 htonl
|
/haiku/src/tests/system/network/icmp/ |
H A D | big_datagram.cpp | 103 iph->ip_id = htonl(54321);
|