Home
last modified time | relevance | path

Searched refs:s_addr (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
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()
Dinet_addr.c70 return (val.s_addr); in inet_addr()
173 addr->s_addr = htonl(val); in inet_aton()
/bionic/tests/
Darpa_inet_test.cpp28 ASSERT_EQ((htonl)(0x7f000001), a.s_addr); in TEST()
38 ASSERT_EQ((htonl)(0x12345678), a.s_addr); in TEST()
Dnetdb_test.cpp148 addr.sin_addr.s_addr = htonl(0x7f000001); in TEST()
/bionic/libc/kernel/uapi/linux/
Din.h89 __be32 s_addr; member
/bionic/libc/dns/resolv/
Dres_init.c207 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
413 statp->sort_list[nsort].mask = a.s_addr; in __res_vinit()
609 register uint32_t i = ntohl(in.s_addr); in net_mask()
Dres_send.c247 (srv->sin_addr.s_addr == INADDR_ANY || in res_ourserver_p()
248 srv->sin_addr.s_addr == inp->sin_addr.s_addr)) in res_ourserver_p()
1315 a4->sin_addr.s_addr == b4->sin_addr.s_addr; in sock_eq()
/bionic/libc/dns/net/
Dgetnameinfo.c236 (const void *)sa)->sin_addr.s_addr); in getnameinfo_inet()
Dgethnamaddr.c1136 if (res->sort_list[j].addr.s_addr == in addrsort()
1137 (((struct in_addr *)(void *)(*p))->s_addr & in addrsort()
Dgetaddrinfo.c387 .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()