Lines Matching refs:ifindex

9         int ifindex;  member
153 int ifindex, r; in vl_method_resolve_hostname_complete() local
177 DNS_ANSWER_FOREACH_IFINDEX(rr, ifindex, q->answer) { in vl_method_resolve_hostname_complete()
201 … JSON_BUILD_PAIR_CONDITION(ifindex > 0, "ifindex", JSON_BUILD_INTEGER(ifindex)), in vl_method_resolve_hostname_complete()
239 int r, ff, parsed_ifindex, ifindex; in parse_as_address() local
252 (p->ifindex > 0 && parsed_ifindex > 0 && parsed_ifindex != p->ifindex)) in parse_as_address()
255 ifindex = parsed_ifindex > 0 ? parsed_ifindex : p->ifindex; in parse_as_address()
258 r = in_addr_ifindex_to_string(ff, &parsed, ifindex, &canonical); in parse_as_address()
268 … JSON_BUILD_PAIR_CONDITION(ifindex > 0, "ifindex", JSON_BUILD_INTEGER(ifindex)), in parse_as_address()
278 … JSON_VARIANT_UNSIGNED, json_dispatch_int, offsetof(LookupParameters, ifindex), 0 … in vl_method_resolve_hostname()
305 if (p.ifindex < 0) in vl_method_resolve_hostname()
332 … r = dns_query_new(m, &q, question_utf8, question_idna ?: question_utf8, NULL, p.ifindex, p.flags); in vl_method_resolve_hostname()
389 int ifindex, r; in vl_method_resolve_address_complete() local
413 DNS_ANSWER_FOREACH_IFINDEX(rr, ifindex, q->answer) { in vl_method_resolve_address_complete()
429 … JSON_BUILD_PAIR_CONDITION(ifindex > 0, "ifindex", JSON_BUILD_INTEGER(ifindex)), in vl_method_resolve_address_complete()
457 …JSON_VARIANT_UNSIGNED, json_dispatch_int, offsetof(LookupParameters, ifindex), 0 … in vl_method_resolve_address()
484 if (p.ifindex < 0) in vl_method_resolve_address()
500 … r = dns_query_new(m, &q, question, question, NULL, p.ifindex, p.flags|SD_RESOLVED_NO_SEARCH); in vl_method_resolve_address()