Searched refs:MAX_PORT (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.h39 #define MAX_PORT 65535 /* max port value for UDP */ macro
H A Dtraceroute_aux.c267 outudp->uh_dport = htons((port + seq) % (MAX_PORT + 1));
397 (MAX_PORT + 1))) {
H A Dtraceroute_aux6.c347 to6->sin6_port = htons((port + seq) % (MAX_PORT + 1));
487 (MAX_PORT + 1))) {
H A Dtraceroute.c422 port = str2int(optarg, "port", 1, MAX_PORT);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h38 #define MAX_PORT 65535 /* max port number for UDP probes */ macro
H A Dping.c406 if (i > MAX_PORT) {
2088 dest_port = (dest_port + 1) % (MAX_PORT + 1);
2280 * sequence numbers wrap around after MAX_ICMP_SEQ (== MAX_PORT).
H A Dping_aux.c372 (MAX_PORT + 1) == ntohs(up->uh_dport)) &&
H A Dping_aux6.c408 (MAX_PORT + 1) == ntohs(up->uh_dport)) &&
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c44 #define MAX_PORT 65535 macro
176 if (val < 1 || val > MAX_PORT || *endp != '\0')

Completed in 696 milliseconds