Searched refs:rr1_buf (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/ldns/ |
H A D | rr.c | 1466 ldns_buffer *rr1_buf, *rr2_buf; in qsort_schwartz_rr_compare() local 1507 rr1_buf = (ldns_buffer *) sa->transformed_object; in qsort_schwartz_rr_compare() 1510 result = ldns_rr_compare_wire(rr1_buf, rr2_buf); in qsort_schwartz_rr_compare() 1601 int ldns_rr_compare_wire(const ldns_buffer *rr1_buf, const ldns_buffer *rr2_buf) in ldns_rr_compare_wire() argument 1605 rr1_len = ldns_buffer_capacity(rr1_buf); in ldns_rr_compare_wire() 1611 while (offset < rr1_len && *ldns_buffer_at(rr1_buf, offset) != 0) { in ldns_rr_compare_wire() 1612 offset += *ldns_buffer_at(rr1_buf, offset) + 1; in ldns_rr_compare_wire() 1620 if (*ldns_buffer_at(rr1_buf,i) < *ldns_buffer_at(rr2_buf,i)) { in ldns_rr_compare_wire() 1622 } else if (*ldns_buffer_at(rr1_buf,i) > *ldns_buffer_at(rr2_buf,i)) { in ldns_rr_compare_wire() 1644 ldns_buffer *rr1_buf; in ldns_rr_compare() local [all …]
|
/freebsd/contrib/ldns/ldns/ |
H A D | rr.h | 807 int ldns_rr_compare_wire(const ldns_buffer *rr1_buf, const ldns_buffer *rr2_buf);
|