Searched refs:hints (Results 1 - 19 of 19) sorted by relevance

/bind-9.6-ESV-R11/lib/bind9/
H A Dgetaddresses.c59 struct addrinfo *ai = NULL, *tmpai, hints; local
136 memset(&hints, 0, sizeof(hints));
138 hints.ai_family = PF_INET;
140 hints.ai_family = PF_INET6;
142 hints.ai_family = PF_UNSPEC;
144 hints.ai_flags = AI_ADDRCONFIG;
147 hints.ai_socktype = SOCK_STREAM;
151 result = getaddrinfo(hostname, NULL, &hints, &ai);
162 if ((hints
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Drootns.h36 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db);
38 * Reports differences between hints and the real roots.
40 * Requires view, hints and (cache) db to be valid.
H A Dview.h34 * "hints" information.
94 dns_db_t * hints; member in struct:dns_view
331 dns_view_sethints(dns_view_t *view, dns_db_t *hints);
333 * Set the view's hints database.
337 *\li 'view' is a valid, unfrozen view, whose hints database has not been
340 *\li 'hints' is a valid zone database.
344 * \li The hints database of 'view' is 'hints'.
429 *\li If 'use_hints' is ISC_TRUE, and the view has a hints database, then
430 * it will be searched last. If the answer is found in the hints
[all...]
/bind-9.6-ESV-R11/bin/check/
H A Dcheck-tool.c185 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;
217 result = getaddrinfo(namebuf, NULL, &hints, &ai);
385 struct addrinfo hints, *ai, *cur; local
392 memset(&hints,
470 struct addrinfo hints, *ai, *cur; local
[all...]
/bind-9.6-ESV-R11/contrib/queryperf/missing/
H A Dgetaddrinfo.c120 "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.6-ESV-R11/lib/lwres/
H A Dgetaddrinfo.c52 * hints is an optional pointer to a struct addrinfo. This structure can
53 * be used to provide hints concerning the type of socket that the caller
55 * structure elements in *hints:
98 * All other elements of the struct addrinfo passed via hints must be
101 * A hints of NULL is treated as if the caller provided a struct addrinfo
175 const struct addrinfo *hints, struct addrinfo **res)
189 if (hints != NULL) {
190 if ((hints->ai_flags & ~(ISC_AI_MASK)) != 0)
192 if (hints->ai_addrlen || hints
174 lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
/bind-9.6-ESV-R11/contrib/zkt/examples/flat/
H A Dnamed.conf82 ** root server hints and required 127 stuff
/bind-9.6-ESV-R11/contrib/zkt/examples/hierarchical/
H A Dnamed.conf85 ** root server hints and required 127 stuff
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.h79 const struct addrinfo *hints, struct addrinfo **res);
H A Dstub.c346 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 Dresolver.c960 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.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddlldef.h114 LPVOID hints, LPVOID res);
H A Ddllfunc.c493 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.6-ESV-R11/contrib/queryperf/
H A Dqueryperf.c414 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.6-ESV-R11/lib/dns/
H A Drootns.c227 * Load the hints from the specified filename.
251 "extra data in root hints '%s'",
289 "checkhints%s%s: %s/%s (%s) missing from hints",
295 "in hints", sep, viewname, namebuf, typebuf,
322 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, argument
336 hresult = dns_db_find(hints, name, NULL, dns_rdatatype_a, 0,
378 hresult = dns_db_find(hints, name, NULL, dns_rdatatype_aaaa, 0,
422 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db) { argument
432 REQUIRE(hints != NULL);
449 result = dns_db_find(hints, dns_rootnam
[all...]
H A Dview.c132 view->hints = NULL;
289 if (view->hints != NULL)
290 dns_db_detach(&view->hints);
658 dns_view_sethints(dns_view_t *view, dns_db_t *hints) { argument
661 REQUIRE(view->hints == NULL);
662 REQUIRE(dns_db_iszone(hints));
664 dns_db_attach(hints, &view->hints);
860 if (result == ISC_R_NOTFOUND && use_hints && view->hints != NULL) {
871 result = dns_db_find(view->hints, nam
[all...]
H A Dresolver.c7517 res->view->cache != NULL && res->view->hints != NULL) {
7519 dns_root_checkhints(res->view, res->view->hints, db);
/bind-9.6-ESV-R11/bin/named/
H A Dquery.c4036 * the hints DB.
4042 if (client->view->hints == NULL) {
4043 /* We have no hints. */
4046 dns_db_attach(client->view->hints, &db);
4054 * Nonsensical root hints may require cleanup.
4065 * We don't have any root server hints, but
H A Dserver.c1777 * We have default hints for class IN if we need them.
1779 if (view->rdclass == dns_rdataclass_in && view->hints == NULL)
1783 * If we still have no hints, this is a non-IN view with no
1784 * "hints zone" configured. Issue a warning, except if this
1786 * their hints, so it's no point requiring users to configure
1789 if (view->hints == NULL) {
1799 "no root hints for view '%s'",
2692 * "hints zones" aren't zones. If we've got one,
2713 "could not configure root hints "
4335 "setting up root hints");
[all...]

Completed in 193 milliseconds