Searched refs:n_keys (Results 1 - 4 of 4) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-question.h31 unsigned n_keys, n_allocated; member in struct:DnsQuestion
56 return q ? q->n_keys : 0;
63 (key) = ((q) && (q)->n_keys > 0) ? (q)->keys[0] : NULL; \
66 (q) && (UNIQ_T(i, u) < (q)->n_keys); \
67 UNIQ_T(i, u)++, (key) = (UNIQ_T(i, u) < (q)->n_keys ? (q)->keys[UNIQ_T(i, u)] : NULL))
H A Dresolved-dns-question.c58 for (i = 0; i < q->n_keys; i++)
76 for (i = 0; i < q->n_keys; i++) {
84 if (q->n_keys >= q->n_allocated)
87 q->keys[q->n_keys++] = dns_resource_key_ref(key);
100 for (i = 0; i < q->n_keys; i++) {
121 for (i = 0; i < q->n_keys; i++) {
142 if (q->n_keys <= 0)
145 if (q->n_keys > 65535)
153 for (i = 0; i < q->n_keys; i++) {
178 for (j = 0; j < a->n_keys;
[all...]
H A Dresolved-dns-scope.c610 if ((!q || q->n_keys <= 0)
632 for (i = 0; i < q->n_keys; i++) {
638 DNS_PACKET_HEADER(p)->qdcount = htobe16(q->n_keys);
674 for (n = 0; n < p->question->n_keys; n++)
718 assert(p->question->n_keys == 1);
H A Dresolved-dns-packet.c2262 if (p->question->n_keys != 1)

Completed in 18 milliseconds