Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 25 of 25) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dntohl.c10 #undef ntohl
13 ntohl(u_int32_t x) in ntohl() function
Dinet_lnaof.c43 in_addr_t i = ntohl(in.s_addr); in inet_lnaof()
Dinet_netof.c42 in_addr_t i = ntohl(in.s_addr); in inet_netof()
/bionic/libc/include/netinet/
Din6.h44 (*(const uint32_t*)(&(a)->s6_addr[12]) == ntohl(1)))
51 (*(const uint32_t*)(&(a)->s6_addr[12]) != ntohl(1)))
56 (*(const uint32_t*)(&(a)->s6_addr[8]) == ntohl(0x0000ffff)))
/bionic/libc/include/sys/
Dendian.h54 uint32_t ntohl(uint32_t) __pure2;
60 #define ntohl(x) __swap32(x) macro
73 #define NTOHL(x) (x) = ntohl((u_int32_t)(x))
/bionic/libc/bionic/
Darpa_inet.cpp27 return ntohl(network_order); in inet_network()
/bionic/tests/
Difaddrs_test.cpp59 ASSERT_TRUE(ntohl(sa_inet4->sin_addr.s_addr) == INADDR_LOOPBACK); in TEST()
133 EXPECT_TRUE(addrs.find(addr) != addrs.end()) << if_name << ' ' << std::hex << ntohl(addr); in CheckAddressIsInSet()
/bionic/libc/tzcode/
Dlocaltime.c2376 fprintf(stderr, "index_offset = %d\n", ntohl(header.index_offset)); in __bionic_open_tzdata_path()
2377 fprintf(stderr, "data_offset = %d\n", ntohl(header.data_offset)); in __bionic_open_tzdata_path()
2378 fprintf(stderr, "zonetab_offset = %d\n", ntohl(header.zonetab_offset)); in __bionic_open_tzdata_path()
2381 if (TEMP_FAILURE_RETRY(lseek(fd, ntohl(header.index_offset), SEEK_SET)) == -1) { in __bionic_open_tzdata_path()
2390 ssize_t index_size = ntohl(header.data_offset) - ntohl(header.index_offset); in __bionic_open_tzdata_path()
2416 …size_t id_count = (ntohl(header.data_offset) - ntohl(header.index_offset)) / sizeof(struct index_e… in __bionic_open_tzdata_path()
2424 specific_zone_offset = ntohl(entry->start) + ntohl(header.data_offset); in __bionic_open_tzdata_path()
/bionic/libc/dns/net/
Dgethnamaddr.c609 size = ntohl(size); in android_read_hostent()
627 size = ntohl(size); in android_read_hostent()
655 hp->h_addrtype = ntohl(size); in android_read_hostent()
658 hp->h_length = ntohl(size); in android_read_hostent()
665 size = ntohl(size); in android_read_hostent()
Dgetnameinfo.c235 ntohl(((const struct sockaddr_in *) in getnameinfo_inet()
Dgetaddrinfo.c398 *result = ntohl(tmp); in readBE32()
1513 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope()
1538 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == ntohl(0x20010000)))
/bionic/libc/dns/resolv/
Dres_init.c609 register uint32_t i = ntohl(in.s_addr); in net_mask()
/bionic/libc/
Dlibc.mips64.map635 ntohl;
Dlibc.x86_64.map635 ntohl;
Dlibc.arm64.map635 ntohl;
Dlibc.x86.brillo.map685 ntohl;
Dlibc.mips.brillo.map687 ntohl;
Dlibc.arm.brillo.map689 ntohl;
Dlibc.mips.map687 ntohl;
Dlibc.x86.map685 ntohl;
Dlibc.arm.map689 ntohl;
Dlibc.map.txt713 ntohl;
DAndroid.mk441 upstream-openbsd/lib/libc/net/ntohl.c \
DAndroid.bp461 "upstream-openbsd/lib/libc/net/ntohl.c",
/bionic/libc/tools/
Dposix-2013.txt609 ntohl