Lines Matching refs:rrset
70 static void can_log_rrset(const knot_rrset_t *rrset, int pos, apply_ctx_t *ctx, bool remove) in can_log_rrset() argument
81 char *owner = knot_dname_to_str_alloc(rrset->owner); in can_log_rrset()
82 if (owner != NULL && knot_rrtype_to_string(rrset->type, type, sizeof(type)) > 0 && in can_log_rrset()
83 knot_rrset_txt_dump_data(rrset, pos, data, sizeof(data), &KNOT_DUMP_STYLE_DEFAULT) > 0) { in can_log_rrset()
91 static bool can_remove(const zone_node_t *node, const knot_rrset_t *rrset, apply_ctx_t *ctx) in can_remove() argument
95 can_log_rrset(rrset, 0, ctx, true); in can_remove()
99 const knot_rdataset_t *node_rrs = node_rdataset(node, rrset->type); in can_remove()
102 can_log_rrset(rrset, 0, ctx, true); in can_remove()
106 knot_rdata_t *rr_cmp = rrset->rrs.rdata; in can_remove()
107 for (uint16_t i = 0; i < rrset->rrs.count; ++i) { in can_remove()
110 can_log_rrset(rrset, i, ctx, true); in can_remove()
120 static bool can_add(const zone_node_t *node, const knot_rrset_t *rrset, apply_ctx_t *ctx) in can_add() argument
126 const knot_rdataset_t *node_rrs = node_rdataset(node, rrset->type); in can_add()
132 knot_rdata_t *rr_cmp = rrset->rrs.rdata; in can_add()
133 for (uint16_t i = 0; i < rrset->rrs.count; ++i) { in can_add()
136 can_log_rrset(rrset, i, ctx, false); in can_add()