mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-28 02:57:05 +08:00
mdns: support for multi-packet known answer (questions with TC bit)
This allow Apple Bonjour Conformance Test to not fail with the following tests: - DISTRIBUTED DUPLICATE SUPPRESSION - MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
committed by
Simon Goldschmidt
parent
e85e473838
commit
9301225895
@@ -60,6 +60,16 @@
|
||||
#define MDNS_MAX_SERVICES 1
|
||||
#endif
|
||||
|
||||
/** The maximum number of received packets stored in chained list of known
|
||||
* answers for pending truncated questions. This value define the size of
|
||||
* the MDNS_PKTS mempool.
|
||||
* Up to MDNS_MAX_STORED_PKTS pbuf can be stored in addition to TC questions
|
||||
* that are pending.
|
||||
*/
|
||||
#ifndef MDNS_MAX_STORED_PKTS
|
||||
#define MDNS_MAX_STORED_PKTS 4
|
||||
#endif
|
||||
|
||||
/** Payload size allocated for each outgoing UDP packet. Will be allocated with
|
||||
* PBUF_RAM and freed after packet was sent.
|
||||
* According to RFC 6762, there is no reason to retain the 512 bytes restriction
|
||||
|
||||
Reference in New Issue
Block a user