Home
last modified time | relevance | path

Searched refs:sin_addr (Results 1 – 10 of 10) sorted by relevance

/bionic/tests/
Difaddrs_test.cpp59 ASSERT_TRUE(ntohl(sa_inet4->sin_addr.s_addr) == INADDR_LOOPBACK); in TEST()
131 in_addr_t addr = sock->sin_addr.s_addr; in CheckAddressIsInSet()
146 inet_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
150 broad_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
Dnetdb_test.cpp148 addr.sin_addr.s_addr = htonl(0x7f000001); in TEST()
/bionic/libc/kernel/uapi/linux/
Dif_pppox.h42 struct in_addr sin_addr; member
Din.h235 struct in_addr sin_addr; member
/bionic/libc/dns/net/
Dgetnameinfo.c85 offsetof(struct sockaddr_in, sin_addr)},
236 (const void *)sa)->sin_addr.s_addr); in getnameinfo_inet()
Dgetaddrinfo.c157 offsetof(struct sockaddr_in, sin_addr),
387 .sin_addr.s_addr = __constant_htonl(0x08080808L) // 8.8.8.8 in _have_ipv4()
1513 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope()
/bionic/libc/dns/resolv/
Dres_send.c245 (srv->sin_addr.s_addr == INADDR_ANY || in res_ourserver_p()
246 srv->sin_addr.s_addr == inp->sin_addr.s_addr)) in res_ourserver_p()
1360 a4->sin_addr.s_addr == b4->sin_addr.s_addr; in sock_eq()
Dres_init.c205 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); in __res_vinit()
207 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
Dres_debug.c732 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun()
/bionic/libc/bionic/
Difaddrs.cpp148 return reinterpret_cast<uint8_t*>(&ss4->sin_addr); in SockaddrBytes()