Lines Matching refs:in6
79 if (a->sockaddr.in6.sin6_port == 0) in socket_address_verify()
209 …if (memcmp(&a->sockaddr.in6.sin6_addr, &b->sockaddr.in6.sin6_addr, sizeof(a->sockaddr.in6.sin6_add… in socket_address_equal()
212 if (a->sockaddr.in6.sin6_port != b->sockaddr.in6.sin6_port) in socket_address_equal()
372 *ret_port = be16toh(sa->in6.sin6_port); in sockaddr_port()
396 return (const union in_addr_union*) &sa->in6.sin6_addr; in sockaddr_in_addr()
424 u->in6 = (struct sockaddr_in6) { in sockaddr_set_in_addr()
426 .sin6_addr = a->in6, in sockaddr_set_in_addr()
479 memcmp(&sa->in6.sin6_addr, ipv4_prefix, sizeof(ipv4_prefix)) == 0) { in sockaddr_pretty()
480 const uint8_t *a = sa->in6.sin6_addr.s6_addr+12; in sockaddr_pretty()
485 be16toh(sa->in6.sin6_port)); in sockaddr_pretty()
495 inet_ntop(AF_INET6, &sa->in6.sin6_addr, a, sizeof(a)); in sockaddr_pretty()
501 be16toh(sa->in6.sin6_port), in sockaddr_pretty()
502 sa->in6.sin6_scope_id != 0 ? "%" : "", in sockaddr_pretty()
503 … FORMAT_IFNAME_FULL(sa->in6.sin6_scope_id, FORMAT_IFNAME_IFINDEX)) < 0) in sockaddr_pretty()
506 if (sa->in6.sin6_scope_id != 0) in sockaddr_pretty()
507 … p = strjoin(a, "%", FORMAT_IFNAME_FULL(sa->in6.sin6_scope_id, FORMAT_IFNAME_IFINDEX)); in sockaddr_pretty()
707 return memcmp(&a->in6.sin6_addr, &b->in6.sin6_addr, sizeof(a->in6.sin6_addr)) == 0; in sockaddr_equal()