Lines Matching refs:svd
94 #define endservent_r(svd) endservent() argument
279 #define GET_PORT(ai, serv, svd) \ argument
282 error = get_port((ai), (serv), 0, (svd)); \
364 struct servent_data svd; in getaddrinfo() local
371 (void)memset(&svd, 0, sizeof(svd)); in getaddrinfo()
445 error = get_portmatch(pai, servname, &svd); in getaddrinfo()
478 &svd); in getaddrinfo()
481 &cur->ai_next, &svd); in getaddrinfo()
530 &svd); in getaddrinfo()
545 endservent_r(&svd); in getaddrinfo()
552 endservent_r(&svd); in getaddrinfo()
571 const char *servname, struct addrinfo **res, struct servent_data *svd) in explore_fqdn() argument
587 if (get_portmatch(pai, servname, svd) != 0) in explore_fqdn()
604 GET_PORT(cur, servname, svd); in explore_fqdn()
627 struct addrinfo **res, struct servent_data *svd) in explore_null() argument
657 if (get_portmatch(pai, servname, svd) != 0) in explore_null()
669 GET_PORT(cur->ai_next, servname, svd); in explore_null()
675 GET_PORT(cur->ai_next, servname, svd); in explore_null()
694 struct servent_data *svd) in explore_numeric() argument
714 if (get_portmatch(pai, servname, svd) != 0) in explore_numeric()
728 GET_PORT(cur->ai_next, servname, svd); in explore_numeric()
749 GET_PORT(cur->ai_next, servname, svd); in explore_numeric()
781 const char *servname, struct addrinfo **res, struct servent_data *svd) in explore_numeric_scope() argument
784 return explore_numeric(pai, hostname, servname, res, hostname, svd); in explore_numeric_scope()
800 if (get_portmatch(pai, servname, svd) != 0) in explore_numeric_scope()
809 svd); in explore_numeric_scope()
814 svd); in explore_numeric_scope()
827 error = explore_numeric(pai, addr, servname, res, hostname, svd); in explore_numeric_scope()
894 struct servent_data *svd) in get_portmatch() argument
900 return get_port(ai, servname, 1, svd); in get_portmatch()
905 struct servent_data *svd) in get_port() argument