Lines Matching defs:RETERR

48 #define RETERR(x) do { \
167 RETERR(dns_message_gettemprdata(msg, &newrdata));
170 RETERR(isc_buffer_allocate(msg->mctx, &tmprdatabuf, r.length));
176 RETERR(dns_message_gettempname(msg, &newname));
178 RETERR(dns_name_dup(name, msg->mctx, newname));
180 RETERR(dns_message_gettemprdatalist(msg, &newlist));
186 RETERR(dns_message_gettemprdataset(msg, &newset));
187 RETERR(dns_rdatalist_tordataset(newlist, newset));
382 RETERR(add_rdata_to_list(msg, keyname, &keyrdata, ttl, namelist));
385 RETERR(dst_key_todns(tctx->dhkey, &ourkeybuf));
396 RETERR(add_rdata_to_list(msg, &ourname, &ourkeyrdata, 0, namelist));
398 RETERR(dst_key_secretsize(tctx->dhkey, &sharedsize));
399 RETERR(isc_buffer_allocate(msg->mctx, &shared, sharedsize));
427 RETERR(compute_secret(shared, &r2, &r, &secret));
430 RETERR(dns_tsigkey_create(name, &tkeyin->algorithm,
536 RETERR(dst_key_fromgssapi(name, gss_ctx, ring->mctx,
548 RETERR(dns_tsigkey_createfromkey(name, &tkeyin->algorithm,
703 RETERR(dns_rdata_tostruct(&rdata, &tkeyin, NULL));
824 RETERR(process_dhtkey(msg, signer, keyname, &tkeyin,
830 RETERR(process_gsstkey(keyname, &tkeyin, tctx,
835 RETERR(process_deletetkey(signer, keyname, &tkeyin,
865 RETERR(add_rdata_to_list(msg, keyname, &rdata, 0, &namelist));
867 RETERR(dns_message_reply(msg, ISC_TRUE));
903 RETERR(dns_message_gettempname(msg, &qname));
904 RETERR(dns_message_gettempname(msg, &aname));
906 RETERR(dns_message_gettemprdataset(msg, &question));
911 RETERR(isc_buffer_allocate(msg->mctx, &dynbuf, len));
912 RETERR(isc_buffer_allocate(msg->mctx, &anamebuf, name->length));
913 RETERR(isc_buffer_allocate(msg->mctx, &qnamebuf, name->length));
914 RETERR(dns_message_gettemprdata(msg, &rdata));
916 RETERR(dns_rdata_fromstruct(rdata, dns_rdataclass_any,
920 RETERR(dns_message_gettemprdatalist(msg, &tkeylist));
925 RETERR(dns_message_gettemprdataset(msg, &tkeyset));
926 RETERR(dns_rdatalist_tordataset(tkeylist, tkeyset));
929 RETERR(dns_name_copy(name, qname, qnamebuf));
932 RETERR(dns_name_copy(name, aname, anamebuf));
1013 RETERR(buildquery(msg, name, &tkey, ISC_FALSE));
1015 RETERR(dns_message_gettemprdata(msg, &rdata));
1016 RETERR(isc_buffer_allocate(msg->mctx, &dynbuf, 1024));
1017 RETERR(dst_key_todns(key, dynbuf));
1027 RETERR(add_rdata_to_list(msg, &keyname, rdata, 0, &namelist));
1173 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1174 RETERR(dns_rdata_tostruct(&rtkeyrdata, &rtkey, NULL));
1177 RETERR(find_tkey(qmsg, &tempname, &qtkeyrdata,
1179 RETERR(dns_rdata_tostruct(&qtkeyrdata, &qtkey, NULL));
1200 RETERR(dns_message_findname(rmsg, DNS_SECTION_ANSWER, &keyname,
1215 RETERR(dns_rdataset_first(theirkeyset));
1230 RETERR(dns_dnssec_keyfromrdata(theirkeyname, &theirkeyrdata,
1233 RETERR(dst_key_secretsize(key, &sharedsize));
1234 RETERR(isc_buffer_allocate(rmsg->mctx, &shared, sharedsize));
1236 RETERR(dst_key_computesecret(theirkey, key, shared));
1248 RETERR(compute_secret(shared, &r2, &r, &secret));
1297 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1298 RETERR(dns_rdata_tostruct(&rtkeyrdata, &rtkey, NULL));
1313 RETERR(dns_rdata_tostruct(&qtkeyrdata, &qtkey, NULL));
1328 RETERR(dst_gssapi_initctx(gname, &intoken, outtoken, context,
1331 RETERR(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx,
1334 RETERR(dns_tsigkey_createfromkey(tkeyname, DNS_TSIG_GSSAPI_NAME,
1367 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1368 RETERR(dns_rdata_tostruct(&rtkeyrdata, &rtkey, NULL));
1370 RETERR(find_tkey(qmsg, &tempname, &qtkeyrdata,
1372 RETERR(dns_rdata_tostruct(&qtkeyrdata, &qtkey, NULL));
1389 RETERR(dns_tsigkey_find(&tsigkey, tkeyname, &rtkey.algorithm, ring));
1430 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1431 RETERR(dns_rdata_tostruct(&rtkeyrdata, &rtkey, NULL));
1435 RETERR(find_tkey(qmsg, &tkeyname, &qtkeyrdata,
1438 RETERR(find_tkey(qmsg, &tkeyname, &qtkeyrdata,
1441 RETERR(dns_rdata_tostruct(&qtkeyrdata, &qtkey, NULL));
1489 RETERR(buildquery(qmsg, tkeyname, &tkey, win2k));
1493 RETERR(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx,
1502 RETERR(dns_tsigkey_createfromkey(tkeyname,