diff options
author | Thiago Macieira <[email protected]> | 2025-10-17 10:34:13 -0700 |
---|---|---|
committer | Thiago Macieira <[email protected]> | 2025-10-21 16:56:19 -0700 |
commit | 30985c1fabb7281f2ac86cf576a092b7d48aeb3b (patch) | |
tree | 440fd9c9714969b630d61c1c480f751aa86092f6 /src/plugins/platforms/android/qandroidapkfileengine.h | |
parent | 6ec878ccab1b86b46f9dff8d42677f7b260110b2 (diff) |
We had hardcoded Linux, Windows, and the BSDs (which includes macOS and
FreeBSD), which are all OSes I can directly test. Instead of duplicating
the checks everywhere and often not doing it properly, let's centralize
with a static constexpr variable and a correct comment.
In addition, it turns out that all platforms in our CI support receiving
the IPv4 destination address. Indeed, QNX[1][2] and VxWorks
documentations indicate they do have IP_RECVDSTADDR.
Though, it looks like QNX fails to convey the destination address to a
dual-stack IPv6 socket when the sender is IPv4. That's probably an OS
bug. On FreeBSD, which also uses IP_RECVDSTADDR for IPv4, the
ancillary data was present.
[1] https://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.neutrino_lib_ref/i/ip_proto.html
[2] https://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.lib_ref/topic/i/ip_proto.html
Change-Id: I6ee58e3f896e07c9eaa9fffdac51d092901ea855
Reviewed-by: MÃ¥rten Nordheim <[email protected]>
Diffstat (limited to 'src/plugins/platforms/android/qandroidapkfileengine.h')
0 files changed, 0 insertions, 0 deletions