Searched refs:n_rrs (Results 1 - 4 of 4) sorted by relevance
/systemd/src/resolve/ |
H A D | resolved-dns-answer.h | 49 unsigned n_rrs, n_allocated; member in struct:DnsAnswer 87 return a ? a->n_rrs : 0; 96 (kk) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].rr : NULL; \ 99 (a) && (UNIQ_T(i, q) < (a)->n_rrs); \ 100 UNIQ_T(i, q)++, (kk) = (UNIQ_T(i, q) < (a)->n_rrs ? (a)->items[UNIQ_T(i, q)].rr : NULL)) 106 (kk) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].rr : NULL; \ 107 (ifi) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].ifindex : 0; \ 110 (a) && (UNIQ_T(i, q) < (a)->n_rrs); \ 112 (kk) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].rr : NULL), \ 113 (ifi) = ((UNIQ_T(i, q) < (a)->n_rrs) [all...] |
H A D | resolved-dns-answer.c | 57 a->n_rrs = 0; 81 if (a->n_rrs >= a->n_allocated) 84 a->items[a->n_rrs++] = (DnsAnswerItem) { 118 for (i = 0; i < a->n_rrs; i++) { 432 k = dns_answer_new(a->n_rrs + b->n_rrs); 503 copy = dns_answer_new((*a)->n_rrs); 530 if (i >= (*a)->n_rrs) 540 memmove((*a)->items + i, (*a)->items + i + 1, sizeof(DnsAnswerItem) * ((*a)->n_rrs - i - 1)); 541 (*a)->n_rrs [all...] |
H A D | resolved-dns-scope.c | 611 && (!answer || answer->n_rrs <= 0) 612 && (!soa || soa->n_rrs <= 0)) 642 for (i = 0; i < answer->n_rrs; i++) { 648 DNS_PACKET_HEADER(p)->ancount = htobe16(answer->n_rrs); 652 for (i = 0; i < soa->n_rrs; i++) { 658 DNS_PACKET_HEADER(p)->arcount = htobe16(soa->n_rrs); 677 for (n = 0; n < p->answer->n_rrs; n++) 948 for (i = 0; i < p->answer->n_rrs; i++) {
|
H A D | resolved-dns-dnssec.c | 902 if (!a || a->n_rrs <= 0)
|
Completed in 20 milliseconds