Lines Matching defs:port
141 #define GET_AI(ai, afd, addr, port) {\
154 ((struct sockinet *)(ai)->ai_addr)->si_port = port;\
211 u_short port;
225 port = ANY;
284 * service port
293 port = htons(atoi(servname));
315 port = sp->s_port;
354 GET_AI(cur->ai_next, afd, afd->a_addrany, port);
360 port);
401 GET_AI(top, &afdl[i], pton, port);
413 get_name(pton, &afdl[i], &top, pton, pai, port);
424 error = get_addr(hostname, pai->ai_family, &top, pai, port);
450 u_short port = port0 & 0xffff;
456 GET_AI(cur, afd, hp->h_addr_list[0], port);
459 GET_AI(cur, afd, numaddr, port);
544 u_short port = port0 & 0xffff;
617 GET_AI(cur->ai_next, afd, ap, port);