Home
last modified time | relevance | path

Searched refs:htonl (Results 1 – 14 of 14) sorted by relevance

/system/core/libcutils/
Dsocket_loopback_client.c44 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socket_loopback_client()
Dsocket_loopback_server.c43 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socket_loopback_server()
Dsocket_inaddr_any_server.c43 addr.sin_addr.s_addr = htonl(INADDR_ANY); in socket_inaddr_any_server()
/system/extras/ext4_utils/
Dext4_utils.c385 jsb->s_header.h_magic = htonl(JBD2_MAGIC_NUMBER); in ext4_create_journal_inode()
386 jsb->s_header.h_blocktype = htonl(JBD2_SUPERBLOCK_V2); in ext4_create_journal_inode()
387 jsb->s_blocksize = htonl(info.block_size); in ext4_create_journal_inode()
388 jsb->s_maxlen = htonl(info.journal_blocks); in ext4_create_journal_inode()
389 jsb->s_nr_users = htonl(1); in ext4_create_journal_inode()
390 jsb->s_first = htonl(1); in ext4_create_journal_inode()
391 jsb->s_sequence = htonl(1); in ext4_create_journal_inode()
/system/core/adb/
Dtest_track_jdwp.c64 server.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
Dtest_track_devices.c64 server.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
Dsysdeps_win32.c595 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socket_loopback_client()
634 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socket_loopback_server()
728 addr.sin_addr.s_addr = htonl(INADDR_ANY); in socket_inaddr_any_server()
/system/extras/tests/bionic/libc/common/
Dtest_udp.c41 int address = htonl(INADDR_ANY); in main()
/system/netd/server/
DDnsProxyListener.cpp89 uint32_t len_be = htonl(len); in sendLenAndData()
109 uint32_t buf = htonl(hp->h_addrtype); in sendhostent()
112 buf = htonl(hp->h_length); in sendhostent()
/system/core/libutils/
DUnicode.cpp23 # undef htonl
29 # define htonl(x) ntohl(x) macro
34 # define htonl(x) (x) macro
/system/core/libsysutils/src/
DSocketClient.cpp90 uint32_t tmp = htonl(len); in sendBinaryMsg()
/system/core/debuggerd/
Dtombstone.cpp612 uint32_t datum = htonl(pid); in dump_crash()
614 datum = htonl(signal); in dump_crash()
/system/core/libnetutils/
Difc_utils.c76 mask = htonl(mask); in prefixLengthToIpv4Netmask()
/system/security/keystore/
Dkeystore.cpp606 mBlob.length = htonl(mBlob.length); in writeBlob()