Lines Matching refs:AF_INET6
346 icmp_sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
447 to->sin6_family = AF_INET6;
450 if (inet_pton(AF_INET6, *argv, &to->sin6_addr) > 0) {
458 hp = gethostbyname2(idn ? idn : *argv, AF_INET6);
523 if ((sndsock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
544 int probe_fd = socket(AF_INET6, SOCK_DGRAM, 0);
568 saddr.sin6_family = AF_INET6;
569 if (inet_pton(AF_INET6, source, &saddr.sin6_addr) <= 0)
586 inet_ntop(AF_INET6, &to->sin6_addr, pa, sizeof(pa)));
589 inet_ntop(AF_INET6, &saddr.sin6_addr, pa, sizeof(pa)));
876 inet_ntop(AF_INET6, &from->sin6_addr, pa1, sizeof(pa1)),
877 inet_ntop(AF_INET6, to, pa2, sizeof(pa2)));
904 Printf(" %s", inet_ntop(AF_INET6, &from->sin6_addr,
912 hostname = inet_ntop(AF_INET6, &from->sin6_addr, pa, sizeof(pa));
915 sizeof(from->sin6_addr), AF_INET6))) {