libSceRudp: six exports need their argument lists and checks from the firmware module #13682

Open
opened 2026-10-30 23:39:38 +00:00 by zaryabzip · 0 comments
zaryabzip commented 2026-10-30 23:39:38 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-10-30T23:39:38Z.


What happens

Six libSceRudp exports still throw through NotImplemented_nid_no_patch on every call. They're the library's last todo exports:

  • sceRudpAccept, sceRudpListen, sceRudpFlush, sceRudpGetLocalInfo and sceRudpGetContextBufferStatus are declared without parameters, because no prototype is known.
  • sceRudpGetRemoteInfo(int contextId, void* address, uint32_t* addressSize, uint16_t* virtualPort) has a declared argument list, but its checks and answers are unknown.

What's known

  • The names and NIDs come from the PS5 3.20 and 13.60 inventories. docs/dev/debt/libSceRudp.md records the gap.
  • Vita3K's SceLibRudp leaves Flush, GetLocalInfo and GetRemoteInfo unimplemented. RPCS3's cellRudp and shadPS4 have no bodies either.
  • No open pull request touches them. A search of every open PR's diff for the six names found nothing.
  • Everything else in the library already follows the measured paths. Contexts here never leave the reset/idle state, because there's no reliable-UDP stack on the host. So the useful part is each call's argument list, initialization check, context and argument checks, and what it answers for a context that was created but never bound, listened or activated.

What would settle it

The argument lists and the checks with their order and error codes, from libSceRudp.sprx. Either of the setups already used for this library would do:

  • @BunnyFl's firmware 13.42 run of the module (#10954);
  • @HabibUrRehmanBhattii's retail 13.60 probe of the real module (#11294).

Calls on a context with no connection are enough. What a connected context answers can stay unsupported.

What was checked

main at 5857e2e98f; tools/progress.py; Vita3K at c86ac732, RPCS3, shadPS4 0614ce32, KytyPS5 4919fdb6 and sharpemu b1ec2866; and the diffs of all open PRs.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6128666416 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/13682). Originally posted by [zaryabzip](https://github.com/zaryabzip) on 2026-10-30T23:39:38Z. --- ### What happens Six libSceRudp exports still throw through `NotImplemented_nid_no_patch` on every call. They're the library's last todo exports: - `sceRudpAccept`, `sceRudpListen`, `sceRudpFlush`, `sceRudpGetLocalInfo` and `sceRudpGetContextBufferStatus` are declared without parameters, because no prototype is known. - `sceRudpGetRemoteInfo(int contextId, void* address, uint32_t* addressSize, uint16_t* virtualPort)` has a declared argument list, but its checks and answers are unknown. ### What's known - The names and NIDs come from the [PS5 3.20](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceRudp.c) and [13.60](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/bfec40deb4c47a17d7603ee2bc79aa6862c0c56b/data/firmware-13.60/) inventories. `docs/dev/debt/libSceRudp.md` records the gap. - [Vita3K's `SceLibRudp`](https://github.com/AndnixSH/Vita3K-PS-Vita-OS-Fork/blob/c86ac732bc811057e690bed280c5076bdf95385e/vita3k/modules/SceRudp/SceLibRudp.cpp#L1052-L1078) leaves `Flush`, `GetLocalInfo` and `GetRemoteInfo` unimplemented. RPCS3's `cellRudp` and shadPS4 have no bodies either. - No open pull request touches them. A search of every open PR's diff for the six names found nothing. - Everything else in the library already follows the measured paths. Contexts here never leave the reset/idle state, because there's no reliable-UDP stack on the host. So the useful part is each call's argument list, initialization check, context and argument checks, and what it answers for a context that was created but never bound, listened or activated. ### What would settle it The argument lists and the checks with their order and error codes, from `libSceRudp.sprx`. Either of the setups already used for this library would do: - @BunnyFl's firmware 13.42 run of the module (#10954); - @HabibUrRehmanBhattii's retail 13.60 probe of the real module (#11294). Calls on a context with no connection are enough. What a connected context answers can stay unsupported. ### What was checked `main` at 5857e2e98f; `tools/progress.py`; Vita3K at c86ac732, RPCS3, shadPS4 0614ce32, KytyPS5 4919fdb6 and sharpemu b1ec2866; and the diffs of all open PRs. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#13682
No description provided.