Searched refs:MAX_PORT (Results 1 – 9 of 9) sorted by relevance
37 #define MAX_PORT 65535 /* max port value for UDP */ macro
265 outudp->uh_dport = htons((port + seq) % (MAX_PORT + 1)); in send_probe()395 (MAX_PORT + 1))) { in check_reply()
345 to6->sin6_port = htons((port + seq) % (MAX_PORT + 1)); in send_probe6()485 (MAX_PORT + 1))) { in check_reply6()
435 port = str2int(optarg, "port", 1, MAX_PORT); in main()
38 #define MAX_PORT 65535 /* max port number for UDP probes */ macro
408 (MAX_PORT + 1) == ntohs(up->uh_dport)) && in check_reply6()
406 if (i > MAX_PORT) { in main()2088 dest_port = (dest_port + 1) % (MAX_PORT + 1); in pinger()
372 (MAX_PORT + 1) == ntohs(up->uh_dport)) && in check_reply()
44 #define MAX_PORT 65535 macro176 if (val < 1 || val > MAX_PORT || *endp != '\0') in do_check_port()