Lines Matching full:answer
22 * - Individual known answer detection for all local IPv6 addresses
162 /** TXT record to answer with */
251 * question again in reply before answer) */
255 /* Bitmask for which reverse IPv6 hosts to answer */
281 /** Length of variable answer */
283 /** Offset of start of variable answer in packet */
889 …* A question contains domain, type and class. Since an answer also starts with these fields this f…
892 * @param domain The domain name the answer is for
893 * @param type The DNS type of the answer (like 'AAAA', 'SRV')
894 * @param klass The DNS type of the answer (like 'IN')
951 * Write answer to reply packet.
956 * @param domain The domain name the answer is for
957 * @param type The DNS type of the answer (like 'AAAA', 'SRV')
958 * @param klass The DNS type of the answer (like 'IN')
960 * this reply replaces any earlier answer for this domain/type/class
962 * @param buf Pointer to buffer of answer data
964 * @param answer_domain A domain to write after any buffer data as answer
1000 /* Answer starts with same data as question, then more fields */ in mdns_add_answer()
1026 /* Write name answer (compressed if possible) */ in mdns_add_answer()
1033 /* Write rd_length after when we know the answer size */ in mdns_add_answer()
1110 * Read an answer from the packet
1114 * @param answer The struct to fill with answer data
1118 mdns_read_answer(struct mdns_packet *pkt, struct mdns_answer *answer) in mdns_read_answer() argument
1136 memset(answer, 0, sizeof(struct mdns_answer)); in mdns_read_answer()
1137 res = mdns_read_rr_info(pkt, &answer->info); in mdns_read_answer()
1143 answer->cache_flush = answer->info.klass & 0x8000; in mdns_read_answer()
1144 answer->info.klass &= 0x7FFF; in mdns_read_answer()
1151 answer->ttl = lwip_ntohl(ttl); in mdns_read_answer()
1158 answer->rd_length = lwip_ntohs(field16); in mdns_read_answer()
1160 answer->rd_offset = pkt->parse_offset; in mdns_read_answer()
1161 pkt->parse_offset += answer->rd_length; in mdns_read_answer()
1246 * In legacy unicast responses generated to answer legacy queries, in mdns_add_srv_answer()
1514 * Send unsolicited answer containing all our known data
1572 /* Don't answer questions until we've verified our domains via probing */ in mdns_handle_question()
1627 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Failed to parse answer, skipping query packet\n")); in mdns_handle_question()
1631 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Known answer for domain ")); in mdns_handle_question()
1644 /* The RR in the known answer matches an RR we are planning to send, in mdns_handle_question()
1646 * If the payload matches we should not send that answer. in mdns_handle_question()
1657 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: v4 PTR\n")); in mdns_handle_question()
1663 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: v6 PTR\n")); in mdns_handle_question()
1675 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: A\n")); in mdns_handle_question()
1684 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: AAAA\n")); in mdns_handle_question()
1698 /* The RR in the known answer matches an RR we are planning to send, in mdns_handle_question()
1700 * If the payload matches we should not send that answer. in mdns_handle_question()
1711 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: service type PTR\n")); in mdns_handle_question()
1718 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: service name PTR\n")); in mdns_handle_question()
1753 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: SRV\n")); in mdns_handle_question()
1760 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Skipping known answer: TXT\n")); in mdns_handle_question()
1805 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Failed to parse answer, skipping response packet\n")); in mdns_handle_response()
1809 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Answer for domain ")); in mdns_handle_response()
1814 be silently ignored" so drop answer if we haven't started probing yet*/ in mdns_handle_response()
2313 * Send unsolicited answer containing all our known data