Searched refs:MAX_PORT (Results 1 – 9 of 9) sorted by relevance
39 #define MAX_PORT 65535 /* max port value for UDP */ macro
267 outudp->uh_dport = htons((port + seq) % (MAX_PORT + 1)); in send_probe()397 (MAX_PORT + 1))) { in check_reply()
347 to6->sin6_port = htons((port + seq) % (MAX_PORT + 1)); in send_probe6()487 (MAX_PORT + 1))) { in check_reply6()
422 port = str2int(optarg, "port", 1, MAX_PORT); in main()
36 #define MAX_PORT 65535 /* max port number for UDP probes */ macro
406 (MAX_PORT + 1) == ntohs(up->uh_dport)) && in check_reply6()
378 if (i > MAX_PORT) { in main()2018 dest_port = (dest_port + 1) % (MAX_PORT + 1); in pinger()
369 (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()