Lines Matching defs:target
822 findname(dns_name_t **foundname, dns_name_t *target,
830 if (dns_name_equal(curr, target)) {
2024 dns_message_renderheader(dns_message_t *msg, isc_buffer_t *target) {
2029 REQUIRE(target != NULL);
2031 isc_buffer_availableregion(target, &r);
2034 isc_buffer_putuint16(target, msg->id);
2046 isc_buffer_putuint16(target, tmp);
2047 isc_buffer_putuint16(target,
2049 isc_buffer_putuint16(target,
2051 isc_buffer_putuint16(target,
2053 isc_buffer_putuint16(target,
2254 dns_name_t *target, dns_rdatatype_t type,
2269 REQUIRE(target != NULL);
2279 result = findname(&foundname, target,
3077 isc_buffer_t *target) {
3083 REQUIRE(target != NULL);
3090 ADD_STRING(target, ";; ");
3092 ADD_STRING(target, sectiontext[section]);
3094 ADD_STRING(target, updsectiontext[section]);
3096 ADD_STRING(target, " SECTION:\n");
3111 ADD_STRING(target, ";");
3115 target);
3120 target);
3129 ADD_STRING(target, "\n");
3140 isc_buffer_t *target) {
3152 REQUIRE(target != NULL);
3161 ADD_STRING(target, ";; OPT PSEUDOSECTION:\n");
3162 ADD_STRING(target, "; EDNS: version: ");
3165 ADD_STRING(target, buf);
3166 ADD_STRING(target, ", flags:");
3168 ADD_STRING(target, " do");
3172 ADD_STRING(target, "; MBZ: ");
3174 ADD_STRING(target, buf);
3175 ADD_STRING(target, ", udp: ");
3177 ADD_STRING(target, "; udp: ");
3179 ADD_STRING(target, buf);
3198 ADD_STRING(target, "; NSID");
3200 ADD_STRING(target, "; OPT=");
3202 ADD_STRING(target, buf);
3207 ADD_STRING(target, ": ");
3212 ADD_STRING(target, buf);
3215 ADD_STRING(target, " (");
3217 isc_buffer_putmem(target,
3221 isc_buffer_putstr(target, ".");
3222 ADD_STRING(target, ")");
3226 ADD_STRING(target, "\n");
3234 ADD_STRING(target, ";; TSIG PSEUDOSECTION:\n");
3235 result = dns_master_rdatasettotext(name, ps, style, target);
3238 ADD_STRING(target, "\n");
3245 ADD_STRING(target, ";; SIG0 PSEUDOSECTION:\n");
3246 result = dns_master_rdatasettotext(name, ps, style, target);
3249 ADD_STRING(target, "\n");
3257 dns_messagetextflag_t flags, isc_buffer_t *target) {
3262 REQUIRE(target != NULL);
3265 ADD_STRING(target, ";; ->>HEADER<<- opcode: ");
3266 ADD_STRING(target, opcodetext[msg->opcode]);
3267 ADD_STRING(target, ", status: ");
3269 ADD_STRING(target, rcodetext[msg->rcode]);
3272 ADD_STRING(target, buf);
3274 ADD_STRING(target, ", id: ");
3276 ADD_STRING(target, buf);
3277 ADD_STRING(target, "\n;; flags:");
3279 ADD_STRING(target, " qr");
3281 ADD_STRING(target, " aa");
3283 ADD_STRING(target, " tc");
3285 ADD_STRING(target, " rd");
3287 ADD_STRING(target, " ra");
3289 ADD_STRING(target, " ad");
3291 ADD_STRING(target, " cd");
3296 ADD_STRING(target, "; MBZ: 0x4");
3298 ADD_STRING(target, "; QUESTION: ");
3300 ADD_STRING(target, "; ZONE: ");
3304 ADD_STRING(target, buf);
3306 ADD_STRING(target, ", ANSWER: ");
3308 ADD_STRING(target, ", PREREQ: ");
3312 ADD_STRING(target, buf);
3314 ADD_STRING(target, ", AUTHORITY: ");
3316 ADD_STRING(target, ", UPDATE: ");
3320 ADD_STRING(target, buf);
3321 ADD_STRING(target, ", ADDITIONAL: ");
3324 ADD_STRING(target, buf);
3325 ADD_STRING(target, "\n");
3329 style, flags, target);
3334 style, flags, target);
3338 style, flags, target);
3342 style, flags, target);
3346 style, flags, target);
3352 style, flags, target);
3358 style, flags, target);
3393 dns_opcode_totext(dns_opcode_t opcode, isc_buffer_t *target) {
3397 if (isc_buffer_availablelength(target) < strlen(opcodetext[opcode]))
3399 isc_buffer_putstr(target, opcodetext[opcode]);