Lines Matching refs:GET_PORT
231 static int get_port(const struct addrinfo *, const char *, int);
283 #define GET_PORT(ai, serv) \
286 error = get_port((ai), (serv), 0); \
835 GET_PORT(cur, servname);
900 GET_PORT(cur->ai_next, servname);
906 GET_PORT(cur->ai_next, servname);
958 GET_PORT(cur->ai_next, servname);
979 GET_PORT(cur->ai_next, servname);
1133 return get_port(ai, servname, 1);
1137 get_port(const struct addrinfo *ai, const char *servname, int matchonly)