/bind-9.11.3/lib/samples/ |
H A D | sample-gai.c | 24 struct addrinfo hints, *res, *res0; local 28 memset(&hints, 0, sizeof(hints)); 29 hints.ai_family = family; 30 hints.ai_socktype = SOCK_STREAM; 31 hints.ai_flags = AI_CANONNAME; 32 error = getaddrinfo(hostname, "http", &hints, &res0);
|
H A D | sample-request.c | 143 struct addrinfo hints, *res; local 209 memset(&hints, 0, sizeof(hints)); 210 hints.ai_family = AF_UNSPEC; 211 hints.ai_socktype = SOCK_DGRAM; 212 hints.ai_protocol = IPPROTO_UDP; 214 hints.ai_flags = AI_NUMERICHOST; 216 gaierror = getaddrinfo(argv[0], "53", &hints, &res);
|
H A D | resolve.c | 180 struct addrinfo hints, *res; local 190 memset(&hints, 0, sizeof(hints)); 191 hints.ai_family = AF_UNSPEC; 192 hints.ai_socktype = SOCK_DGRAM; 193 hints.ai_protocol = IPPROTO_UDP; 194 hints.ai_flags = AI_NUMERICHOST; 195 gaierror = getaddrinfo(addrstr, port, &hints, &res);
|
H A D | sample-update.c | 115 struct addrinfo hints, *res; local 118 memset(&hints, 0, sizeof(hints)); 119 hints.ai_family = AF_UNSPEC; 120 hints.ai_socktype = SOCK_DGRAM; 121 hints.ai_protocol = IPPROTO_UDP; 123 hints.ai_flags |= AI_NUMERICHOST; 126 hints.ai_flags |= AI_NUMERICSERV; 129 gaierror = getaddrinfo(server, port, &hints, &res);
|
H A D | nsprobe.c | 1028 struct addrinfo hints, *res; local 1084 memset(&hints, 0, sizeof(hints)); 1085 hints.ai_family = AF_UNSPEC; 1086 hints.ai_socktype = SOCK_DGRAM; 1087 error = getaddrinfo(cacheserver, "53", &hints, &res);
|
/bind-9.11.3/lib/bind9/ |
H A D | getaddresses.c | 49 struct addrinfo *ai = NULL, *tmpai, hints; local 125 memset(&hints, 0, sizeof(hints)); 127 hints.ai_family = PF_INET; 129 hints.ai_family = PF_INET6; 131 hints.ai_family = PF_UNSPEC; 133 hints.ai_flags = AI_ADDRCONFIG; 136 hints.ai_socktype = SOCK_STREAM; 140 result = getaddrinfo(hostname, NULL, &hints, &ai); 151 if ((hints [all...] |
/bind-9.11.3/lib/dns/include/dns/ |
H A D | rootns.h | 27 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db); 29 * Reports differences between hints and the real roots. 31 * Requires view, hints and (cache) db to be valid.
|
H A D | view.h | 23 * "hints" information. 89 dns_db_t * hints; member in struct:dns_view 434 dns_view_sethints(dns_view_t *view, dns_db_t *hints); 436 * Set the view's hints database. 440 *\li 'view' is a valid, unfrozen view, whose hints database has not been 443 *\li 'hints' is a valid zone database. 447 * \li The hints database of 'view' is 'hints'. 573 *\li If 'use_hints' is ISC_TRUE, and the view has a hints database, then 574 * it will be searched last. If the answer is found in the hints [all...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | net.c | 629 struct addrinfo hints, *res0; local 635 memset(&hints, 0, sizeof(hints)); 636 hints.ai_family = AF_INET; 637 hints.ai_socktype = SOCK_DGRAM; 638 hints.ai_protocol = IPPROTO_UDP; 640 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; 642 hints.ai_flags = AI_PASSIVE; 645 n = getaddrinfo("127.0.0.1", NULL, &hints, &res0); 694 struct addrinfo hints, *res local [all...] |
/bind-9.11.3/bin/check/ |
H A D | check-tool.c | 185 struct addrinfo hints, *ai, *cur; local 203 memset(&hints, 0, sizeof(hints)); 204 hints.ai_flags = AI_CANONNAME; 205 hints.ai_family = PF_UNSPEC; 206 hints.ai_socktype = SOCK_STREAM; 207 hints.ai_protocol = IPPROTO_TCP; 218 result = getaddrinfo(namebuf, NULL, &hints, &ai); 386 struct addrinfo hints, *ai, *cur; local 393 memset(&hints, 472 struct addrinfo hints, *ai, *cur; local [all...] |
/bind-9.11.3/contrib/queryperf/missing/ |
H A D | getaddrinfo.c | 120 "Invalid value for hints", /* EAI_BADHINTS */ 199 getaddrinfo(hostname, servname, hints, res) 201 const struct addrinfo *hints; 229 if (hints) { 230 /* error check for hints */ 231 if (hints->ai_addrlen || hints->ai_canonname || 232 hints->ai_addr || hints->ai_next) 234 if (hints [all...] |
/bind-9.11.3/lib/lwres/ |
H A D | getaddrinfo.c | 55 * hints is an optional pointer to a struct addrinfo. This structure can 56 * be used to provide hints concerning the type of socket that the caller 58 * structure elements in *hints: 101 * All other elements of the struct addrinfo passed via hints must be 104 * A hints of NULL is treated as if the caller provided a struct addrinfo 178 const struct addrinfo *hints, struct addrinfo **res) 192 if (hints != NULL) { 193 if ((hints->ai_flags & ~(ISC_AI_MASK)) != 0) 195 if (hints->ai_addrlen || hints 177 lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | stub.h | 79 const struct addrinfo *hints, struct addrinfo **res);
|
H A D | stub.c | 346 const struct addrinfo *hints, struct addrinfo **res) 349 const struct addrinfo *hints, struct addrinfo **res); 354 return ((*fp)(nodename, servname, hints, res)); 345 idn_stub_getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
|
H A D | resolver.c | 960 const struct addrinfo *hints, struct addrinfo **res) 968 return (REAL(getaddrinfo)(nodename, servname, hints, res)); 980 err = REAL(getaddrinfo)(nodename, servname, hints, &aip); 959 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock20/ |
H A D | dlldef.h | 114 LPVOID hints, LPVOID res);
|
H A D | dllfunc.c | 493 const struct my_addrinfo *hints, struct my_addrinfo **res) 507 err = _org_getaddrinfo(nodename, servname, hints, res); 516 err = _org_getaddrinfo(nodename, servname, hints, &aip); 492 getaddrinfo(const char *nodename, const char *servname, const struct my_addrinfo *hints, struct my_addrinfo **res) argument
|
/bind-9.11.3/lib/irs/ |
H A D | getaddrinfo.c | 39 * hints is an optional pointer to a struct addrinfo. This structure can 40 * be used to provide hints concerning the type of socket that the caller 42 * structure elements in *hints: 85 * All other elements of the struct addrinfo passed via hints must be 88 * A hints of NULL is treated as if the caller provided a struct addrinfo 188 const struct addrinfo *hints, struct addrinfo **res) 203 if (hints != NULL) { 204 if ((hints->ai_flags & ~(ISC_AI_MASK)) != 0) 206 if (hints->ai_addrlen || hints 187 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
H A D | resconf.c | 202 struct addrinfo hints, *res; local 206 memset(&hints, 0, sizeof(hints)); 207 hints.ai_family = AF_UNSPEC; 208 hints.ai_socktype = SOCK_DGRAM; 209 hints.ai_protocol = IPPROTO_UDP; 210 hints.ai_flags = AI_NUMERICHOST; 211 error = getaddrinfo(address_str, "53", &hints, &res);
|
/bind-9.11.3/contrib/perftcpdns/ |
H A D | perftcpdns.c | 1542 struct addrinfo hints, *res; local 1545 memset(&hints, 0, sizeof(hints)); 1547 hints.ai_family = AF_INET; 1549 hints.ai_family = AF_INET6; 1551 hints.ai_socktype = SOCK_DGRAM; 1552 hints.ai_protocol = IPPROTO_UDP; 1554 hints.ai_socktype = SOCK_STREAM; 1555 hints.ai_protocol = IPPROTO_TCP; 1557 hints 1584 struct addrinfo hints, *res; local [all...] |
/bind-9.11.3/contrib/queryperf/ |
H A D | queryperf.c | 414 struct addrinfo hints, *res; local 423 memset(&hints, 0, sizeof(hints)); 424 hints.ai_family = family; 425 hints.ai_socktype = SOCK_DGRAM; 426 hints.ai_protocol = proto->p_proto; 428 &hints, &res)) != 0) { 769 struct addrinfo hints, *res; local 771 memset(&hints, 0, sizeof(hints)); [all...] |
/bind-9.11.3/lib/dns/ |
H A D | rootns.c | 220 * Load the hints from the specified filename. 244 "extra data in root hints '%s'", 251 ISC_LOG_ERROR, "could not configure root hints from " 288 "checkhints%s%s: %s/%s (%s) missing from hints", 294 "in hints", sep, viewname, namebuf, typebuf, 321 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, argument 335 hresult = dns_db_find(hints, name, NULL, dns_rdatatype_a, 0, 377 hresult = dns_db_find(hints, name, NULL, dns_rdatatype_aaaa, 0, 421 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db) { argument 431 REQUIRE(hints ! [all...] |
H A D | view.c | 145 view->hints = NULL; 408 if (view->hints != NULL) 409 dns_db_detach(&view->hints); 874 dns_view_sethints(dns_view_t *view, dns_db_t *hints) { argument 877 REQUIRE(view->hints == NULL); 878 REQUIRE(dns_db_iszone(hints)); 880 dns_db_attach(hints, &view->hints); 1144 if (result == ISC_R_NOTFOUND && use_hints && view->hints != NULL) { 1155 result = dns_db_find(view->hints, nam [all...] |
H A D | resolver.c | 9111 res->view->cache != NULL && res->view->hints != NULL) { 9113 dns_root_checkhints(res->view, res->view->hints, db);
|
/bind-9.11.3/bin/delv/ |
H A D | delv.c | 773 struct addrinfo hints, *res, *cur; local 810 memset(&hints, 0, sizeof(hints)); 812 hints.ai_family = AF_INET; 814 hints.ai_family = AF_INET6; 816 hints.ai_family = AF_UNSPEC; 817 hints.ai_socktype = SOCK_DGRAM; 818 hints.ai_protocol = IPPROTO_UDP; 819 gaierror = getaddrinfo(server, port, &hints, &res);
|