Lines Matching refs:perror_exit
133 if (res < 0) perror_exit("setsockopt ttl %d", ttl); in send_probe4()
138 if (res != len) perror_exit(" sendto"); in send_probe4()
158 perror_exit("sendto"); in send_probe6()
165 &set, sizeof(set)) < 0)) perror_exit("SO_DEBUG failed "); in set_flag_dr()
168 &set, sizeof(set)) < 0)) perror_exit("SO_DONTROUTE failed "); in set_flag_dr()
238 if (errno != EINTR) perror_exit("poll"); in do_trace()
524 sizeof(two)) < 0) perror_exit("setsockopt RAW_CHECKSUM"); in traceroute_main()
555 perror_exit("LSRR IP_OPTIONS"); in traceroute_main()
560 sizeof(TT.msg_len)) < 0) perror_exit("SO_SNDBUF failed "); in traceroute_main()
565 perror_exit("IP_TOS %ld failed ", TT.tos); in traceroute_main()
570 sizeof(set)) < 0)) perror_exit("IP_DONTFRAG failed "); in traceroute_main()
573 sizeof(TT.tos)) < 0) perror_exit("IPV6_TCLASS %ld failed ", TT.tos); in traceroute_main()
589 perror_exit("can't set multicast source interface"); in traceroute_main()
591 sizeof(struct sockaddr_in)) < 0) perror_exit("bind"); in traceroute_main()
621 perror_exit("can't connect to remote host"); in traceroute_main()
627 sizeof(struct sockaddr_in6))) perror_exit("bind"); in traceroute_main()
629 sizeof(struct sockaddr_in6))) perror_exit("bind"); in traceroute_main()