Searched refs:s_addr (Results 1 – 12 of 12) sorted by relevance
29 a.s_addr = 0; in TEST()31 ASSERT_EQ((htonl)(0x7f010203), a.s_addr); in TEST()34 a.s_addr = 0; in TEST()36 ASSERT_EQ((htonl)(0x7f010002), a.s_addr); in TEST()39 a.s_addr = 0; in TEST()41 ASSERT_EQ((htonl)(0x7f000001), a.s_addr); in TEST()44 a.s_addr = 0; in TEST()46 ASSERT_EQ((htonl)(0x7f000001), a.s_addr); in TEST()49 a.s_addr = 0; in TEST()51 ASSERT_EQ((htonl)(0xff000001), a.s_addr); in TEST()[all …]
61 ASSERT_TRUE(ntohl(sa_inet4->sin_addr.s_addr) == INADDR_LOOPBACK); in TEST()133 in_addr_t addr = sock->sin_addr.s_addr; in CheckAddressIsInSet()148 inet_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()152 broad_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
148 addr.sin_addr.s_addr = htonl(0x7f000001); in TEST()
32 return inet_aton(cp, &addr) ? addr.s_addr : INADDR_NONE; in inet_addr()70 if (addr != nullptr) addr->s_addr = htonl(result); in inet_aton()
43 in_addr_t i = ntohl(in.s_addr); in inet_lnaof()
42 in_addr_t i = ntohl(in.s_addr); in inet_netof()
96 __be32 s_addr; member
206 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()414 statp->sort_list[nsort].mask = a.s_addr; in __res_vinit()610 register uint32_t i = ntohl(in.s_addr); in net_mask()
244 (srv->sin_addr.s_addr == INADDR_ANY || in res_ourserver_p()245 srv->sin_addr.s_addr == inp->sin_addr.s_addr)) in res_ourserver_p()1350 a4->sin_addr.s_addr == b4->sin_addr.s_addr; in sock_eq()
233 (const void *)sa)->sin_addr.s_addr); in getnameinfo_inet()
1135 if (res->sort_list[j].addr.s_addr == in addrsort()1136 (((struct in_addr *)(void *)(*p))->s_addr & in addrsort()
385 .sin_addr.s_addr = __constant_htonl(0x08080808L) // 8.8.8.8 in _have_ipv4()1527 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope()