/system/nfc/src/gki/common/ |
D | gki_inet.h | 23 #define htons ntohs 30 #define ntohs(n) (n) macro 37 extern uint16_t ntohs(uint16_t n);
|
/system/nfc/halimpl/bcm2079x/gki/common/ |
D | gki_inet.h | 23 #define htons ntohs 30 #define ntohs(n) (n) macro 37 extern uint16_t ntohs(uint16_t n);
|
/system/core/libnetutils/ |
D | packet.c | 188 } else if (nread < ntohs(packet.ip.tot_len)) { in receive_packet() 190 ALOGD("Packet was truncated (read %d, needed %d)", nread, ntohs(packet.ip.tot_len)); in receive_packet() 198 ALOGD("UDP dest port (%d) is not DHCP client", ntohs(packet.udp.dest)); in receive_packet() 220 dhcp_size = ntohs(packet.udp.len) - sizeof(packet.udp); in receive_packet() 223 nread = ntohs(packet.ip.tot_len); in receive_packet()
|
D | dhcpclient.c | 272 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()
|
/system/core/libcutils/ |
D | sockets.cpp | 40 return ntohs(reinterpret_cast<sockaddr_in*>(&addr)->sin_port); in socket_get_local_port()
|
/system/bt/btif/src/ |
D | btif_util.cc | 112 uuid16_bo = ntohs(uuid16); in uuid16_to_uuid128() 156 ntohs(uuid1), ntohs(uuid2), ntohs(uuid3), ntohl(uuid4), in uuid_to_string_legacy() 157 ntohs(uuid5)); in uuid_to_string_legacy()
|
D | btif_pan.cc | 546 uint16_t proto = ntohs(hdr->h_proto); in should_forward() 566 ntohs(eth_hdr->h_proto), hdr, 0); in forward_bnep()
|
/system/netd/tests/dns_responder/ |
D | dns_responder.cpp | 248 qtype = ntohs(*reinterpret_cast<const uint16_t*>(cur)); in read() 249 qclass = ntohs(*reinterpret_cast<const uint16_t*>(cur + sizeof(uint16_t))); in read() 342 rtype = ntohs(intfields.rtype); in readIntFields() 343 rclass = ntohs(intfields.rclass); in readIntFields() 345 *rdlen = ntohs(intfields.rdlen); in readIntFields() 499 id = ntohs(header.id); in readHeader() 510 *qdcount = ntohs(header.qdcount); in readHeader() 511 *ancount = ntohs(header.ancount); in readHeader() 512 *nscount = ntohs(header.nscount); in readHeader() 513 *arcount = ntohs(header.arcount); in readHeader()
|
/system/core/libutils/ |
D | Unicode.cpp | 32 # define ntohs(x) ( (((x) << 8) & 0xff00) | (((x) >> 8) & 255) ) macro 33 # define htons(x) ntohs(x) 342 const char16_t c2 = ntohs(*s2N); in strzcmp16_h_n() 351 ? (0 - (int)ntohs(*s2N)) in strzcmp16_h_n()
|
/system/core/base/include/android-base/ |
D | endian.h | 60 #define ntohs(x) __builtin_bswap16(x) macro
|
/system/core/base/ |
D | endian_test.cpp | 42 ASSERT_EQ(le16, ntohs(be16)); in TEST()
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 99 port, ntohs(client46.sin6_port), ntohs(client6.sin6_port)); in TEST_F()
|
/system/extras/tests/tcp_nuke_addr/ |
D | tcp_nuke_addr_test.cpp | 135 printf("Using address %s:%d\n", inet_ntoa(sin.sin_addr), ntohs(sin.sin_port)); in main()
|
/system/core/adb/ |
D | transport_mdns.cpp | 230 interfaceIndex, hosttarget, ntohs(port)); in register_resolved_mdns_service()
|
D | sysdeps_win32.cpp | 734 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), in network_loopback_client() 801 ntohs(addr.sin_port), in _network_server() 1013 return ntohs(reinterpret_cast<sockaddr_in*>(&addr_storage)->sin_port); in adb_socket_get_local_port()
|
/system/netd/server/ |
D | SockDiagTest.cpp | 106 port, ntohs(client46.sin6_port), ntohs(client6.sin6_port)); in TEST_F()
|
D | MDnsSdListener.cpp | 253 port = ntohs(port); in MDnsSdListenerResolveCallback()
|
/system/extras/ext4_utils/ |
D | ext4_utils.c | 88 uuid->time_mid = ntohs(uuid->time_mid); in generate_sha1_uuid() 89 uuid->time_hi_and_version = ntohs(uuid->time_hi_and_version); in generate_sha1_uuid()
|
/system/netd/tests/benchmarks/ |
D | connect_benchmark.cpp | 115 return ntohs(sin.sin_port); in bindAndListen()
|
/system/bt/stack/sdp/ |
D | sdp_utils.cc | 925 uuid16_bo = ntohs(uuid16); in sdpu_uuid16_to_uuid128()
|
/system/bt/bta/sdp/ |
D | bta_sdp_act.cc | 85 su.uu.uuid16 = ntohs(u16); in shorten_sdp_uuid()
|
/system/update_engine/ |
D | test_http_server.cc | 621 in_port_t port = ntohs(bound_addr.sin_port); in main()
|
/system/bt/bta/jv/ |
D | bta_jv_act.cc | 788 su.uu.uuid16 = ntohs(u16); in shorten_sdp_uuid()
|