Home
last modified time | relevance | path

Searched refs:rrstr (Results 1 – 13 of 13) sorted by relevance

/openbsd/sbin/unwind/libunbound/respip/
H A Drespip.c258 size_t rdata_len, const char* rrstr, const char* netblockstr) in respip_enter_rr() argument
265 "response-ip data for netblock %s", rrstr, netblockstr); in respip_enter_rr()
276 "to netblock %s address family", rrstr, netblockstr); in respip_enter_rr()
291 const char* rrstr, const char* netblock) in respip_enter_rrstr() argument
305 "action for %s is not redirect", rrstr, netblock); in respip_enter_rrstr()
308 ret = snprintf(buf, sizeof(buf), ". %s", rrstr); in respip_enter_rrstr()
310 strlcpy(bufshort, rrstr, sizeof(bufshort)); in respip_enter_rrstr()
316 log_err("bad response-ip-data: %s", rrstr); in respip_enter_rrstr()
321 rdata_len, rrstr, netblock); in respip_enter_rrstr()
332 "response-ip node for %s not found", rrstr, ipstr); in respip_data_cfg()
[all …]
H A Drespip.h293 size_t rdata_len, const char* rrstr, const char* netblockstr);
/openbsd/usr.sbin/unbound/respip/
H A Drespip.c258 size_t rdata_len, const char* rrstr, const char* netblockstr) in respip_enter_rr() argument
265 "response-ip data for netblock %s", rrstr, netblockstr); in respip_enter_rr()
276 "to netblock %s address family", rrstr, netblockstr); in respip_enter_rr()
291 const char* rrstr, const char* netblock) in respip_enter_rrstr() argument
305 "action for %s is not redirect", rrstr, netblock); in respip_enter_rrstr()
308 ret = snprintf(buf, sizeof(buf), ". %s", rrstr); in respip_enter_rrstr()
310 strlcpy(bufshort, rrstr, sizeof(bufshort)); in respip_enter_rrstr()
316 log_err("bad response-ip-data: %s", rrstr); in respip_enter_rrstr()
321 rdata_len, rrstr, netblock); in respip_enter_rrstr()
332 "response-ip node for %s not found", rrstr, ipstr); in respip_data_cfg()
[all …]
H A Drespip.h293 size_t rdata_len, const char* rrstr, const char* netblockstr);
/openbsd/sbin/unwind/libunbound/services/
H A Drpz.c693 if(rrstr == NULL) { in rpz_insert_local_zones_trigger()
699 if(rrstr[0]) in rpz_insert_local_zones_trigger()
700 rrstr[strlen(rrstr)-1]=0; /* remove newline */ in rpz_insert_local_zones_trigger()
702 free(rrstr); in rpz_insert_local_zones_trigger()
731 free(rrstr); in rpz_insert_local_zones_trigger()
828 char* rrstr; in rpz_insert_ipaddr_based_trigger() local
833 if(rrstr == NULL) { in rpz_insert_ipaddr_based_trigger()
842 free(rrstr); in rpz_insert_ipaddr_based_trigger()
857 free(rrstr); in rpz_insert_ipaddr_based_trigger()
896 if(rrstr == NULL) { in rpz_report_rrset_error()
[all …]
H A Dlocalzone.c399 uint8_t* rdata, size_t rdata_len, time_t ttl, const char* rrstr) in rrset_insert_rr() argument
408 rrstr, LOCALZONE_RRSET_COUNT_MAX); in rrset_insert_rr()
513 uint8_t* rdata, size_t rdata_len, time_t ttl, const char* rrstr) in lz_mark_soa_for_zone() argument
551 uint8_t* rdata, size_t rdata_len, const char* rrstr) in local_zone_enter_rr() argument
575 "coexist with %s local-data", rrstr, othertype); in local_zone_enter_rr()
589 rrstr)) in local_zone_enter_rr()
598 verbose(VERB_ALGO, "ignoring duplicate RR: %s", rrstr); in local_zone_enter_rr()
606 lz_enter_rr_into_zone(struct local_zone* z, const char* rrstr) in lz_enter_rr_into_zone() argument
618 log_err("bad local-data: %s", rrstr); in lz_enter_rr_into_zone()
626 ", not at %s", rrstr); in lz_enter_rr_into_zone()
[all …]
H A Dlocalzone.h527 uint8_t* rdata, size_t rdata_len, time_t ttl, const char* rrstr);
632 uint8_t* rdata, size_t rdata_len, const char* rrstr);
H A Dauthzone.c3459 tpstr[32], rrstr[32]; in auth_zone_generate_answer() local
3473 if(rrset) sldns_wire2str_type_buf(rrset->type, rrstr, in auth_zone_generate_answer()
3474 sizeof(rrstr)); in auth_zone_generate_answer()
3475 else snprintf(rrstr, sizeof(rrstr), "NULL"); in auth_zone_generate_answer()
3479 (node_exists?"exist":"notexist"), cename, rrstr); in auth_zone_generate_answer()
/openbsd/usr.sbin/unbound/services/
H A Drpz.c693 if(rrstr == NULL) { in rpz_insert_local_zones_trigger()
699 if(rrstr[0]) in rpz_insert_local_zones_trigger()
700 rrstr[strlen(rrstr)-1]=0; /* remove newline */ in rpz_insert_local_zones_trigger()
702 free(rrstr); in rpz_insert_local_zones_trigger()
731 free(rrstr); in rpz_insert_local_zones_trigger()
828 char* rrstr; in rpz_insert_ipaddr_based_trigger() local
833 if(rrstr == NULL) { in rpz_insert_ipaddr_based_trigger()
842 free(rrstr); in rpz_insert_ipaddr_based_trigger()
857 free(rrstr); in rpz_insert_ipaddr_based_trigger()
896 if(rrstr == NULL) { in rpz_report_rrset_error()
[all …]
H A Dlocalzone.c399 uint8_t* rdata, size_t rdata_len, time_t ttl, const char* rrstr) in rrset_insert_rr() argument
408 rrstr, LOCALZONE_RRSET_COUNT_MAX); in rrset_insert_rr()
513 uint8_t* rdata, size_t rdata_len, time_t ttl, const char* rrstr) in lz_mark_soa_for_zone() argument
551 uint8_t* rdata, size_t rdata_len, const char* rrstr) in local_zone_enter_rr() argument
575 "coexist with %s local-data", rrstr, othertype); in local_zone_enter_rr()
589 rrstr)) in local_zone_enter_rr()
598 verbose(VERB_ALGO, "ignoring duplicate RR: %s", rrstr); in local_zone_enter_rr()
606 lz_enter_rr_into_zone(struct local_zone* z, const char* rrstr) in lz_enter_rr_into_zone() argument
618 log_err("bad local-data: %s", rrstr); in lz_enter_rr_into_zone()
626 ", not at %s", rrstr); in lz_enter_rr_into_zone()
[all …]
H A Dlocalzone.h527 uint8_t* rdata, size_t rdata_len, time_t ttl, const char* rrstr);
632 uint8_t* rdata, size_t rdata_len, const char* rrstr);
H A Dauthzone.c3459 tpstr[32], rrstr[32]; in auth_zone_generate_answer() local
3473 if(rrset) sldns_wire2str_type_buf(rrset->type, rrstr, in auth_zone_generate_answer()
3474 sizeof(rrstr)); in auth_zone_generate_answer()
3475 else snprintf(rrstr, sizeof(rrstr), "NULL"); in auth_zone_generate_answer()
3479 (node_exists?"exist":"notexist"), cename, rrstr); in auth_zone_generate_answer()
/openbsd/usr.sbin/unbound/testcode/
H A Dtestpkts.c483 static void add_rr(char* rrstr, uint8_t* pktbuf, size_t pktsize, in add_rr() argument
498 status = sldns_str2wire_rr_question_buf(rrstr, pktbuf+*pktlen, in add_rr()
501 else status = sldns_str2wire_rr_buf(rrstr, pktbuf+*pktlen, &rr_len, in add_rr()
507 sldns_get_errorstr_parse(status), rrstr); in add_rr()