Searched refs:sin6 (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 253 const struct sockaddr_in6 *sin6; in getnameinfo_inet() local 254 sin6 = (const struct sockaddr_in6 *)(const void *)sa; in getnameinfo_inet() 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()
|
D | getaddrinfo.c | 1025 struct sockaddr_in6 *sin6; in explore_numeric_scope() 1067 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; in explore_numeric_scope() 1068 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) { in explore_numeric_scope() 1072 sin6->sin6_scope_id = scopeid; in explore_numeric_scope() 1245 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) in ip6_str2scopeid() argument 1252 assert(sin6 != NULL); in ip6_str2scopeid() 1255 a6 = &sin6->sin6_addr; in ip6_str2scopeid()
|
/bionic/libc/dns/resolv/ |
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() 220 u[nserv].sin6.sin6_family = AF_INET6; in __res_vinit() 221 u[nserv].sin6.sin6_port = htons(NAMESERVER_PORT); in __res_vinit() 223 u[nserv].sin6.sin6_len = sizeof(struct sockaddr_in6); in __res_vinit() 701 size = sizeof(set->sin6); in res_setservers() 704 &set->sin6, size); in res_setservers() 707 &set->sin6, size); in res_setservers() 750 size = sizeof(set->sin6); in res_getservers() 752 memcpy(&set->sin6, in res_getservers() [all …]
|
D | res_send.c | 158 struct sockaddr_in6 sin6; member 177 u.sin6.sin6_family = family; in random_bind() 178 slen = sizeof u.sin6; in random_bind() 192 u.sin6.sin6_port = htons(port); in random_bind() 203 u.sin6.sin6_port = 0; in random_bind()
|
D | res_debug.c | 754 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
|
/bionic/libc/kernel/uapi/linux/ |
D | rxrpc.h | 32 struct sockaddr_in6 sin6; member
|
/bionic/libc/dns/include/ |
D | resolv_private.h | 217 struct sockaddr_in6 sin6; member
|