Searched refs:ndots (Results 1 - 5 of 5) sorted by relevance

/external/smack/src/org/xbill/DNS/
H A DResolverConfig.java38 private int ndots = -1; field in class:ResolverConfig
101 int ndots = Integer.parseInt(token);
102 if (ndots >= 0) {
104 System.out.println("setting ndots " + token);
105 return ndots;
123 if (ndots < 0 && lndots > 0)
124 ndots = lndots;
258 if (token.startsWith("ndots:")) {
482 * Returns the located ndots value, or the default (1) if not configured.
483 * Note that ndots ca
488 ndots() { method in class:ResolverConfig
[all...]
H A DLookup.java93 defaultNdots = ResolverConfig.getCurrentConfig().ndots();
359 * Sets ndots to use when performing this lookup, overriding the default value.
363 * @param ndots The ndots value to use, which must be greater than or equal to
367 setNdots(int ndots) { argument
368 if (ndots < 0)
369 throw new IllegalArgumentException("Illegal ndots value: " +
370 ndots);
371 defaultNdots = ndots;
/external/chromium/third_party/libevent/
H A Devdns.h126 * number is greater than the ndots setting then the names is first tried
129 * The ndots setting can either be set from a resolv.conf, or by calling
132 * For example, with ndots set to 1 (the default) and a search domain list of
370 ndots, timeout, max-timeouts, max-inflight, and attempts
434 Set the 'ndots' parameter for searches.
439 @param ndots the new ndots parameter
441 void evdns_search_ndots_set(const int ndots);
H A Devdns.c2374 /* The ndots option controls how many dots it takes for the resolver */
2385 int ndots; member in struct:search_state
2412 state->ndots = 1;
2474 evdns_search_ndots_set(const int ndots) { argument
2477 global_search_state->ndots = ndots;
2527 if (string_num_dots(name) >= global_search_state->ndots) {
2568 if (string_num_dots(req->search_origname) < req->search_state->ndots) {
2655 if (!strncmp(option, "ndots:", 6)) {
2656 const int ndots local
[all...]
/external/iproute2/examples/
H A Ddhcp-client-script313 echo options ndots:1 >> /etc/resolv.conf.dhcp

Completed in 118 milliseconds