Lines Matching defs:port
56 * Unbind its transport endpoint from the existing port
57 * and rebind it to a reserved port.
68 short port;
87 return (0); /* not udp - don't need resv port */
149 * Need to find a reserved port in the interval
155 port = (getpid() % NPORTS) + STARTPORT;
159 sin6->sin6_port = htons(port++);
161 sin->sin_port = htons(port++);
162 if (port > ENDPORT)
163 port = STARTPORT;