Lines Matching defs:querytsig
439 m->querytsig = NULL;
500 INSIST(msg->querytsig == NULL);
501 msg->querytsig = msg->tsig;
505 if (msg->querytsig != NULL) {
506 dns_rdataset_disassociate(msg->querytsig);
507 isc_mempool_put(msg->rdspool, msg->querytsig);
515 } else if (msg->querytsig != NULL && !replying) {
516 dns_rdataset_disassociate(msg->querytsig);
517 isc_mempool_put(msg->rdspool, msg->querytsig);
518 msg->querytsig = NULL;
2664 dns_message_setquerytsig(dns_message_t *msg, isc_buffer_t *querytsig) {
2673 REQUIRE(msg->querytsig == NULL);
2675 if (querytsig == NULL)
2689 isc_buffer_usedregion(querytsig, &r);
2704 msg->querytsig = set;
2720 isc_buffer_t **querytsig) {
2727 REQUIRE(querytsig != NULL && *querytsig == NULL);
2738 result = isc_buffer_allocate(mctx, querytsig, r.length);
2741 isc_buffer_putmem(*querytsig, r.base, r.length);
2947 dns_rdata_any_tsig_t querytsig;
2954 result = dns_rdata_tostruct(&querytsigrdata, &querytsig, NULL);
2956 hexdump(txt1, "TSIG", querytsig.signature,
2957 querytsig.siglen);
2960 if (msg->querytsig != NULL) {
2961 result = dns_rdataset_first(msg->querytsig);
2963 dns_rdataset_current(msg->querytsig, &querytsigrdata);
2964 result = dns_rdata_tostruct(&querytsigrdata, &querytsig, NULL);
2966 hexdump(txt1, "QUERYTSIG", querytsig.signature,
2967 querytsig.siglen);