/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/headers/private/firewire/ |
H A D | firewire.h | 461 #ifndef htonl 462 # define htonl(x) B_HOST_TO_BENDIAN_INT32(x) macro
|
/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/add-ons/kernel/debugger/netconsole/ |
H A D | netconsole.cpp | 65 fServerAddress.sin_addr.s_addr = htonl(INADDR_BROADCAST);
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/ |
H A D | RemoteDisk.cpp | 104 fServerAddress.sin_addr.s_addr = htonl(serverAddress);
128 fServerAddress.sin_addr.s_addr = htonl(INADDR_BROADCAST);
|
/haiku/src/add-ons/print/transports/ipp/ |
H A D | IppContent.cpp | 222 unsigned long val = htonl(value); 511 unsigned long val = htonl(xres); 515 val = htonl(yres); 581 unsigned long val = htonl(lower); 585 val = htonl(upper); 804 unsigned long ns_request_id = htonl(request_id); // request-id
|
/haiku/src/bin/fwcontrol/ |
H A D | fwcontrol.c | 120 *(u_int32_t*)&(eui->octet[0]) = htonl(fweui->hi); 121 *(u_int32_t*)&(eui->octet[4]) = htonl(fweui->lo); 244 asyreq->pkt.mode.wreqq.data = htonl(data); 335 asyreq->pkt.mode.wreqq.data = htonl(0x1);
|
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]));
|
H A D | fwmpegts.c | 218 htonl(ptr[0]), htonl(ptr[1]), 219 htonl(ptr[2]), htonl(ptr[3]));
|
/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);
|
H A D | TCP.cpp | 801 header.seqNumber = htonl(sequenceNumber); 802 header.ackNumber = htonl(acknowledgmentNumber); 856 htonl(source), 857 htonl(destination),
|
H A D | UDP.cpp | 427 htonl(source), 428 htonl(destination),
|
/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/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/tests/system/network/ |
H A D | at_client.c | 34 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
H A D | at_srv.c | 33 sin.sin_addr.s_addr = htonl(INADDR_ANY); // LOOPBACK);
|
H A D | firefox_crash.cpp | 38 address.sin_addr.s_addr = htonl(ipAddress);
|
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);
|
/haiku/src/tests/system/network/icmp/ |
H A D | big_datagram.cpp | 103 iph->ip_id = htonl(54321);
|
/haiku/src/tests/system/network/ipv6/ |
H A D | multicast_sender.cpp | 59 sa->sin_addr.s_addr = htonl(INADDR_ALLHOSTS_GROUP);
|
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);
|
/haiku/src/tests/system/network/multicast/ |
H A D | multicat.c | 308 mrs.imr_interface.s_addr = htonl(INADDR_ANY); 314 mr.imr_interface.s_addr = htonl(INADDR_ANY);
|