-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow compilation and unit testing with IPv4 turned off (#9989)
* Swith enable ipv4 to default to false * Disable some more IPv4: in linux/darwin/tizen * Add some ifdefs in linux mdns for IPv4 * Fix ifdef to if in ipv4 conditional * Make minmdns server compile with IPv4 disabled * Fix DNSResolver compilation with IPv4 disabled * More compilation fixes for android arm64 working * Do not allow platformconfig to control ipv4 - this should be using build flags * Make TestInetLayerDNS compile with IPv4 off * Convert and conditional-change several tests for IPv6 compatiblity * Also update chip_im_initiator to use ipv6 * Move echo apps to ipv6, make minmdns server compile with clang when ipv4 is disabled * Restyle fixes * Update darwin mdns to enforce IPv6 only if ipv4 is disabled * Allow more time for happy tests CI, fix typo in integration test name * Change happy to only test IPv6 * Update happy comment regarding tests being run * Restyle fixes * Undo the "interation" typo fix, since the github required runs seems to be name based * Undo the disabling ipv4 by default. Also change infineon P6 to inherit ipv4 defaults (i.e. true for now, but potentially false in the future) * Allow TestDevice.cpp to be compiled with ipv4 turned on * Update listening for IM/Echo requester/responder to use IPv4 if enabled, to preserve cirque compatibility * Use input address for deciding IP types for requester/initiator apps * Fix typo for previous commit: use Type() instead of GetAddressType * Fix typo * Change error to detail for logging IPv4 skip * Change PtrResponse to use IPv6 instead of IPv4 * Do not callback on IPv4 result from avahi when IPv4 not available * Ensure mdns callback on unexpected ipv4 is reported as an INVALID_ADDRESS error
- Loading branch information
Showing
30 changed files
with
160 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.