Lines Matching refs:ifindex
75 static int dns_answer_add_raw(DnsAnswer *a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags) {
86 .ifindex = ifindex,
96 int ifindex, r;
98 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, source) {
99 r = dns_answer_add_raw(a, rr, ifindex, flags);
107 int dns_answer_add(DnsAnswer *a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags) {
119 if (a->items[i].ifindex != ifindex)
158 return dns_answer_add_raw(a, rr, ifindex, flags);
164 int ifindex, r;
166 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, b) {
167 r = dns_answer_add(a, rr, ifindex, flags);
175 int dns_answer_add_extend(DnsAnswer **a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags) {
185 return dns_answer_add(*a, rr, ifindex, flags);
501 int ifindex;
507 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, *a) {
514 r = dns_answer_add_raw(copy, rr, ifindex, flags);
587 int ifindex;
593 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, *a) {
600 r = dns_answer_add_raw(copy, rr, ifindex, flags);
789 int ifindex;
794 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, answer) {
807 if (ifindex != 0 || flags & (DNS_ANSWER_AUTHENTICATED|DNS_ANSWER_CACHEABLE|DNS_ANSWER_SHARED_OWNER))
810 if (ifindex != 0)
811 printf(" ifindex=%i", ifindex);