Repository navigation
feat(netctl): add sceNetCtlGetInfoV6 argument and connection checks - #8100
Merged
oneandonlydean merged 1 commit intoOct 20, 2026
Merged
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
Contributor
|
Rebase please. |
Titles import sceNetCtlGetInfoV6, and a missing import stops them at load. The checks that need no answer layout are implemented; every code throws when the host has IPv6, since the layout of the answer is not verified.
LuisAguilarDev
force-pushed
the
feat/netctl-get-info-v6
branch
from
October 20, 2026 01:20
aa769ce to
1b33f14
Compare
12 tasks done
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
sceNetCtlGetInfoV6to libSceNetCtl. libSceNetCtl exportssceNetCtlGetStateV6and the V6 callback calls but not this one, so a title that imports it stops at load.The signature
(int code, SceNetCtlInfoV6* info)and codes 1-5 (IP address, link-local address, default route, primary and secondary DNS) come only from SharpProspero; shadPS4 and fpPS4 only stub the call. Only the checks that need no answer layout are implemented:inforeturnsSCE_NET_CTL_ERROR_INVALID_ADDRSCE_NET_CTL_ERROR_INVALID_CODESCE_NET_CTL_ERROR_NOT_CONNECTED, the statesceNetCtlGetStateV6reports for itThe layout of each answer is not verified, so every valid code throws on a host with an IPv6 address. The gap is recorded under Unknown function info in
docs/dev/debt/libSceNetCtl.md.Overlaps #7612, which declares
sceNetCtlGetInfoV6without parameters as a throwing stub (NotImplemented_nid_no_patch); this PR adds the argument and connection checks: the signature from SharpProspero,INVALID_ADDR,INVALID_CODEandNOT_CONNECTEDas above, and a test. Only a valid code on a host with IPv6 throws.Tested
guest_net_ctlpasses in 0.28 s. It covers codes 0 and 6, a nullinfo, andNOT_CONNECTEDwhensceNetCtlGetStateV6reports no IPv6 address.tools/check_conventions.py --base upstream/mainandgit diff --checkpass.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Replaces #7721, which GitHub does not allow to reopen after the open PR limit closed it. Same branch and commit; the discussion is there.