Lines Matching defs:sin6
265 struct sockaddr_in6 sin6;
266 memset(&sin6, 0, sizeof(sin6));
268 sin6.sin6_len = sizeof(sin6);
270 sin6.sin6_family = AF_INET6;
271 sin6.sin6_port = htons(ent->port);
272 r = evutil_inet_pton(AF_INET6, ent->addr, &sin6.sin6_addr);
275 } else if (memcmp(&sin6, &ss, sizeof(sin6))) {
277 } else if (len != sizeof(sin6)) {
843 struct sockaddr_in6 *sin6 = (struct sockaddr_in6*)ai->ai_addr;
844 evutil_inet_ntop(AF_INET6, &sin6->sin6_addr, buf, sizeof(buf));
845 gotport = ntohs(sin6->sin6_port);
1066 struct sockaddr_in6 *sin6;
1106 sin6 = (struct sockaddr_in6*)ai->ai_addr;
1107 tt_int_op(sin6->sin6_port, ==, htons(80));
1109 cp = evutil_inet_ntop(AF_INET6, &sin6->sin6_addr, buf,