Searched refs:s_addr (Results 1 – 14 of 14) 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 …]
83 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in TEST()84 mreq.imr_multiaddr.s_addr = htonl(INADDR_ANY); in TEST()85 mreq.imr_sourceaddr.s_addr = htonl(INADDR_ANY); in TEST()
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()
44 in_addr_t s_addr; member
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()
42 in_addr_t i = ntohl(in.s_addr); in inet_lnaof()
41 in_addr_t i = ntohl(in.s_addr); in inet_netof()
41 STRUCT_MEMBER(struct in_addr, in_addr_t, s_addr); in netinet_in_h()
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()
235 (srv->sin_addr.s_addr == INADDR_ANY || in res_ourserver_p()236 srv->sin_addr.s_addr == inp->sin_addr.s_addr)) in res_ourserver_p()1336 a4->sin_addr.s_addr == b4->sin_addr.s_addr; in sock_eq()
240 (const void *)sa)->sin_addr.s_addr); in getnameinfo_inet()
1105 if (res->sort_list[j].addr.s_addr == in addrsort()1106 (((struct in_addr *)(void *)(*p))->s_addr & in addrsort()
388 .sin_addr.s_addr = __constant_htonl(0x08080808L) // 8.8.8.8 in _have_ipv4()1532 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope()