lwIP - A Lightweight TCP/IP stack - Patches: patch #9904, mDNS: Let applications filter...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9904: mDNS: Let applications filter which addresses to advertise
Submitter: | Christian Walther <cwalther> | ||
Submitted: | Fri 06 Mar 2020 09:47:21 AM UTC | ||
Category: | apps | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Planned Release: | None |
Attached Files
file #48557: 0001-mdns-add-API-function-to-let-applications-filter-whi.patch added by cwalther (7KiB - application/octet-stream)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-03-06 | cwalther | Attached File | - | ![]() |
Added 0001-mdns-add-API-function-to-let-applications-filter-whi.patch, #48557 |
We had a use case of a network interface with several IPv4 and IPv6 addresses, of which only a subset should be advertised by mDNS. This patch adds this capability. It allows an application to install a callback function (per mDNS-enabled netif) that is called any time A/AAAA records are output, for each address individually, to decide whether to include this address or not. When no filter callback is installed, all addresses are advertised as usual.
To avoid increasing code size and runtime memory usage for users who do not need this feature, it is conditional on a define in mdns_opts.h and off by default.
The patch applies on top of patch #9903, but I can supply it rebased on master if desired.