Lines Matching refs:dst
210 static struct sockaddr_in6 dst; /* who to ping6 */
677 (void)memcpy(&dst, res->ai_addr, res->ai_addrlen);
691 IN6_IS_ADDR_LINKLOCAL(&dst.sin6_addr) ||
692 IN6_IS_ADDR_MC_LINKLOCAL(&dst.sin6_addr) ||
693 IN6_IS_ADDR_MC_NODELOCAL(&dst.sin6_addr))) {
695 src.sin6_scope_id = dst.sin6_scope_id;
696 if (dst.sin6_scope_id == 0)
697 dst.sin6_scope_id = src.sin6_scope_id;
810 if (IN6_IS_ADDR_MULTICAST(&dst.sin6_addr))
907 if (IN6_IS_ADDR_MULTICAST(&dst.sin6_addr))
943 if ((dst.sin6_scope_id = if_nametoindex(ifname)) == 0)
1025 src.sin6_addr = dst.sin6_addr;
1027 src.sin6_scope_id = dst.sin6_scope_id;
1062 if (connect(ssend, (struct sockaddr *)&dst, sizeof(dst)) != 0)
1146 printf("%s\n", pr_addr((struct sockaddr *)&dst, sizeof(dst)));
1312 l = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
1316 l = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
1357 memcpy(&outpack[ICMP6_NIQLEN], &dst.sin6_addr,
1358 sizeof(dst.sin6_addr));
1359 cc = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
1389 memcpy(&outpack[ICMP6_NIQLEN], &dst.sin6_addr,
1390 sizeof(dst.sin6_addr));
1391 cc = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
1666 (void)printf(" dst=%s",
2274 &dst.sin6_addr) ||
2276 dst.sin6_scope_id &&
2278 dst.sin6_scope_id)) {