Searched defs:opt (Results 1 - 16 of 16) sorted by relevance

/bind-9.6-ESV-R11/bin/tests/
H A Dprintmsg.c167 dns_rdataset_t *opt, *tsig; local
195 opt = dns_message_getopt(msg);
196 if (opt != NULL)
198 (unsigned int)((opt->ttl & 0x00ff0000) >> 16),
199 (unsigned int)opt->rdclass);
H A Drdata_test.c216 static dns_rdata_opt_t opt; local
217 result = dns_rdata_tostruct(rdata, sp = &opt, NULL);
483 static dns_rdata_opt_t opt; local
484 result = dns_rdata_tostruct(rdata, sp = &opt, mctx);
780 dns_rdata_opt_t opt;
781 result = dns_rdata_fromstruct(rdata2, rdc, rdt, &opt, b);
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dopt_41.c96 isc_uint16_t opt; local
112 opt = uint16_fromregion(&sregion);
119 switch (opt) {
194 dns_rdata_opt_t *opt = source; local
200 REQUIRE(opt->common.rdtype == type);
201 REQUIRE(opt->common.rdclass == rdclass);
202 REQUIRE(opt->options != NULL || opt->length == 0);
207 region.base = opt->options;
208 region.length = opt
225 dns_rdata_opt_t *opt = target; local
248 dns_rdata_opt_t *opt = source; local
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Ddst_parse.c300 unsigned int opt = ISC_LEXOPT_EOL; local
308 #define NEXTTOKEN(lex, opt, token) \
310 ret = isc_lex_gettoken(lex, opt, token); \
315 #define READLINE(lex, opt, token) \
317 ret = isc_lex_gettoken(lex, opt, token); \
327 NEXTTOKEN(lex, opt, &token);
335 NEXTTOKEN(lex, opt, &token);
355 READLINE(lex, opt, &token);
360 NEXTTOKEN(lex, opt, &token);
368 NEXTTOKEN(lex, opt | ISC_LEXOPT_NUMBE
[all...]
H A Ddst_api.c1003 unsigned int opt = ISC_LEXOPT_DNSMULTILINE; local
1032 #define NEXTTOKEN(lex, opt, token) { \
1033 ret = isc_lex_gettoken(lex, opt, token); \
1044 NEXTTOKEN(lex, opt, &token);
1063 NEXTTOKEN(lex, opt, &token);
1071 NEXTTOKEN(lex, opt, &token);
1078 NEXTTOKEN(lex, opt, &token);
H A Dmessage.c393 m->opt = NULL;
478 if (msg->opt != NULL) {
483 INSIST(dns_rdataset_isassociated(msg->opt));
484 dns_rdataset_disassociate(msg->opt);
485 isc_mempool_put(msg->rdspool, msg->opt);
486 msg->opt = NULL;
1281 msg->opt != NULL)
1509 * the extended rcode. Note that msg->opt will only be set
1512 if (rdtype == dns_rdatatype_opt && msg->opt == NULL) {
1515 msg->opt
2551 dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt) argument
[all...]
H A Dresolver.c6337 log_nsid(isc_buffer_t *opt, size_t nsid_len, resquery_t *query, argument
6353 nsid = isc_buffer_current(opt);
6410 process_opt(resquery_t *query, dns_rdataset_t *opt) { argument
6417 result = dns_rdataset_first(opt);
6420 dns_rdataset_current(opt, &rdata);
6452 dns_rdataset_t *opt; local
6634 * Process receive opt record.
6636 opt = dns_message_getopt(message);
6637 if (opt != NULL)
6638 process_opt(query, opt);
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dapplication.cpp177 const option& opt = (*iter); local
179 optstr += opt.m_character;
180 if (!opt.m_argument.empty())
235 const option& opt = (*iter); local
237 if (opt.m_argument.length() + 1 > coldesc)
238 coldesc = opt.m_argument.length() + 1;
242 const option& opt = (*iter); local
244 std::string tag = std::string(" -") + opt.m_character;
245 if (opt.m_argument.empty())
248 tag += " " + opt
[all...]
/bind-9.6-ESV-R11/bin/named/include/named/
H A Dclient.h123 dns_rdataset_t * opt; member in struct:ns_client
/bind-9.6-ESV-R11/bin/dig/
H A Dhost.c421 dns_rdataset_t *opt, *tsig = NULL; local
540 opt = dns_message_getopt(msg);
541 if (opt != NULL)
543 (unsigned int)((opt->ttl & 0x00ff0000) >> 16),
544 (unsigned int)opt->rdclass);
H A Dnslookup.c593 setoption(char *opt) { argument
594 if (strncasecmp(opt, "all", 4) == 0) {
596 } else if (strncasecmp(opt, "class=", 6) == 0) {
597 if (testclass(&opt[6]))
598 strlcpy(defclass, &opt[6], sizeof(defclass));
599 } else if (strncasecmp(opt, "cl=", 3) == 0) {
600 if (testclass(&opt[3]))
601 strlcpy(defclass, &opt[3], sizeof(defclass));
602 } else if (strncasecmp(opt, "type=", 5) == 0) {
603 if (testtype(&opt[
680 addlookup(char *opt) argument
[all...]
H A Ddig.c134 "Usage: dig [@global-server] [domain] [q-type] [q-class] {q-opt}\n"
135 " {global-d-opt} host [@local-server] {local-d-opt}\n"
136 " [ host [@local-server] {local-d-opt} [...]]\n", fp);
165 " q-opt is one of:\n"
179 " d-opt is of the form +keyword[=value], where keyword is:\n"
529 query->lookup->edns != -1 && msg->opt == NULL &&
1135 char opt, *value, *ptr, *ptr2, *ptr3; local
1151 * if they appear as the first character(s) of a q-opt.
1153 opt
[all...]
H A Ddighost.c626 set_nameserver(char *opt) { argument
634 if (opt == NULL)
637 result = bind9_getaddresses(opt, 0, sockaddrs,
641 opt, isc_result_totext(result));
648 srv = make_server(tmp, opt);
/bind-9.6-ESV-R11/contrib/dlz/bin/dlzbdb/
H A Ddlzbdb.c535 unsigned int opt = local
556 result = isc_lex_gettoken(lexer, opt, &token);
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dmessage.h108 #define DNS_OPT_NSID 0x0003 /*%< NSID opt code */
109 #define DNS_OPT_CLIENT_SUBNET 0x0008 /*%< client subnet opt code */
197 dns_rdataset_t *opt; member in struct:dns_message
407 * OPT records are detected and stored in the pseudo-section "opt".
1029 dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt);
1038 *\li 'opt' is a valid OPT record.
1349 dns_message_buildopt(dns_message_t *msg, dns_rdataset_t **opt,
1353 * Built a opt record.
1357 * \li opt to be a non NULL and *opt t
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dclient.c497 if (client->opt != NULL) {
498 INSIST(dns_rdataset_isassociated(client->opt));
499 dns_rdataset_disassociate(client->opt);
500 dns_message_puttemprdataset(client->message, &client->opt);
630 if (client->opt != NULL) {
631 INSIST(dns_rdataset_isassociated(client->opt));
632 dns_rdataset_disassociate(client->opt);
633 dns_message_puttemprdataset(client->message, &client->opt);
964 if (client->opt != NULL) {
965 result = dns_message_setopt(client->message, client->opt);
1298 process_opt(ns_client_t *client, dns_rdataset_t *opt) argument
1387 dns_rdataset_t *opt; local
[all...]

Completed in 85 milliseconds