Lines Matching refs:rdb
945 static void ParseDNSSECRecords(uint16_t rrtype, char *rdb, size_t rdb_size, unsigned const char *rd… in ParseDNSSECRecords() argument
947 char *p = rdb; in ParseDNSSECRecords()
955 p += snprintf_safe(p, rdb + rdb_size - p, "%d %d %d ", in ParseDNSSECRecords()
959 p += snprintf_safe(p, rdb + rdb_size - p, "%x", ptr[i]); in ParseDNSSECRecords()
966 … p += snprintf_safe(p, rdb + rdb_size - p, "%d %d %d %u ", swap16(rrkey->flags), rrkey->proto, in ParseDNSSECRecords()
968 …base64Encode(p, rdb + rdb_size - p, (unsigned char *)(rd + DNSKEY_FIXED_SIZE), rdlen - DNSKEY_FIXE… in ParseDNSSECRecords()
981 p += snprintd(p, rdb + rdb_size - p, &rd); in ParseDNSSECRecords()
1014 p += snprintf_safe(p, rdb + rdb_size - p, " %s ", DNSTypeName(type + i)); in ParseDNSSECRecords()
1039 p += snprintf_safe(p, rdb + rdb_size - p, " %-7s %d %d %d %s %s %7d ", in ParseDNSSECRecords()
1045 p += snprintd(p, rdb + rdb_size - p, &q); in ParseDNSSECRecords()
1048 if ((&rdb[rdb_size] - p) >= 2) in ParseDNSSECRecords()
1053 …base64Encode(p, rdb + rdb_size - p, (unsigned char *)(rd + len + RRSIG_FIXED_SIZE), rdlen - (len +… in ParseDNSSECRecords()
1066 char rdb[1000] = "0.0.0.0", *p = rdb; in qr_reply() local
1107 snprintf_safe(rdb, sizeof(rdb), "%d.%d.%d.%d", rd[0], rd[1], rd[2], rd[3]); in qr_reply()
1114 snprintd(p, sizeof(rdb), &rd); in qr_reply()
1118 p += snprintd(p, rdb + sizeof(rdb) - p, &rd); // mname in qr_reply()
1119 p += snprintf_safe(p, rdb + sizeof(rdb) - p, " "); in qr_reply()
1120 p += snprintd(p, rdb + sizeof(rdb) - p, &rd); // rname in qr_reply()
1121 snprintf(p, rdb + sizeof(rdb) - p, " Ser %d Ref %d Ret %d Exp %d Min %d", in qr_reply()
1126 …snprintf(rdb, sizeof(rdb), "%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02… in qr_reply()
1132 … p += snprintf_safe(p, rdb + sizeof(rdb) - p, "%d %d %d ", // priority, weight, port in qr_reply()
1135 snprintd(p, rdb + sizeof(rdb) - p, &rd); // target host in qr_reply()
1142 ParseDNSSECRecords(rrtype, rdb, sizeof(rdb), rd, rdlen); in qr_reply()
1146 snprintf(rdb, sizeof(rdb), "%d bytes%s", rdlen, rdlen ? ":" : ""); in qr_reply()
1164 … op, flags, ifIndex, fullname, rr_type, rr_class, enabled_dnssec_before ? dnssec_status : "", rdb); in qr_reply()