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