Searched refs:avahi_dns_packet_get_field (Results 1 – 5 of 5) sorted by relevance
/external/avahi/avahi-core/ |
D | dns.c | 99 for (n = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_QDCOUNT); n > 0; n--) { in avahi_dns_packet_new_reply() 111 …avahi_dns_packet_set_field(r, AVAHI_DNS_FIELD_QDCOUNT, avahi_dns_packet_get_field(p, AVAHI_DNS_FIE… in avahi_dns_packet_new_reply() 114 …avahi_dns_packet_set_field(r, AVAHI_DNS_FIELD_ID, avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ID… in avahi_dns_packet_new_reply() 117 … (avahi_dns_packet_get_field(r, AVAHI_DNS_FIELD_FLAGS) & ~AVAHI_DNS_FLAG_OPCODE) | in avahi_dns_packet_new_reply() 118 … (avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_FLAGS) & AVAHI_DNS_FLAG_OPCODE)); in avahi_dns_packet_new_reply() 140 uint16_t avahi_dns_packet_get_field(AvahiDnsPacket *p, unsigned idx) { in avahi_dns_packet_get_field() function 151 avahi_dns_packet_set_field(p, idx, avahi_dns_packet_get_field(p, idx) + 1); in avahi_dns_packet_inc_field() 316 flags = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_FLAGS); in avahi_dns_packet_check_valid() 331 flags = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_FLAGS); in avahi_dns_packet_check_valid_multicast() 342 return !(avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_FLAGS) & AVAHI_DNS_FLAG_QR); in avahi_dns_packet_is_query()
|
D | server.c | 391 if (avahi_dns_packet_get_field(reply, AVAHI_DNS_FIELD_ANCOUNT) != 0) in avahi_server_generate_response() 404 int tc = p && !!(avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_FLAGS) & AVAHI_DNS_FLAG_TC); in avahi_server_generate_response() 444 if (avahi_dns_packet_get_field(reply, AVAHI_DNS_FIELD_ANCOUNT) == 0) { in avahi_server_generate_response() 490 if (avahi_dns_packet_get_field(reply, AVAHI_DNS_FIELD_ANCOUNT) != 0) in avahi_server_generate_response() 582 is_probe = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_NSCOUNT) > 0; in handle_query_packet() 585 for (n = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_QDCOUNT); n > 0; n --) { in handle_query_packet() 600 if (avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) == 0 && in handle_query_packet() 601 !(avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_FLAGS) & AVAHI_DNS_FLAG_TC)) in handle_query_packet() 613 for (n = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT); n > 0; n --) { in handle_query_packet() 630 for (n = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_NSCOUNT); n > 0; n --) { in handle_query_packet() [all …]
|
D | wide-area.c | 496 if (!(l = find_lookup(e, avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ID))) || l->dead) in handle_packet() 500 if ((r = avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_FLAGS) & 15) != 0 || in handle_packet() 501 avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) == 0) { in handle_packet() 512 for (i = (int) avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_QDCOUNT); i > 0; i--) { in handle_packet() 526 for (i = (int) avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) + in handle_packet() 527 (int) avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_NSCOUNT) + in handle_packet() 528 (int) avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ARCOUNT); i > 0; i--) { in handle_packet()
|
D | dns.h | 48 uint16_t avahi_dns_packet_get_field(AvahiDnsPacket *p, unsigned idx);
|
D | query-sched.c | 251 …avahi_dns_packet_set_field(p, AVAHI_DNS_FIELD_FLAGS, avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD… in append_known_answers_and_send()
|