Lines Matching refs:port
71 struct addrinfo *cur, ushort_t port, int version);
104 * a servicename or literal port number or this
130 * be a numeric port string. Otherwise, an [EAI_NONAME]
186 ushort_t port;
208 port = 0;
331 * Servname string can be a decimal port number.
339 port = htons(atoi(servname));
341 port = htons(atoi(servname));
353 sp = getservbyport_r(port, proto,
391 port = sp->s_port;
475 ai2sin6(nai)->sin6_port = port;
518 ai2sin(nai)->sin_port = port;
526 error = get_addr(aip->ai_family, hostname, aip, cur, port, version);
556 addrinfo *cur, ushort_t port, int version)
683 ai2sin6(nai)->sin6_port = port;
732 ai2sin(nai)->sin_port = port;