Searched refs:n_keys (Results 1 – 3 of 3) sorted by relevance
23 size_t n_keys, n_allocated; member51 return (q && q->n_keys > 0) ? q->items[0].key : NULL; in dns_question_first_key()55 return q ? q->n_keys : 0; in dns_question_size()66 (k) = ((q) && (q)->n_keys > 0) ? (q)->items[0].key : NULL; \69 (q) && (UNIQ_T(i, u) < (q)->n_keys); \70 … UNIQ_T(i, u)++, (k) = (UNIQ_T(i, u) < (q)->n_keys ? (q)->items[UNIQ_T(i, u)].key : NULL))
43 if (q->n_keys >= q->n_allocated) in dns_question_add_raw()46 q->items[q->n_keys++] = (DnsQuestionItem) { in dns_question_add_raw()125 if (q->n_keys <= 0) in dns_question_is_valid_for_query()128 if (q->n_keys > 65535) in dns_question_is_valid_for_query()136 for (i = 0; i < q->n_keys; i++) { in dns_question_is_valid_for_query()162 for (j = 0; j < q->n_keys; j++) { in dns_question_contains_key()196 return !b || b->n_keys == 0; in dns_question_is_equal()198 return a->n_keys == 0; in dns_question_is_equal()263 n = dns_question_new(q->n_keys); in dns_question_cname_redirect()290 if (q->n_keys < 1) in dns_question_first_name()
2431 if (p->question->n_keys != 1) in dns_packet_is_reply_for()