Lines Matching refs:in6
69 if (inet_pton(AF_INET6, n, &a->sockaddr.in6.sin6_addr) <= 0)
84 a->sockaddr.in6.sin6_family = AF_INET6;
85 a->sockaddr.in6.sin6_port = htons((uint16_t) u);
146 a->sockaddr.in6.sin6_family = AF_INET6;
147 a->sockaddr.in6.sin6_port = htons((uint16_t) u);
148 a->sockaddr.in6.sin6_scope_id = idx;
149 a->sockaddr.in6.sin6_addr = in6addr_any;
163 a->sockaddr.in6.sin6_family = AF_INET6;
164 a->sockaddr.in6.sin6_port = htons((uint16_t) u);
165 a->sockaddr.in6.sin6_addr = in6addr_any;
247 if (a->sockaddr.in6.sin6_port == 0)
356 if (memcmp(&a->sockaddr.in6.sin6_addr, &b->sockaddr.in6.sin6_addr, sizeof(a->sockaddr.in6.sin6_addr)) != 0)
359 if (a->sockaddr.in6.sin6_port != b->sockaddr.in6.sin6_port)
489 sa->in6.sin6_port :
528 memcmp(&sa->in6.sin6_addr, ipv4_prefix, sizeof(ipv4_prefix)) == 0) {
529 const uint8_t *a = sa->in6.sin6_addr.s6_addr+12;
534 ntohs(sa->in6.sin6_port));
544 inet_ntop(AF_INET6, &sa->in6.sin6_addr, a, sizeof(a));
550 ntohs(sa->in6.sin6_port));
748 return memcmp(&a->in6.sin6_addr, &b->in6.sin6_addr, sizeof(a->in6.sin6_addr)) == 0;