Searched refs:DnsAnswerItem (Results 1 - 2 of 2) sorted by relevance
/systemd/src/resolve/ |
H A D | resolved-dns-answer.h | 23 typedef struct DnsAnswerItem DnsAnswerItem; typedef in typeref:struct:DnsAnswerItem 41 struct DnsAnswerItem { struct 50 DnsAnswerItem items[0];
|
H A D | resolved-dns-answer.c | 29 a = malloc0(offsetof(DnsAnswer, items) + sizeof(DnsAnswerItem) * n); 84 a->items[a->n_rrs++] = (DnsAnswerItem) { 540 memmove((*a)->items + i, (*a)->items + i + 1, sizeof(DnsAnswerItem) * ((*a)->n_rrs - i - 1)); 626 memmove((*a)->items + i, (*a)->items + i + 1, sizeof(DnsAnswerItem) * ((*a)->n_rrs - i - 1)); 684 DnsAnswerItem *items; 699 items = newa(DnsAnswerItem, a->n_rrs); 713 memcpy(a->items, items, sizeof(DnsAnswerItem) * a->n_rrs); 738 n = realloc(*a, offsetof(DnsAnswer, items) + sizeof(DnsAnswerItem) * ns);
|
Completed in 11 milliseconds