Home | History | Annotate | Download | only in iputils

Lines Matching refs:sin6_addr

465 		offset = OFFSET_OF(struct sockaddr_in6, sin6_addr);
768 if (inet_pton(AF_INET6, addr, (char*)&source.sin6_addr) <= 0) {
871 addr = &((struct sockaddr_in6 *)(ai->ai_addr))->sin6_addr;
877 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) {
878 memcpy(&firsthop.sin6_addr, addr, 16);
901 ni_subject = &whereto.sin6_addr;
902 ni_subject_len = sizeof(whereto.sin6_addr);
939 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) {
940 memcpy(&firsthop.sin6_addr, &whereto.sin6_addr, 16);
955 if (IN6_IS_ADDR_UNSPECIFIED(&source.sin6_addr)) {
975 if (IN6_IS_ADDR_LINKLOCAL(&firsthop.sin6_addr) ||
976 IN6_IS_ADDR_MC_LINKLOCAL(&firsthop.sin6_addr))
1019 IN6_ARE_ADDR_EQUAL(&((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr,
1020 &source.sin6_addr))
1031 else if (device && (IN6_IS_ADDR_LINKLOCAL(&source.sin6_addr) ||
1032 IN6_IS_ADDR_MC_LINKLOCAL(&source.sin6_addr)))
1057 if ((whereto.sin6_addr.s6_addr16[0]&htons(0xff00)) == htons (0xff00)) {
1219 memcpy(&freq->flr_dst, &whereto.sin6_addr, 16);
1254 printf("PING %s(%s) ", hostname, pr_addr(&whereto.sin6_addr));
1259 pr_addr_n(&source.sin6_addr), device ? : "");
1323 memcmp(&target.sin6_addr, &whereto.sin6_addr, 16) ||
1339 printf("From %s icmp_seq=%u ", pr_addr(&sin6->sin6_addr), ntohs(icmph.icmp6_seq));
1626 hops, 0, tv, pr_addr(&from->sin6_addr),
1636 hops, 0, tv, pr_addr(&from->sin6_addr),
1654 if (memcmp(&iph1->ip6_dst, &whereto.sin6_addr, 16))
1676 printf("From %s: icmp_seq=%u ", pr_addr(&from->sin6_addr), ntohs(icmph1->icmp6_seq));
1682 printf("From %s: ", pr_addr(&from->sin6_addr));