Searched defs:tsig (Results 1 - 11 of 11) sorted by relevance

/bind-9.6-ESV-R11/bin/tests/
H A Dprintmsg.c167 dns_rdataset_t *opt, *tsig; local
202 tsig = dns_message_gettsig(msg, &tsigname);
203 if (tsig != NULL)
230 if (tsig != NULL) {
232 result = printrdata(msg, tsig, tsigname,
H A Drdata_test.c261 static dns_rdata_any_tsig_t tsig; local
262 result = dns_rdata_tostruct(rdata, sp = &tsig, NULL);
528 static dns_rdata_any_tsig_t tsig; local
529 result = dns_rdata_tostruct(rdata, sp = &tsig, mctx);
825 dns_rdata_any_tsig_t tsig;
826 result = dns_rdata_fromstruct(rdata2, rdc, rdt, &tsig, b);
/bind-9.6-ESV-R11/lib/dns/rdata/any_255/
H A Dtsig_250.c355 dns_rdata_any_tsig_t *tsig = source; local
361 REQUIRE(tsig->common.rdclass == rdclass);
362 REQUIRE(tsig->common.rdtype == type);
370 RETERR(name_tobuffer(&tsig->algorithm, target));
379 RETERR(uint16_tobuffer((isc_uint16_t)(tsig->timesigned >> 32),
381 RETERR(uint32_tobuffer((isc_uint32_t)(tsig->timesigned & 0xffffffffU),
387 RETERR(uint16_tobuffer(tsig->fudge, target));
392 RETERR(uint16_tobuffer(tsig->siglen, target));
397 RETERR(mem_tobuffer(target, tsig->signature, tsig
426 dns_rdata_any_tsig_t *tsig; local
523 dns_rdata_any_tsig_t *tsig = (dns_rdata_any_tsig_t *) source; local
[all...]
/bind-9.6-ESV-R11/bin/dig/
H A Dhost.c421 dns_rdataset_t *opt, *tsig = NULL; local
546 tsig = dns_message_gettsig(msg, &tsigname);
547 if (tsig != NULL)
583 if ((tsig != NULL) && !short_form) {
585 result = printrdata(msg, tsig, tsigname,
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dmessage.h199 dns_rdataset_t *tsig; member in struct:dns_message
408 * TSIGs are detected and stored in the pseudo-section "tsig".
1077 * Set the tsig key for 'msg'. This is only necessary for when rendering a
1086 *\li 'key' is a valid tsig key or NULL.
1098 * Gets the tsig key for 'msg'.
1129 * Gets the tsig from the TSIG from the signed query 'msg'. This is also used
1145 *\li 'tsig' points to NULL or an allocated buffer which must be freed
/bind-9.6-ESV-R11/lib/dns/
H A Drequest.c40 #include <dns/tsig.h>
86 isc_buffer_t *tsig; member in struct:dns_request
471 request->tsig = NULL;
982 result = dns_message_getquerytsig(message, mctx, &request->tsig);
1183 result = dns_message_setquerytsig(message, request->tsig);
1437 if (request->tsig != NULL)
1438 isc_buffer_free(&request->tsig);
H A Dtsig.c44 #include <dns/tsig.h>
82 static unsigned char gsstsig_ndata[] = "\010gss-tsig";
240 level, "tsig key '%s' (%s): %s",
245 level, "tsig key '%s': %s", namestr, message);
499 tsig_log(tkey, 2, "tsig expire: deleting");
683 dns_rdata_any_tsig_t tsig, querytsig; local
704 * If this is a response, there should be a query tsig.
714 tsig.mctx = mctx;
715 tsig.common.rdclass = dns_rdataclass_any;
716 tsig
974 dns_rdata_any_tsig_t tsig, querytsig; local
1292 dns_rdata_any_tsig_t tsig, querytsig; local
[all...]
H A Dmessage.c46 #include <dns/tsig.h>
396 m->tsig = NULL;
496 if (msg->tsig != NULL) {
497 INSIST(dns_rdataset_isassociated(msg->tsig));
501 msg->querytsig = msg->tsig;
503 dns_rdataset_disassociate(msg->tsig);
504 isc_mempool_put(msg->rdspool, msg->tsig);
513 msg->tsig = NULL;
1264 * If it is a tsig, verify that it is in the
1528 * that msg->sig0 or msg->tsig wil
2885 dns_rdata_any_tsig_t tsig; local
[all...]
H A Dresolver.c62 #include <dns/tsig.h>
141 isc_buffer_t *tsig; member in struct:query
917 if (query->tsig != NULL)
918 isc_buffer_free(&query->tsig);
1475 query->tsig = NULL;
1904 &query->tsig);
6549 if (query->tsig != NULL) {
6550 result = dns_message_setquerytsig(message, query->tsig);
/bind-9.6-ESV-R11/bin/named/
H A Dclient.c46 #include <dns/tsig.h>
1248 dns_name_t *tsig = NULL; local
1287 tsig = dns_tsigkey_identity(mykey);
1290 if (allowed(&netsrc, tsig, view->matchclients) &&
1291 allowed(&netdst, tsig, view->matchdestinations))
1675 dns_name_t *tsig = NULL; local
1680 tsig = dns_tsigkey_identity(client->message->tsigkey);
1682 if (allowed(&netaddr, tsig, view->matchclients) &&
1683 allowed(&destaddr, tsig, view->matchdestinations) &&
/bind-9.6-ESV-R11/bin/nsupdate/
H A Dnsupdate.c72 #include <dns/tsig.h>
1924 dns_rdata_any_tsig_t tsig; local
1929 result = dns_rdata_tostruct(&rdata, &tsig, NULL);
1931 if (tsig.error != 0) {
1935 result = dns_tsigrcode_totext(tsig.error, b);
1980 ddebug("tsig verification successful");
2059 /* Windows doesn't like the tsig name to be compressed. */
2603 ddebug("tsig verification: %s", dns_result_totext(result));

Completed in 4993 milliseconds