/system/connectivity/dhcp_client/ |
D | dhcp_message_unittest.cc | 186 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeTransactionID)), in TEST_F() 188 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeServerIdentifier)), in TEST_F() 190 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeLeaseTime)), in TEST_F() 192 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeYourIPAddress)), in TEST_F() 205 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeTransactionID)), in TEST_F() 207 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeServerIdentifier)), in TEST_F() 209 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeLeaseTime)), in TEST_F() 211 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeYourIPAddress)), in TEST_F() 224 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeTransactionID)), in TEST_F() 226 EXPECT_EQ(ntohl(*reinterpret_cast<const uint32_t*>(kFakeServerIdentifier)), in TEST_F()
|
D | dhcp_options_parser.cc | 65 *value_uint32 = ntohl(*reinterpret_cast<const uint32_t*>(buffer)); in GetOption() 117 content = ntohl(content); in GetOption() 136 first = ntohl(first); in GetOption() 139 second = ntohl(second); in GetOption()
|
D | dhcp_options_parser_unittest.cc | 103 target_value = ntohl(target_value); in TEST_F() 154 target_value.push_back(ntohl(element)); in TEST_F() 172 std::pair<uint32_t, uint32_t>(ntohl(uint32_vector[2 * i]), in TEST_F() 173 ntohl(uint32_vector[2 * i + 1]))); in TEST_F()
|
D | dhcp_message.cc | 125 message->transaction_id_ = ntohl(raw_message->xid); in InitFromBuffer() 128 message->client_ip_address_ = ntohl(raw_message->ciaddr); in InitFromBuffer() 129 message->your_ip_address_ = ntohl(raw_message->yiaddr); in InitFromBuffer() 130 message->next_server_ip_address_ = ntohl(raw_message->siaddr); in InitFromBuffer() 131 message->agent_ip_address_ = ntohl(raw_message->giaddr); in InitFromBuffer() 132 message->cookie_ = ntohl(raw_message->cookie); in InitFromBuffer()
|
/system/connectivity/shill/shims/ |
D | netfilter_queue_processor_unittest.cc | 102 const uint32_t kMulticastAddress = ntohl(inet_addr("224.0.0.1")); in TEST_F() 103 const uint32_t kUnicastAddress = ntohl(inet_addr("10.0.0.1")); in TEST_F() 188 const uint32_t kMulticastAddress = ntohl(inet_addr("224.0.0.1")); in TEST_F() 189 const uint32_t kLocalAddress = ntohl(inet_addr("10.0.0.1")); in TEST_F() 190 const uint32_t kNeighborAddress = ntohl(inet_addr("10.0.0.2")); in TEST_F() 203 const uint32_t kNetmask = ntohl(inet_addr("255.255.255.0")); in TEST_F() 237 const uint32_t kRemoteAddress = ntohl(inet_addr("10.0.1.1")); in TEST_F() 263 const uint32_t kMulticastAddress1 = ntohl(inet_addr("224.0.0.1")); in TEST_F() 264 const uint32_t kMulticastAddress2 = ntohl(inet_addr("224.0.0.2")); in TEST_F() 265 const uint32_t kLocalAddress = ntohl(inet_addr("10.0.0.1")); in TEST_F() [all …]
|
D | netfilter_queue_processor.cc | 79 packet_id_ = ntohl(packet_header->packet_id); in ParseNetfilterData() 116 source_ip_ = ntohl(ip.saddr); in ParsePayloadUDPData() 117 destination_ip_ = ntohl(ip.daddr); in ParsePayloadUDPData() 309 return ntohl(netmask_addr->sin_addr.s_addr); in GetNetmaskForDevice()
|
/system/connectivity/shill/net/ |
D | byte_string.cc | 70 return CreateFromCPUUInt32(ntohl(val)); in CreateFromNetUInt32() 95 *val = ntohl(*val); in ConvertToNetUInt32() 116 return ConvertByteOrderAsUIntArray(ntohl); in ConvertFromNetToCPUUInt32Array()
|
D | ip_address.cc | 128 address_val = ntohl(address_val); in GetMinPrefixLength()
|
D | rtnl_message.cc | 254 uint32_t lifetime = ntohl(nd_user_option_header->lifetime); in DecodeNdUserOption()
|
/system/core/lmkd/ |
D | lmkd.c | 290 lowmem_minfree[i] = ntohl(*params++); in cmd_target() 291 lowmem_adj[i] = ntohl(*params++); in cmd_target() 359 cmd = ntohl(ibuf[0]); in ctrl_command_handler() 371 cmd_procprio(ntohl(ibuf[1]), ntohl(ibuf[2]), ntohl(ibuf[3])); in ctrl_command_handler() 376 cmd_procremove(ntohl(ibuf[1])); in ctrl_command_handler()
|
/system/core/libnetutils/ |
D | dhcpclient.c | 216 info->lease = ntohl(info->lease); in decode_dhcp_msg() 274 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg() 364 if (verbose) ALOGD("Wrong Xid 0x%x != 0x%x\n", ntohl(reply->xid), in is_valid_reply() 365 ntohl(msg->xid)); in is_valid_reply()
|
D | ifc_utils.c | 87 uint32_t m = (uint32_t)ntohl(mask); in ipv4NetmaskToPrefixLength()
|
/system/core/libcutils/ |
D | record_stream.c | 84 len = ntohl(*((uint32_t *)p_begin)); in getEndOfRecord()
|
/system/bt/btif/src/ |
D | btif_util.c | 159 ntohl(uuid0), ntohs(uuid1), in uuid_to_string_legacy() 161 ntohl(uuid4), ntohs(uuid5)); in uuid_to_string_legacy()
|
/system/extras/tests/net_test/ |
D | csocket.py | 62 return SockaddrIn6((family, socket.ntohs(port), socket.ntohl(flowinfo),
|
/system/core/libutils/ |
D | Unicode.cpp | 27 # define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & … macro 28 # define htonl(x) ntohl(x)
|
/system/security/keystore/ |
D | blob.cpp | 204 mBlob.length = ntohl(mBlob.length); in readBlob()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 279 uid = ntohl(nla_get_u32(uid_attr)); in parseNfPacketMessage() 460 const uint32_t lifetime = ntohl(rndss_opt->nd_opt_rdnss_lifetime); in parseNdUserOptMessage()
|
/system/core/gatekeeperd/tests/ |
D | gatekeeper_test.cpp | 87 ASSERT_EQ((uint32_t) HW_AUTH_PASSWORD, ntohl(auth_token->authenticator_type)); in TEST()
|
/system/bt/bta/sdp/ |
D | bta_sdp_act.c | 88 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid()
|
/system/extras/ext4_utils/ |
D | ext4_utils.c | 85 uuid->time_low = ntohl(uuid->time_low); in generate_sha1_uuid()
|
/system/netd/tests/ |
D | dns_responder.cpp | 344 ttl = ntohl(intfields.ttl); in readIntFields()
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 838 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid()
|