/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger_socket_thread_test.cc | 106 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F() 133 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F() 178 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F() 215 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F() 253 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
|
D | snoop_logger.cc | 283 return static_cast<uint64_t>(htonl(ll & 0xffffffff)) << 32 | htonl(ll >> 32); in htonll() 1216 PacketHeaderType header = {.length_original = htonl(length), in Capture() 1217 .length_captured = htonl(length), in Capture() 1218 .flags = htonl(static_cast<uint32_t>(flags.to_ulong())), in Capture() 1228 header.length_captured = htonl(included_length + /* type byte */ PACKET_TYPE_LENGTH); in Capture() 1244 header.length_captured = htonl(length); in Capture()
|
D | snoop_logger_socket.cc | 235 addr.sin_addr.s_addr = htonl(socket_address_); in CreateSocket()
|
D | snoop_logger_test.cc | 1399 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F() 1429 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F() 1488 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F() 1659 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
|
D | hci_hal_host_test.cc | 95 listen_address.sin_addr.s_addr = htonl(INADDR_ANY); in FakeRootcanalDesktopHciServer()
|
/packages/modules/Connectivity/bpf_progs/ |
D | dscpPolicy.c | 80 src_ip.s6_addr32[2] = htonl(0x0000ffff); in DEFINE_BPF_MAP_GRW() 81 dst_ip.s6_addr32[2] = htonl(0x0000ffff); in DEFINE_BPF_MAP_GRW() 139 htonl(ntohl(old_first_be32) & 0xF03FFFFF | (existing_rule->dscp_val << 22)); in DEFINE_BPF_MAP_GRW() 217 __be32 new_first_be32 = htonl(ntohl(old_first_be32) & 0xF03FFFFF | (new_dscp << 22)); in DEFINE_BPF_MAP_GRW()
|
D | offload.c | 180 if (src32 != htonl(0x0064ff9b) && // 64:ff9b:/32 incl. XLAT464 WKP 181 (src32 & htonl(0xe0000000)) != htonl(0x20000000)) // 2000::/3 Global Unicast 186 if (dst32 != htonl(0x0064ff9b) && // 64:ff9b:/32 incl. XLAT464 WKP 187 (dst32 & htonl(0xe0000000)) != htonl(0x20000000)) // 2000::/3 Global Unicast
|
D | offload@mainline.c | 180 if (src32 != htonl(0x0064ff9b) && // 64:ff9b:/32 incl. XLAT464 WKP 181 (src32 & htonl(0xe0000000)) != htonl(0x20000000)) // 2000::/3 Global Unicast 186 if (dst32 != htonl(0x0064ff9b) && // 64:ff9b:/32 incl. XLAT464 WKP 187 (dst32 & htonl(0xe0000000)) != htonl(0x20000000)) // 2000::/3 Global Unicast
|
D | bpf_net_helpers.h | 75 #define htonl(x) (__builtin_constant_p(x) ? ___constant_swab32(x) : __builtin_bswap32(x)) macro 77 #define ntohl(x) htonl(x)
|
D | netd.c | 389 k.daddr.s6_addr32[2] = htonl(0xFFFF); in ingress_should_discard()
|
/packages/modules/Connectivity/staticlibs/native/ip_checksum/ |
D | checksum.c | 83 uint32_t checksum_len = htonl(len); in ipv6_pseudo_header_checksum() 84 uint32_t checksum_next = htonl(protocol); in ipv6_pseudo_header_checksum()
|
/packages/modules/DnsResolver/ |
D | res_mkquery.cpp | 158 *reinterpret_cast<uint32_t*>(cp) = htonl(0); in res_nmkquery() 175 *reinterpret_cast<uint32_t*>(cp) = htonl(0); in res_nmkquery()
|
D | DnsProxyListener.cpp | 789 uint32_t be_data = htonl(data); in sendBE32() 816 uint32_t buf = htonl(hp->h_addrtype); in sendhostent() 819 buf = htonl(hp->h_length); in sendhostent()
|
/packages/modules/Connectivity/service/native/libs/libclat/ |
D | clatutils.cpp | 86 if (isIpv4AddressFreeFunc(htonl(ipv4))) return htonl(ipv4); in selectIpv4AddressInternal()
|
D | clatutils_test.cpp | 164 ASSERT_EQ(detect_mtu(&in6addr_loopback, htonl(1), 0 /*MARK_UNSET*/), 65536); in TEST_F()
|
/packages/modules/Bluetooth/tools/rootcanal/net/posix/ |
D | posix_async_socket_server.cc | 56 listen_address.sin_addr.s_addr = htonl(INADDR_ANY); in PosixAsyncSocketServer()
|
/packages/modules/Connectivity/clatd/ |
D | translate.c | 147 ip->saddr = htonl((0xff << 24) + ttl_guess); in fill_ip_header() 195 frag_hdr->ip6f_ident = htonl(ntohs(old_header->id)); in maybe_fill_frag_header()
|
D | clatd.c | 219 .ip6_flow = htonl(6 << 28), // v6, 0 tclass, 0 flowlabel in send_dad()
|
D | clatd_test.cpp | 818 ASSERT_NE(htonl((uint32_t)0x00000464), Global_Clatd_Config.ipv6_local_subnet.s6_addr32[3]); in TEST_F()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | InternetAddresses.cpp | 103 mData.ip.v4.s_addr &= htonl(mask); in IPPrefix()
|
D | InternetAddressesTest.cpp | 83 const in_addr IPV4_ANY{htonl(INADDR_ANY)}; 84 const in_addr IPV4_LOOPBACK{htonl(INADDR_LOOPBACK)};
|
/packages/modules/adb/pairing_auth/tests/ |
D | pairing_auth_test.cpp | 296 *payload = htonl(*payload + 1); in TEST_F() 319 *payload = htonl(*payload - 1); in TEST_F()
|
/packages/modules/adb/pairing_connection/ |
D | pairing_connection.cpp | 207 network_header.payload = htonl(network_header.payload); in WriteHeader() 350 out_header.payload = htonl(outbuf.size()); in DoExchangePeerInfo()
|
/packages/modules/adb/sysdeps/posix/ |
D | network.cpp | 43 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in loopback_addr4()
|
/packages/modules/Bluetooth/system/osi/src/ |
D | socket.cc | 98 addr.sin_addr.s_addr = htonl(LOCALHOST_); in socket_listen()
|