Home
last modified time | relevance | path

Searched refs:RETERR (Results 1 – 25 of 60) sorted by relevance

123

/openbsd/src/usr.bin/dig/lib/dns/rdata/generic/
Dkeydata_65533.c63 RETERR(dns_time32_totext(refresh, target)); in totext_keydata()
64 RETERR(isc_str_tobuffer(" ", target)); in totext_keydata()
69 RETERR(dns_time32_totext(add, target)); in totext_keydata()
70 RETERR(isc_str_tobuffer(" ", target)); in totext_keydata()
75 RETERR(dns_time32_totext(deltime, target)); in totext_keydata()
76 RETERR(isc_str_tobuffer(" ", target)); in totext_keydata()
82 RETERR(isc_str_tobuffer(buf, target)); in totext_keydata()
83 RETERR(isc_str_tobuffer(" ", target)); in totext_keydata()
95 RETERR(isc_str_tobuffer(buf, target)); in totext_keydata()
96 RETERR(isc_str_tobuffer(" ", target)); in totext_keydata()
[all …]
Drrsig_46.c48 RETERR(dns_rdatatype_totext(covered, target)); in totext_rrsig()
49 RETERR(isc_str_tobuffer(" ", target)); in totext_rrsig()
56 RETERR(isc_str_tobuffer(buf, target)); in totext_rrsig()
57 RETERR(isc_str_tobuffer(" ", target)); in totext_rrsig()
64 RETERR(isc_str_tobuffer(buf, target)); in totext_rrsig()
65 RETERR(isc_str_tobuffer(" ", target)); in totext_rrsig()
73 RETERR(isc_str_tobuffer(buf, target)); in totext_rrsig()
76 RETERR(isc_str_tobuffer(" (", target)); in totext_rrsig()
77 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_rrsig()
84 RETERR(dns_time32_totext(exp, target)); in totext_rrsig()
[all …]
Dsig_24.c50 RETERR(dns_rdatatype_totext(covered, target)); in totext_sig()
51 RETERR(isc_str_tobuffer(" ", target)); in totext_sig()
58 RETERR(isc_str_tobuffer(buf, target)); in totext_sig()
59 RETERR(isc_str_tobuffer(" ", target)); in totext_sig()
66 RETERR(isc_str_tobuffer(buf, target)); in totext_sig()
67 RETERR(isc_str_tobuffer(" ", target)); in totext_sig()
75 RETERR(isc_str_tobuffer(buf, target)); in totext_sig()
76 RETERR(isc_str_tobuffer(" ", target)); in totext_sig()
83 RETERR(dns_time32_totext(exp, target)); in totext_sig()
86 RETERR(isc_str_tobuffer(" (", target)); in totext_sig()
[all …]
Dtkey_249.c49 RETERR(dns_name_totext(&prefix, sub, target)); in totext_tkey()
50 RETERR(isc_str_tobuffer(" ", target)); in totext_tkey()
59 RETERR(isc_str_tobuffer(buf, target)); in totext_tkey()
67 RETERR(isc_str_tobuffer(buf, target)); in totext_tkey()
75 RETERR(isc_str_tobuffer(buf, target)); in totext_tkey()
83 RETERR(isc_str_tobuffer(" ", target)); in totext_tkey()
86 RETERR(isc_str_tobuffer(buf, target)); in totext_tkey()
95 RETERR(isc_str_tobuffer(buf, target)); in totext_tkey()
104 RETERR(isc_str_tobuffer(" (", target)); in totext_tkey()
105 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_tkey()
[all …]
Dkey_25.c48 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_key()
49 RETERR(isc_str_tobuffer(" ", target)); in generic_totext_key()
61 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_key()
62 RETERR(isc_str_tobuffer(" ", target)); in generic_totext_key()
68 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_key()
87 RETERR(isc_str_tobuffer(" (", target)); in generic_totext_key()
88 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in generic_totext_key()
92 RETERR(isc_base64_totext(&sr, 60, "", target)); in generic_totext_key()
94 RETERR(isc_base64_totext(&sr, tctx->width - 2, in generic_totext_key()
100 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_key()
[all …]
Dnaptr_35.c143 RETERR(isc_str_tobuffer(buf, target)); in totext_naptr()
144 RETERR(isc_str_tobuffer(" ", target)); in totext_naptr()
152 RETERR(isc_str_tobuffer(buf, target)); in totext_naptr()
153 RETERR(isc_str_tobuffer(" ", target)); in totext_naptr()
158 RETERR(txt_totext(&region, 1, target)); in totext_naptr()
159 RETERR(isc_str_tobuffer(" ", target)); in totext_naptr()
164 RETERR(txt_totext(&region, 1, target)); in totext_naptr()
165 RETERR(isc_str_tobuffer(" ", target)); in totext_naptr()
170 RETERR(txt_totext(&region, 1, target)); in totext_naptr()
171 RETERR(isc_str_tobuffer(" ", target)); in totext_naptr()
[all …]
Dsoa_6.c61 RETERR(dns_name_totext(&prefix, sub, target)); in totext_soa()
63 RETERR(isc_str_tobuffer(" ", target)); in totext_soa()
66 RETERR(dns_name_totext(&prefix, sub, target)); in totext_soa()
69 RETERR(isc_str_tobuffer(" (" , target)); in totext_soa()
70 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_soa()
78 RETERR(isc_str_tobuffer(buf, target)); in totext_soa()
80 RETERR(isc_str_tobuffer(soa_fieldnames[i], target)); in totext_soa()
83 RETERR(isc_str_tobuffer(" (", target)); in totext_soa()
84 RETERR(dns_ttl_totext(num, 1, target)); in totext_soa()
85 RETERR(isc_str_tobuffer(")", target)); in totext_soa()
[all …]
Dipseckey_45.c41 RETERR(isc_str_tobuffer("( ", target)); in totext_ipseckey()
50 RETERR(isc_str_tobuffer(buf, target)); in totext_ipseckey()
58 RETERR(isc_str_tobuffer(buf, target)); in totext_ipseckey()
66 RETERR(isc_str_tobuffer(buf, target)); in totext_ipseckey()
73 RETERR(isc_str_tobuffer(".", target)); in totext_ipseckey()
77 RETERR(inet_totext(AF_INET, &region, target)); in totext_ipseckey()
82 RETERR(inet_totext(AF_INET6, &region, target)); in totext_ipseckey()
88 RETERR(dns_name_totext(&name, 0, target)); in totext_ipseckey()
97 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_ipseckey()
99 RETERR(isc_base64_totext(&region, 60, "", target)); in totext_ipseckey()
[all …]
Dnsec3_50.c60 RETERR(isc_str_tobuffer(buf, target)); in totext_nsec3()
66 RETERR(isc_str_tobuffer(buf, target)); in totext_nsec3()
72 RETERR(isc_str_tobuffer(buf, target)); in totext_nsec3()
82 RETERR(isc_hex_totext(&sr, 1, "", target)); in totext_nsec3()
85 RETERR(isc_str_tobuffer("-", target)); in totext_nsec3()
88 RETERR(isc_str_tobuffer(" (", target)); in totext_nsec3()
89 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_nsec3()
98 RETERR(isc_base32hexnp_totext(&sr, 1, "", target)); in totext_nsec3()
105 RETERR(isc_str_tobuffer(" ", target)); in totext_nsec3()
107 RETERR(typemap_totext(&sr, tctx, target)); in totext_nsec3()
[all …]
Dhip_55.c49 RETERR(isc_str_tobuffer("( ", target)); in totext_hip()
55 RETERR(isc_str_tobuffer(buf, target)); in totext_hip()
63 RETERR(isc_hex_totext(&region, 1, "", target)); in totext_hip()
65 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_hip()
73 RETERR(isc_base64_totext(&region, 1, "", target)); in totext_hip()
75 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_hip()
84 RETERR(dns_name_totext(&name, 0, target)); in totext_hip()
87 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_hip()
90 RETERR(isc_str_tobuffer(" )", target)); in totext_hip()
122 RETERR(isc_mem_tobuffer(target, rr.base, 4 + hit_len + key_len)); in fromwire_hip()
[all …]
Dcert_37.c44 RETERR(dns_cert_totext((dns_cert_t)n, target)); in totext_cert()
45 RETERR(isc_str_tobuffer(" ", target)); in totext_cert()
53 RETERR(isc_str_tobuffer(buf, target)); in totext_cert()
58 RETERR(dns_secalg_totext(sr.base[0], target)); in totext_cert()
65 RETERR(isc_str_tobuffer(" (", target)); in totext_cert()
66 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_cert()
68 RETERR(isc_base64_totext(&sr, 60, "", target)); in totext_cert()
70 RETERR(isc_base64_totext(&sr, tctx->width - 2, in totext_cert()
73 RETERR(isc_str_tobuffer(" )", target)); in totext_cert()
Dzonemd_63.c41 RETERR(isc_str_tobuffer(buf, target)); in totext_zonemd()
47 RETERR(isc_str_tobuffer(buf, target)); in totext_zonemd()
53 RETERR(isc_str_tobuffer(buf, target)); in totext_zonemd()
57 RETERR(isc_str_tobuffer(" (", target)); in totext_zonemd()
58 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_zonemd()
61 RETERR(isc_hex_totext(&sr, 0, "", target)); in totext_zonemd()
63 RETERR(isc_hex_totext(&sr, tctx->width - 2, in totext_zonemd()
66 RETERR(isc_str_tobuffer("[omitted]", target)); in totext_zonemd()
68 RETERR(isc_str_tobuffer(" )", target)); in totext_zonemd()
Dds_43.c47 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_ds()
55 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_ds()
63 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_ds()
69 RETERR(isc_str_tobuffer(" (", target)); in generic_totext_ds()
70 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in generic_totext_ds()
73 RETERR(isc_hex_totext(&sr, 0, "", target)); in generic_totext_ds()
75 RETERR(isc_hex_totext(&sr, tctx->width - 2, in generic_totext_ds()
78 RETERR(isc_str_tobuffer("[omitted]", target)); in generic_totext_ds()
80 RETERR(isc_str_tobuffer(" )", target)); in generic_totext_ds()
Dtlsa_52.c40 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_tlsa()
48 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_tlsa()
56 RETERR(isc_str_tobuffer(buf, target)); in generic_totext_tlsa()
62 RETERR(isc_str_tobuffer(" (", target)); in generic_totext_tlsa()
63 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in generic_totext_tlsa()
65 RETERR(isc_hex_totext(&sr, 0, "", target)); in generic_totext_tlsa()
67 RETERR(isc_hex_totext(&sr, tctx->width - 2, in generic_totext_tlsa()
70 RETERR(isc_str_tobuffer(" )", target)); in generic_totext_tlsa()
Dcsync_62.c38 RETERR(isc_str_tobuffer(buf, target)); in totext_csync()
40 RETERR(isc_str_tobuffer(" ", target)); in totext_csync()
45 RETERR(isc_str_tobuffer(buf, target)); in totext_csync()
51 RETERR(isc_str_tobuffer(" ", target)); in totext_csync()
74 RETERR(isc_mem_tobuffer(target, sr.base, 6)); in fromwire_csync()
78 RETERR(typemap_test(&sr, 1)); in fromwire_csync()
80 RETERR(isc_mem_tobuffer(target, sr.base, sr.length)); in fromwire_csync()
Dsink_40.c41 RETERR(isc_str_tobuffer(buf, target)); in totext_sink()
48 RETERR(isc_str_tobuffer(" (", target)); in totext_sink()
50 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_sink()
53 RETERR(isc_base64_totext(&sr, 60, "", target)); in totext_sink()
55 RETERR(isc_base64_totext(&sr, tctx->width - 2, in totext_sink()
59 RETERR(isc_str_tobuffer(" )", target)); in totext_sink()
79 RETERR(isc_mem_tobuffer(target, sr.base, sr.length)); in fromwire_sink()
Dsshfp_44.c43 RETERR(isc_str_tobuffer(buf, target)); in totext_sshfp()
51 RETERR(isc_str_tobuffer(buf, target)); in totext_sshfp()
57 RETERR(isc_str_tobuffer(" (", target)); in totext_sshfp()
58 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_sshfp()
60 RETERR(isc_hex_totext(&sr, 0, "", target)); in totext_sshfp()
62 RETERR(isc_hex_totext(&sr, tctx->width - 2, in totext_sshfp()
65 RETERR(isc_str_tobuffer(" )", target)); in totext_sshfp()
Dnsec_47.c45 RETERR(dns_name_totext(&name, 0, target)); in totext_nsec()
50 RETERR(isc_str_tobuffer(" ", target)); in totext_nsec()
68 RETERR(dns_name_fromwire(&name, source, dctx, options, target)); in fromwire_nsec()
71 RETERR(typemap_test(&sr, 0)); in fromwire_nsec()
72 RETERR(isc_mem_tobuffer(target, sr.base, sr.length)); in fromwire_nsec()
91 RETERR(dns_name_towire(&name, cctx, target)); in towire_nsec()
/openbsd/src/usr.bin/dig/lib/dns/rdata/in_1/
Dsvcb_64.c81 RETERR(isc_str_tobuffer(buf, target)); in totext_in_svcb_https()
82 RETERR(isc_str_tobuffer(" ", target)); in totext_in_svcb_https()
90 RETERR(dns_name_totext(&prefix, sub, target)); in totext_in_svcb_https()
96 RETERR(isc_str_tobuffer(" ", target)); in totext_in_svcb_https()
104 RETERR(isc_str_tobuffer(svc_param_key_to_text(svc_param_key), in totext_in_svcb_https()
115 RETERR(isc_str_tobuffer("=", target)); in totext_in_svcb_https()
119 RETERR(isc_str_tobuffer(svc_param_key_to_text( in totext_in_svcb_https()
122 RETERR(isc_str_tobuffer(",", target)); in totext_in_svcb_https()
126 RETERR(isc_str_tobuffer("=\"", target)); in totext_in_svcb_https()
130 RETERR(isc_str_tobuffer(",", target)); in totext_in_svcb_https()
[all …]
Dsrv_33.c49 RETERR(isc_str_tobuffer(buf, target)); in totext_in_srv()
50 RETERR(isc_str_tobuffer(" ", target)); in totext_in_srv()
58 RETERR(isc_str_tobuffer(buf, target)); in totext_in_srv()
59 RETERR(isc_str_tobuffer(" ", target)); in totext_in_srv()
67 RETERR(isc_str_tobuffer(buf, target)); in totext_in_srv()
68 RETERR(isc_str_tobuffer(" ", target)); in totext_in_srv()
99 RETERR(isc_mem_tobuffer(target, sr.base, 6)); in fromwire_in_srv()
122 RETERR(isc_mem_tobuffer(target, sr.base, 6)); in towire_in_srv()
Dpx_26.c49 RETERR(isc_str_tobuffer(buf, target)); in totext_in_px()
50 RETERR(isc_str_tobuffer(" ", target)); in totext_in_px()
58 RETERR(dns_name_totext(&prefix, sub, target)); in totext_in_px()
59 RETERR(isc_str_tobuffer(" ", target)); in totext_in_px()
90 RETERR(isc_mem_tobuffer(target, sregion.base, 2)); in fromwire_in_px()
96 RETERR(dns_name_fromwire(&name, source, dctx, options, target)); in fromwire_in_px()
119 RETERR(isc_mem_tobuffer(target, region.base, 2)); in towire_in_px()
127 RETERR(dns_name_towire(&name, cctx, target)); in towire_in_px()
/openbsd/src/usr.bin/dig/lib/dns/rdata/any_255/
Dtsig_250.c48 RETERR(dns_name_totext(&prefix, sub, target)); in totext_any_tsig()
49 RETERR(isc_str_tobuffer(" ", target)); in totext_any_tsig()
70 RETERR(isc_str_tobuffer(bufp, target)); in totext_any_tsig()
78 RETERR(isc_str_tobuffer(buf, target)); in totext_any_tsig()
86 RETERR(isc_str_tobuffer(buf, target)); in totext_any_tsig()
95 RETERR(isc_str_tobuffer(" (", target)); in totext_any_tsig()
96 RETERR(isc_str_tobuffer(tctx->linebreak, target)); in totext_any_tsig()
98 RETERR(isc_base64_totext(&sigr, 60, "", target)); in totext_any_tsig()
100 RETERR(isc_base64_totext(&sigr, tctx->width - 2, in totext_any_tsig()
103 RETERR(isc_str_tobuffer(" ) ", target)); in totext_any_tsig()
[all …]
/openbsd/src/usr.bin/dig/lib/isc/
Dbase32.c27 #define RETERR(x) do { \ macro
55 RETERR(isc_str_tobuffer(buf, target)); in base32_totext()
64 RETERR(isc_str_tobuffer(buf, target)); in base32_totext()
72 RETERR(isc_str_tobuffer(buf, target)); in base32_totext()
81 RETERR(isc_str_tobuffer(buf, target)); in base32_totext()
87 RETERR(isc_str_tobuffer(buf, target)); in base32_totext()
95 RETERR(isc_str_tobuffer(wordbreak, target)); in base32_totext()
221 RETERR(isc_mem_tobuffer(ctx->target, buf, n)); in base32_decode_char()
244 RETERR(base32_decode_char(ctx, '=')); in base32_decode_finish()
261 RETERR(base32_decode_char(&ctx, c)); in base32_decoderegion()
[all …]
Dbase64.c28 #define RETERR(x) do { \ macro
58 RETERR(isc_str_tobuffer(buf, target)); in isc_base64_totext()
66 RETERR(isc_str_tobuffer(wordbreak, target)); in isc_base64_totext()
75 RETERR(isc_str_tobuffer(buf, target)); in isc_base64_totext()
81 RETERR(isc_str_tobuffer(buf, target)); in isc_base64_totext()
146 RETERR(isc_mem_tobuffer(ctx->target, buf, n)); in base64_decode_char()
178 RETERR(base64_decode_char(&ctx, c)); in isc_base64_decodestring()
180 RETERR(base64_decode_finish(&ctx)); in isc_base64_decodestring()
/openbsd/src/usr.bin/dig/lib/dns/
Dttl.c31 #define RETERR(x) do { \ macro
82 RETERR(ttlfmt(weeks, "week", verbose, (x > 0), target)); in dns_ttl_totext()
86 RETERR(ttlfmt(days, "day", verbose, (x > 0), target)); in dns_ttl_totext()
90 RETERR(ttlfmt(hours, "hour", verbose, (x > 0), target)); in dns_ttl_totext()
94 RETERR(ttlfmt(mins, "minute", verbose, (x > 0), target)); in dns_ttl_totext()
99 RETERR(ttlfmt(secs, "second", verbose, (x > 0), target)); in dns_ttl_totext()

123