Lines Matching defs:port
339 struct netconfig *nconf, ushort_t port, struct t_info *tinfo,
364 if (port) {
367 = port;
371 = port;
422 ((struct sockaddr_in *)(nb->buf))->sin_port = port;
427 ((struct sockaddr_in6 *)(nb->buf))->sin6_port = port;
455 ((struct sockaddr_in *)(nb->buf))->sin_port = port;
505 * with version "vers". If the port number is specified (non zero)
506 * then try for a TCP/UDP transport and set the port number of the
526 ushort_t port;
529 * First lets get the requested port
534 port = svp->s_port;
556 * If the port number is specified then TCP/UDP
559 if (port == 0)
580 if ((nb = get_the_addr(hostname, prog, vers, nconf, port,
591 if (port == 0)
618 port, tinfo, portmap)) == NULL) {