Searched refs:sin6_addr (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 88 offsetof(struct sockaddr_in6, sin6_addr)}, 255 switch (sin6->sin6_addr.s6_addr[0]) { in getnameinfo_inet() 257 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) in getnameinfo_inet() 259 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) in getnameinfo_inet() 261 else if (IN6_IS_ADDR_WKP(&sin6->sin6_addr)) in getnameinfo_inet() 267 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { in getnameinfo_inet() 270 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr)) in getnameinfo_inet() 417 a6 = &sa6->sin6_addr; in ip6_sa2str()
|
D | getaddrinfo.c | 151 offsetof(struct sockaddr_in6, sin6_addr), 377 .sin6_addr.s6_addr = { // 2000:: in _have_ipv6() 1255 a6 = &sin6->sin6_addr; in ip6_str2scopeid() 1516 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope() 1517 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope() 1518 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope() 1519 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope() 1525 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope() 1580 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label() 1582 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label() [all …]
|
/bionic/tests/ |
D | ifaddrs_test.cpp | 66 ASSERT_TRUE(IN6_IS_ADDR_LOOPBACK(&sa_inet6->sin6_addr)); in TEST() 264 if (IN6_IS_ADDR_LINKLOCAL(&sa6->sin6_addr) || IN6_IS_ADDR_MC_LINKLOCAL(&sa6->sin6_addr)) { in TEST()
|
D | netdb_test.cpp | 110 ASSERT_EQ(0, memcmp(&addr->sin6_addr, &in6addr_loopback, sizeof(in6_addr))); in TEST() 166 addr.sin6_addr = in6addr_loopback; in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | in6.h | 44 struct in6_addr sin6_addr; member
|
/bionic/tests/headers/posix/ |
D | netinet_in_h.c | 55 STRUCT_MEMBER(struct sockaddr_in6, struct in6_addr, sin6_addr); in netinet_in_h()
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 252 (IN6_IS_ADDR_UNSPECIFIED(&srv6->sin6_addr) || in res_ourserver_p() 253 IN6_ARE_ADDR_EQUAL(&srv6->sin6_addr, &in6p->sin6_addr))) in res_ourserver_p() 1346 IN6_ARE_ADDR_EQUAL(&a6->sin6_addr, &b6->sin6_addr); in sock_eq()
|
D | res_init.c | 216 u[nserv].sin6.sin6_addr = in6addr_loopback; in __res_vinit() 218 u[nserv].sin6.sin6_addr = in6addr_any; in __res_vinit()
|
D | res_debug.c | 754 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
|
/bionic/libc/bionic/ |
D | ifaddrs.cpp | 153 return reinterpret_cast<uint8_t*>(&ss6->sin6_addr); in SockaddrBytes()
|