Lines Matching defs:dst6
425 char dst6[NI_MAXHOST];
447 dst6, (socklen_t)sizeof(dst6), NULL, 0, NI_NUMERICHOST);
448 syslog(LOG_INFO, "the client is connecting to %s", dst6);
580 struct sockaddr_in6 *dst6 = (struct sockaddr_in *)dst;
601 struct sockaddr_in6 *dst6;
605 dst6 = (void *)dst;
607 && IN6_IS_ADDR_V4MAPPED(&dst6->sin6_addr)) {
612 memcpy(&dstmap.sin_addr, &dst6->sin6_addr.s6_addr[12],
617 dst6 = (void *)dst;
630 if (sin6->sin6_scope_id == dst6->sin6_scope_id
631 && IN6_ARE_ADDR_EQUAL(&sin6->sin6_addr, &dst6->sin6_addr))
646 map6to4(struct sockaddr_in6 *dst6, struct sockaddr_in *dst4)
651 dst4->sin_port = dst6->sin6_port;
652 memcpy(&dst4->sin_addr, &dst6->sin6_addr.s6_addr[12],