Skip to content

fix(net): provide IPv6 unspecified address object - #1248

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
eliasbruno124-dev:fix/net-ipv6-any-current
Oct 8, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
eliasbruno124-dev:fix/net-ipv6-any-current

Conversation

@eliasbruno124-dev

@eliasbruno124-dev eliasbruno124-dev commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

What

PPSA01494, version 01.003.001, imports GAtITrgxKDE from libSceNet as a data object. It recomputes to sce_net_in6addr_any, which is absent from main. The original address constructor reads 16 bytes through that import and places them in an IPv6 socket address.

Add the constant 16-byte unspecified-address object, with four-byte alignment. Its zero representation follows RFC 3493, section 3.8 and RFC 4291, section 2.5.2. No socket implementation or module-loading behavior changes.

#1096 adds the separately named in6addr_any and in6addr_loopback exports. #1119 changes memory-pool statistics. Neither is a dependency. The declaration and test invocation are placed away from their insertion points; both current combinations merge without a conflict. No foreign implementation is included in this PR.

Tested

Windows 11, WinLibs MinGW-w64 GCC 15.2.0, Release. Final commit 971099aa15f7f2d1f4229730cfd9fb56efe13c59, based on main c5e10184a2cd2a5c5585f1c8bdec78e04845318d:

  • The complete extended GuestSceNet fixture fails to link against the baseline because this object is absent. After rebuilding libSceNet, it passes. The added test formats ::, binds an IPv6 UDP wildcard socket, receives a loopback datagram, checks the peer and preserves the constant. Existing networking checks also pass.
  • The old conflict with feat(libs): report Http2, Ssl and Net memory pool statistics #1119 was reproduced. After moving this test's invocation, a separate local combination with feat(libs): report Http2, Ssl and Net memory pool statistics #1119 at 8b0a2074bda72fa8060451779f0ed1c871c12558 builds and passes the full combined Net fixture, including both pool-statistics and IPv6 checks. This does not validate that PR's Http2/Ssl behavior or its PS5 layout assumptions.
  • The current conventions check passes. All production code and test assertions are unchanged from this PR's previous head; only the test invocation moved. Original inputs, baseline libraries and build objects remain unchanged.
  • Historical evidence from previous head 27dc4ecd737fd3e3a53d232c215b298fb757a856 was reverified, not rerun: 96 port/alignment cases execute the unchanged original 43-byte address constructor against the NID-patched export, with the full socket address and surrounding sentinels checked. The previous feat(libSceNet): export in6addr_any and in6addr_loopback #1096 combination passed the full networking fixture. Current feat(libSceNet): export in6addr_any and in6addr_loopback #1096 at 63af67138f9d7fe89fece9345123a209990f133b still merges cleanly.

These are component builds using audited, unchanged dependencies from source-built main 3c054008, not a new complete runtime build. Native Linux and PS5 hardware were not tested. The retained title still stops earlier at missing libScePsml.prx; isolated constructor tests and static import resolution do not establish a successful title launch or gameplay. That unchanged startup failure was not repeated. No proprietary title code or files are included.

Checklist

  • Based on current main; no other open PR implements the same export
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw; no silent stubs added
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

@eliasbruno124-dev
eliasbruno124-dev force-pushed the fix/net-ipv6-any-current branch from 27dc4ec to 971099a Compare October 7, 2026 20:14
@github-actions github-actions Bot added the prx label Oct 7, 2026
@oneandonlydean
oneandonlydean merged commit c8a2f06 into boykopovar:main Oct 8, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants