Lines Matching full:answer
23 * - Individual known answer detection for all local IPv6 addresses
145 /** TXT record to answer with */
228 * question again in reply before answer) */
232 /* Bitmask for which reverse IPv6 hosts to answer */
258 /** Length of variable answer */
260 /** Offset of start of variable answer in packet */
831 …* A question contains domain, type and class. Since an answer also starts with these fields this f…
834 * @param domain The domain name the answer is for
835 * @param type The DNS type of the answer (like 'AAAA', 'SRV')
836 * @param klass The DNS type of the answer (like 'IN')
893 * Write answer to reply packet.
898 * @param domain The domain name the answer is for
899 * @param type The DNS type of the answer (like 'AAAA', 'SRV')
900 * @param klass The DNS type of the answer (like 'IN')
902 * this reply replaces any earlier answer for this domain/type/class
904 * @param buf Pointer to buffer of answer data
906 * @param answer_domain A domain to write after any buffer data as answer
942 /* Answer starts with same data as question, then more fields */ in mdns_add_answer()
968 /* Write name answer (compressed if possible) */ in mdns_add_answer()
975 /* Write rd_length after when we know the answer size */ in mdns_add_answer()
1052 * Read an answer from the packet
1056 * @param answer The struct to fill with answer data
1060 mdns_read_answer(struct mdns_packet *pkt, struct mdns_answer *answer) in mdns_read_answer() argument
1078 memset(answer, 0, sizeof(struct mdns_answer)); in mdns_read_answer()
1079 res = mdns_read_rr_info(pkt, &answer->info); in mdns_read_answer()
1085 answer->cache_flush = answer->info.klass & 0x8000; in mdns_read_answer()
1086 answer->info.klass &= 0x7FFF; in mdns_read_answer()
1093 answer->ttl = lwip_ntohl(ttl); in mdns_read_answer()
1100 answer->rd_length = lwip_ntohs(field16); in mdns_read_answer()
1102 answer->rd_offset = pkt->parse_offset; in mdns_read_answer()
1103 pkt->parse_offset += answer->rd_length; in mdns_read_answer()
1188 * In legacy unicast responses generated to answer legacy queries, in mdns_add_srv_answer()
1447 * Send unsolicited answer containing all our known data
1552 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Failed to parse answer, skipping query packet\n")); in mdns_handle_question()
1556 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Known answer for domain ")); in mdns_handle_question()
1569 /* The RR in the known answer matches an RR we are planning to send, in mdns_handle_question()
1571 * If the payload matches we should not send that answer. in mdns_handle_question()
1582 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: v4 PTR\n")); in mdns_handle_question()
1588 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: v6 PTR\n")); in mdns_handle_question()
1600 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: A\n")); in mdns_handle_question()
1609 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: AAAA\n")); in mdns_handle_question()
1623 /* The RR in the known answer matches an RR we are planning to send, in mdns_handle_question()
1625 * If the payload matches we should not send that answer. in mdns_handle_question()
1636 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: service type PTR\n")); in mdns_handle_question()
1643 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: service name PTR\n")); in mdns_handle_question()
1678 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: SRV\n")); in mdns_handle_question()
1685 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: TXT\n")); in mdns_handle_question()
1728 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Failed to parse answer, skipping response packet\n")); in mdns_handle_response()
1732 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Answer for domain ")); in mdns_handle_response()