Lines Matching refs:hoplimit
210 static int hoplimit = -1; /* hoplimit */
404 case 'h': /* hoplimit */
405 hoplimit = strtol(optarg, &e, 10);
407 errx(1, "illegal hoplimit %s", optarg);
408 if (255 < hoplimit || hoplimit < -1)
410 "illegal hoplimit -- %s", optarg);
765 if (hoplimit != -1)
796 if (hoplimit != -1) {
800 *(int *)(CMSG_DATA(scmsgp)) = hoplimit;
826 if (hoplimit != -1 &&
828 (void *)&hoplimit, sizeof(hoplimit)))
831 if (hoplimit != -1 &&
833 (void *)&hoplimit, sizeof(hoplimit)))
2526 "\t[-c count] [-g gateway] [-h hoplimit] [-I interface]\n"