64 KiB
libSceNet technical debt
Additional callable exports
- Additional callable exports - 8 entries present in both version-labelled images;
DnB6WJ91HGgis implemented (see below), the other seven are import-resolution declarations only and are absent from the PS4 firmware 10.71 and 11.00 libSceNet exports. All belong to modulelibSceNet; seven have logical librarylibSceNetand one has logical librarylibSceNetDebug. Neither label authenticates retail provenance. For the seven, parameterlessintdeclarations are placeholders, not verified ABI contracts; they throw throughNotImplemented_nid_no_patch. Unidentified names use literal NID aliases. Identified candidate names match their NIDs in the public symbol database or supplemental catalog.
| Name | NID |
|---|---|
Unknown |
+hZ3zpjYiYw |
Unknown |
-qjsa0xOWMc |
Unknown |
DnB6WJ91HGg |
Unknown |
HMievhVSU3g |
Unknown |
YQZkUbAw6rg |
Unknown |
guwFkKH+wP8 |
Unknown |
mnXcgCBmiV0 |
Unknown |
pGboVhl-6P0 |
- sceNetShowRouteWithMemory, sceNetShowIfconfigWithMemory, sceNetShowPolicyWithMemory, sceNetShowRoute6WithMemory (libSceNet) - validates memory pool ID and returns success without printing anything: the
(poolId)signature and pool validation follow shadPS4 andsceNetShowNetstatWithMemory; shadPS4 stubs the Ifconfig, Policy and Route6 forms the same way, validating the pool and returning success. What the console prints and where is unverified
Silent stubs
- sceNetShowIfconfig, sceNetShowNetstat (libSceNet) print the console's layout (a PS5 on firmware 13.40, measured 2026-10-19) with what the emulator knows. Ifconfig prints
eth0from the host interfacesceNetCtlGetInforeports, without its IPv6 address,UP6, link status, traffic counters or times, thenlo0as the console does and the two IPv4 DNS servers, with::, ::for IPv6. It leaves out the wireless interfaces and the pool and statistics sections. Netstat lists only the title's sockets and epolls; the console lists every process's. The self and non-blocking flags, addresses, buffer sizes and names are filled; the R, S, RE and SE flags, the field after the type, queue lengths, rates and drops print as for an idle socket, TCP states are onlyLISTEN,ESTABLISHEDandCLOSED, and the self flag on epolls is inferred. Before initialization both return the not-initialized error. - sceNetShowPolicy, sceNetShowNetstatEx, sceNetShowRoute, sceNetShowRoute6 (libSceNet) - what the console prints and where remain unverified; the host prints nothing. A PS5 payload on firmware 13.590.001 returned 0 from Policy, Route and Route6. NetstatEx rejects flag bit 0x10000 with
0x80410116and network errno 22 before or aftersceNetInit; all other individual bits and combinations without it returned 0 and preserved network errno. The libc errno slot was separate and unchanged; no diagnostic text appeared on payload stdout. The()and(uint32_t flags)signatures follow shadPS4. PPSA01530 fails to load without ShowIfconfig (#3177); PPSA11386 imports ShowNetstat but does not call it during start-up. - sceNetGetStatisticsInfo (libSceNet) - fills the six 32-bit fields (kernel memory free and minimum free, packet count, QoS packet count, library memory free and minimum free) with 16 MiB free, nothing queued and no flag check, and a null pointer fails with
EFAULT, as shadPS4 does; the layout follows itsnet_types.h. The host has no counters for the console's network memory, so the values are not measured and the call works beforesceNetInit.
Unknown function info
-
sceNetSetDnsInfoToKernel, sceNetSetDns6InfoToKernel (libSceNet) -
sceNetSetDnsInfoToKernelforwards tosceNetSetDnsInfo, updating process-local DNS configuration overrides; this forwarding is inferred and unmeasured on console hardware.sceNetSetDns6InfoToKernelremains unverified on hardware and throws throughNotImplemented_nid_no_patch. -
sceNetGetsockopt -
SO_PROTOCOLon raw sockets throws: FreeBSD's raw protocol-switch selection has not been mapped to host raw sockets. For stream and datagram sockets, the effective creation protocol and accepted-socket inheritance follow FreeBSD 11.4's protocol tables and sogetopt; the0x1016option and truncated integer output are not measured on PS5. Existing null-pointer validation still returnsEINVAL. -
sceNetRecv, sceNetRecvfrom and sceNetRecvmsg (libSceNet) - zero-length TCP receives while connecting, after disconnect, or with a pending host error still use the host receive path. Error and output precedence in those states is unmeasured on a console. The established, error-free case follows FreeBSD 11.4's
soreceive_generic. -
sceNetConfigAddIfaddr (libSceNet) - disassembly confirms the same interface/address/broadcast/netmask arguments as SetIfaddr, entering its shared handler with add mode selected. GetIfaddr copies up to two 16-byte interface-address records. GetRouteInfo uses a family, record buffer, signed capacity and byte flags; internal statistics output is 16 bytes. The address-record and internal-statistics fields remain incomplete.
-
Resolver-connect, interface and diagnostic queries and WLAN configuration retain unsupported implementations past the argument checks described under PS4 firmware 10.71 module. Their restored argument lists still reference incomplete connection, interface, route, WLAN and statistics types. Kernel ioctl payloads need reconstruction from their handlers or consumers; buffer lengths alone do not establish field types.
-
sceNetThreadCreate, sceNetThreadExit, sceNetThreadJoin, sceNetEmulationGet and sceNetEmulationSet (libSceNet) - the signatures, the
{ entry, arg, reserved, flags }parameter block and theEOPNOTSUPPof the two emulation calls ("not available on retail units") follow shadPS4 (PS4), not a PS5 measurement. The block is read on the new thread, so it must stay valid until the thread starts,flagsis ignored (shadPS4 ends the thread withpthread_exitwhen bit 0 is set, which ends it the same way), and a failingscePthreadCreateorscePthreadJoinresult is returned as it is, where shadPS4 also sets the net errno from it -
sceNetEmulationDebugSettingsGet and sceNetEmulationDebugSettingsSet (libSceNet) - both return
EOPNOTSUPPby analogy withsceNetEmulationGet/Set, whose unsupported-operation policy ("not available on retail units") the pinned shadPS4 revision defines. That revision does not define this debug-settings pair, so their signatures and theEOPNOTSUPPresult are not sourced from it and were not measured on a PS5 -
sceHttp2GetMemoryPoolStats, sceSslGetMemoryPoolStats, sceNetGetMemoryPoolStats (libSceHttp2, libSceSsl, libSceNet) - the signatures
(int id, stats*), the layouts (pool size, peak and current use, and for Http2 and Ssl a 32-bit reserved field) and the error codes were measured on a PS5 (firmware 13.60). The pool size is the one given at init or pool creation. Http2 and Net allocate nothing from these pools. Ssl counts its certificate backend allocations and returned data against its pool; C++ bookkeeping is outside that budget. All three initially report zero use, where the console already reports 0x15C0 bytes for Ssl, 0x1640 for Http2 and 4 for a Net pool. Ssl's allocation sizes and peak usage do not reproduce the console allocator. sceNetGetMemoryPoolStats returns EFAULT and sceSslGetMemoryPoolStats SSL_ERROR_INVALID_VALUE for unwritable non-null outputs, AnyPS5 safety measures absent from the probed module. -
sceNetEtherNtostr and sceNetEtherStrton (libSceNet) - inaccessible non-null guest source or destination pointers return EFAULT rather than faulting the host. This is an AnyPS5 host-safety result, not a PS5-measured error; null arguments and short-buffer EINVAL retain their measured precedence.
-
sceNetClearDnsCache (libSceNet) - the library has no DNS cache to clear because lookups use the host resolver. The host resolver cache is left unchanged.
-
sceNetEtherStrton (libSceNet) - strings shorter than 17 bytes return EINVAL without changing the output, rather than reading past the terminating NUL as in the firmware 13.60 probe. Non-ASCII digit bytes throw because their decoding is unmeasured; other firmware versions remain unverified. Fixed character pairs, ignored separators, alphabetic values beyond f, non-alphanumeric ASCII values of 0x7f, and null-pointer EINVAL follow those measurements, not the strict shadPS4 parser
-
sceNetGetDnsInfo (libSceNet) - host-interface selection, zeroing unused slots and returning 0 without a host IPv4 interface remain unverified on PS5 hardware. It reports the host interface's DNS servers until a guest override is set. The two network-order IPv4 slots and returned count follow the PS4 OpenOrbis musl resolver and Net.h.
-
sceNetGetRandom (libSceNet) - generates values with the host random device; the system library maintains its own seeded PRNG state.
-
sceNetInetPtonEx (libSceNet) - for IPv6 a null
dstreturnsNET_EINVALhere, where it crashed a payload process on a PS5 (firmware 13.60). The(int af, const char* src, void* dst, int flags)signature follows shadPS4. On PS4 firmware 10.71 and on that PS5, IPv4 text is read asinet_atonreads it (a,a.b,a.b.c, hex and octal parts, values wrapping at 32 bits, the text ending at a space, tab or VT), except that a part starting with09is decimal ("0989"is 989) and an octal part with8or9fails; flags were ignored (PS4: 0, single bits up to 0x100, 0x10000, 0x80000000, -1; PS5: 1, 2, 4, 0x100, 0x10000, -1). On the PS5 only: LF, FF and CR also end the text, a nullsrcreturnsNET_EINVAL, and a nulldstreturns 1 or 0 without writing or setting errno. IPv6 converts assceNetInetPtondoes -
sceNetInitParam (libSceNet) - measured on firmware 13.42
libSceNet.sprxby BunnyFl: a null parameter on the first call returns0x80410116, the first non-null call copies its first 32 bytes and returns 0, and every call after a successful one, null or not, returns0x80410110, aftersceNetTermtoo. Pool IDs remain host-generated rather than the module's 3000 to 3031 or 3000 to 3127 ranges; its slot-reuse order is unverified. The first successful call also marks the library initialized, assceNetInitdoes here, where the other calls check it; on the consolesceNetInitandsceNetTermonly return 0. A checked guest read is used, returning EFAULT for unreadable non-null parameter pointers. -
sceNetMemoryAllocate and sceNetMemoryFree (libSceNet) - allocations use the guest heap instead of the system network pool. Pool limits, its allocation accounting and free-time fill are not reproduced: a reused block allocated without flag 2 holds 0xdd bytes on the console and its previous contents here. Flag 4 bypasses the system pool reserve threshold; with no pool there is no threshold, so it allocates as other flags do. What the console returns once the pool is exhausted is unmeasured; AnyPS5 returns null without setting an errno. Measured on a PS5 (firmware 13.60): a size of 0 or less returns null and leaves
sceNetErrnoLocunchanged, flag 2 zero-fills, flags 1, 4, 8, 0x10, 0x100 and 0x80000000 had no visible effect, and every block of 1 to 65536 bytes was 64-byte aligned -
sceNetConfigCleanUpAllInterfaces (libSceNet) - the native routine consumes no arguments; the throwing implementation remains unchanged.
-
sceNetConfigGetIfFlags (libSceNet) - interfaces 1 to 9 throw: the console answers them from the kernel, and
eth0needs the host interface only libSceNetCtl tracks.lo0(0) reportsIFF_UP | IFF_LOOPBACK | IFF_RUNNING | IFF_MULTICAST(0x8049), the flags FreeBSD 11 gives a configured loopback (sys/net/if_loop.c, combined asSIOCGIFFLAGSdoes insys/net/if.c); unverified on console. A number of 10 or more returns -1 with the flags untouched, and a null flags pointer returns0x8041130Ebefore anything else, as firmware 13.42's module does (measured by BunnyFl); the errno left after its failedSIOCGIFFLAGSisn't modelled. Calls beforesceNetInitare answered the same way, also unverified -
sceNetDhcpdStart: six arguments and the three-argument address callback are confirmed. The 24-byte parameter contains five network-order addresses and a client limit. Individual address roles and the two unused thread-option meanings remain unresolved.
-
sceNetPppoeStart: seven arguments are confirmed, including the parameter pointer on the stack. The 272-byte parameter contains two DNS addresses, two 128-byte credential arrays, MTU and flags. Callback arguments are user data, event and error; the two unused thread-option meanings remain unresolved.
-
sceNetConfigRoutingStart: five pointer/scalar arguments are confirmed. Input address data is eight bytes; the mutable server parameter is 20 bytes and duplicates its first address when its count is one. Optional rules contain a count and pointer to 20-byte records with protocol, two address/port pairs and flags. Layouts are defined; rule flag meanings and protocol-specific port interpretation remain unresolved.
-
sceNetConfigRoutingShowRoutingConfig (libSceNet) - the native routine consumes no arguments; the throwing implementation remains unchanged.
-
sceNetSocketInternal, sceNetGetsockoptEx and sceNetSetsockoptEx (libSceNet) - forward to sceNetSocket, sceNetGetsockopt and sceNetSetsockopt. Their restored argument lists match the public ones, and nothing in the tree records how the console tells these entry points apart from the public ones (for example by the calling process).
-
sceNetSysctl (libSceNet) - calls libkernel's sysctl with the FreeBSD sysctl(3) argument list, so it answers exactly the MIBs libkernel models, and reports a failure as the library's other calls do (
0x80410100 | errno, with the errno set). How the console's routine reports errors is not measured. -
sceNetInetNtopWithScopeId and sceNetInetPtonWithScopeId (libSceNet) - console behaviour from the module; slot-to-host-index mapping is ours. A zone name maps to a host index (
lo0the loopback,eth0the first up interface with an address, the others a host interface of that name); a name with no host interface does not convert, and ntop prints the first name, in sceNetGetIfName's order, with the scope's index. A null destination throwsstd::invalid_argument, where the module faults. Not measured: ntop for a scope that matches no interface (throws), exact name comparison, the 0 written to the scope for a plain address, and the order of the family and null checks. Module: rooklz's reading oflibSceNet.sprx, FUN_00006be0 (FUN_000065e0) and FUN_000072d0 (FUN_00006ee0), names through FUN_00005d40, FUN_00005ea0 and FUN_00005f20. -
sceNetConfigGetDefaultRoute (libSceNet) - the route is the host's: the IPv4 gateway of the interface sceNetCtlGetInfo describes (
DEFAULT_ROUTE), in network byte order, stands for the kernel record's dword at 0x84. A null output with a route throwsstd::invalid_argument, where the module faults. Not measured: that the dword is the gateway in that order, whether0x8041130Csets errno (unchanged here), and the getter's other negative results, which have no host source. Module: rooklz's reading oflibSceNet.sprx(NIDlFJb+BlPK1c, wrapper 0x153f0, route-table getter 0xc70):0x804101C8with errno 200 before initialization,0x8041130Cwith the output untouched without a route, and 1 after storing the dword; no null check.
PS4 firmware 10.71 module
DnB6WJ91HGg(libSceNet) - unnamed PS4 10.71 export at 0x15120: a DHCP option lookup(const uint8_t* options, int32_t length, NetDhcpOption* option)where the caller setsoption->code. It walks code/length pairs and on a match stores the value pointer, the length clipped to the bytes left and the declared length, returning 0. A null pointer, a buffer under two bytes, a zero-length or overrunning option before the match, or no match fail with0x80411506(pad and end bytes get no special case). Ported from the disassembly, not measured on a console.- sceNetSyncCreate, sceNetSyncDestroy, sceNetSyncGet, sceNetSyncSignal, sceNetSyncWait (libSceNet) - ported from PS4 10.71 (0x2030, 0x2100, 0x21c0, 0x2220, 0x2210): a
{mutex, cond, signals}object on libkernel pthreads. sceNetInit creates the five indexed objects (DHCP, DHCPd, duplicate-IP, addrconfig6, info dump) with one signal; Get returns null past index 4 without an init check. Wait takes all signal bits, returns 0 on a lock or wait error, and on timeout sets*timeoutto0xFFFFFFFF. Create, Destroy and Signal check init; their pthread errors keep the libkernel code with errno 0xCD unless the code is in the 0x01xx range. The module's library-wide recursive lock is not reproduced. The objects survive sceNetTerm (10.71's Term at 0xbf0 only returns 0). Confirmed on a PS4 Pro, firmware 10.71: Get(5) null, first Wait 1, second 0 (timeout 0xFFFFFFFF), a 2|4 round trip 6. - DHCP, DHCPd, addrconfig6, duplicate-IP, PPPoE and info-dump daemons (libSceNet) - every Start throws: the 10.71 module opens raw, BPF or ICMPv6 sockets, starts a thread and rewrites kernel addresses and routes before or after its checks. Only checks that precede side effects are ported: DhcpdStart needs interface 1, 4 or 5 and a parameter (
0x80411506), DuplicateIpStart interface 3 and a positive first thread parameter (0x80411A01), InfoDumpStart a parameter (-1). Because no Start succeeds, the queries and stops return what the module returns before a start: DhcpGetInfo, DhcpGetInfoEx, DhcpGetAutoipInfo, DhcpStop, DhcpdStop, AddrConfig6GetInfo, AddrConfig6Stop and InfoDumpStop0x8041150A, DuplicateIpStop0x80411A01off interface 3 else0x80411A03, PppoeStop0x80411406, without errno. The query and DuplicateIpStop codes are confirmed on a PS4 Pro, firmware 10.71. - sceNetControl, sceNetGetIfListOnce, sceNetGetRouteInfo, sceNetAllocateAllRouteInfo, sceNetGetArpInfo, sceNetGetStatisticsInfoInternal, sceNetBandwidthControl* (libSceNet) - PS4 10.71 checks are ported: init (
0x804101C8; AllocateAllRouteInfo returns null), Control's interface/index pairing, GetIfListOnce's single record, GetRouteInfo's AF_INET/AF_INET6 family and single-record flag 1, GetArpInfo's mode 0-3, null outputs, non-zero flags and GetDataTraffic's interface -1, eachEINVAL. Past them they throw: the answers come from__sys_netcontrol,__sys_netgetiflistor a PF_ROUTE sysctl of the console kernel, whose records the host cannot supply. sceNetFreeAllRouteInfo frees through the library allocator and returns 0. Confirmed on a PS4 Pro, firmware 10.71: invalid arguments return EINVAL; valid ones return real kernel records the host cannot supply. - sceNetGetIfList (libSceNet) - returns host-derived
NetInterfaceInforecords in the measured PS4 Pro FW 10.71 0x1e0 layout, synthesised likesceNetShowIfconfig:eth0(id 1) from the host primary adapter,lo0(id 2) always. Real fields: name, id, IPv4 address/broadcast/dest/netmask, MTU, UP/BROADCAST/LOOPBACK/MULTICAST/RUNNING flags. eth0's MAC is the synthetic guest MAC (sceNetGetMacAddress), not the host adapter's; lo0's MAC is zero. Zeroed/not reproduced: the live per-interface traffic counters (+0x60..+0x15f, which the console varies and the host cannot supply), the IPv6 region (+0x160.., not exposed, same stance as the MAC),flags2/media-state, and kernel flag bits (console eth00x8803, lo00x8009). Argument checks match the console: a specific id needs buffer+capacity 1, id -1 any capacity, else EINVAL (0x80410116); count capped at capacity. Measured:GetIfList(1,buf,2)EINVAL,GetIfList(-1,buf,10)=4. - sceNetEventCallbackCreate, Destroy, GetError, WaitCB (libSceNet) - PS4 10.71 (0x1840, 0x1920, 0x1ac0, 0x19f0): Create rejects a null callback or non-zero flags with
EINVALand then throws, because registration binds a kernel event socket through netcontrol and waits on a kqueue. With no registration possible, Destroy and GetError returnEINVALand WaitCBENOENT(non-zero flagsEINVAL), as the module does for an empty list. Confirmed on a PS4 Pro, firmware 10.71: Destroy and GetError EINVAL, WaitCB ENOENT. - sceNetDumpCreate, sceNetDumpRead, sceNetDumpDestroy, sceNetDumpAbort (libSceNet) - PS4 10.71 dumps are
/dev/bpf0descriptors. Ported checks: init; Create needs a name, a buffer of at least 0x800 bytes and flags 0, 1, 2 or 4 (EINVAL), a name of 32 or more bytes failing first withENAMETOOLONG; Read needs a buffer, a non-negative length and flags without bits other than 0x20. Past them all four throw: the host has no BPF device, and Destroy and Abort are close and ioctl on the dump descriptor. Confirmed on a PS4 Pro, firmware 10.71: a 32-byte name is ENAMETOOLONG, the small-buffer and bad-flag cases EINVAL. The console's result for an unreadable name or flags pointer is unmeasured. AnyPS5 returnsEFAULTwhere the raw read could crash the host. - sceNetShowIfconfigForBuffer, ShowRouteForBuffer, ShowRoute6ForBuffer, ShowNetstatForBuffer, ShowNetstatExForBuffer (libSceNet) - PS4 10.71 checks: init, then a non-null buffer under 0x2000 bytes is
EINVAL; NetstatEx rejects flag 0x10000 first. Past them they throw: the module formats the kernel's interface, route and socket tables with vsnprintf into the buffer, truncated at 0x2000 bytes whatever the size, or prints them when the buffer is null, and that text is not reproduced. Confirmed on a PS4 Pro, firmware 10.71: a buffer under 0x2000 is EINVAL, and a 0x2000 buffer with pool 0 prints the interface text and returns 0. - sceNetResolverConnectCreate, Connect, Destroy, Abort (libSceNet) - PS4 10.71 checks: init; Create needs a connection and zero flags, Connect a connection, Abort a connection and flags 0 or 1 (
EINVAL); Destroy of a connection whose created bit (byte 0x1D8, bit 0) is clear returnsEBADFwithout side effects. The rest throws: the 0x1E0-byte connection owns IPv6 and IPv4 sockets, a pool, two resolvers and an epoll, and Connect tries IPv6 then IPv4 with non-blocking connects. Connect's later error paths also close the sockets stored in the connection. Not measured on a console. - sceNetAllocateAllRouteInfo6, sceNetDbgInit, sceNetDumpSetFilterParam, sceNetGetAppMemInfo, sceNetGetIfListEx, sceNetGetInterfaceStats, sceNetGetSystemMemInfo (libSceNet) - absent from the PS4 firmware 10.71 and 11.00 libSceNet exports, so there is no module code to port; they throw.
Functional
-
sceNetGetMacAddress (libSceNet) - the console's result for a non-null unwritable output is unmeasured. AnyPS5 returns
EFAULTthrough a checked guest write instead of crashing the host; null output and invalid flags retainEINVAL. The synthetic address remains independent of the host adapter. -
sceNetGetStatisticsInfo (libSceNet) - the console's result for a non-null unwritable output is unmeasured. AnyPS5 returns
EFAULTthrough a checked guest write instead of crashing the host while preserving the caller's errno; null output retainsEFAULT. -
sceNetGetSockInfo and sceNetGetSockInfo6 (libSceNet) - the console's result for an unwritable output is unmeasured. A failed guest write returns
EFAULTwhere a raw write could crash the host. The list path writes one record at a time, so a fault leaves earlier records written. Each checked write preserves host errno. -
sceNetGetRandom (libSceNet) - the console's result for a non-null unwritable output is unmeasured. AnyPS5 returns
EFAULTthrough a checked guest write instead of crashing the host while preserving the caller's errno; null output retainsEINVAL. -
IPV6_V6ONLY in sceNetSetsockopt and sceNetGetsockopt is unverified on PS5. The IPv6 level (41), option (27), exact integer input size, nonzero enable behavior, boolean readback and rejection after binding follow FreeBSD 11.4's
ip6_ctloutput. The shared libkernel option implementation applies the host's IPv6-only mode; disabling it permits IPv4-mapped traffic on a socket bound to the IPv6 wildcard address. Host network configuration controls IPv6 availability. Null buffers retain this library'sEINVALbehavior instead of FreeBSD's fault handling. Crimson Desert (PPSA25286) disables it, passing a 4-byte 0 at both of its two calls; of the other nine titles checked, only Borderlands 4 (PPSA01494) passes an IPv6-level option as a constant, oneIPV6_JOIN_GROUP(12). -
sceNetRecvfrom (libSceNet) - the console result for an unreadable or unwritable source address length, or an unwritable datagram source address, is unmeasured. Checked guest access returns EFAULT where a raw access could crash the host. Stream receives report a zero source address length and ignore the address buffer, matching the forwarded libkernel stream path. The length is checked before receiving payload.
-
sceNetRecv/sceNetRecvfrom (libSceNet) translate Windows WSAEMSGSIZE into the copied byte count for datagram sockets, including MSG_PEEK, and retain the sender address. This follows FreeBSD 11.4 recv(2) and Winsock's documented truncated-datagram behavior; the console measurement covered only libkernel_sys
recvandrecvfrom, not libSceNet. -
sceNetUsleep (libSceNet) - whether the console prints its
[LIBNET] usleep <count>line for a negative count beforesceNetInitis unmeasured; nothing is printed here. What an interrupted sleep returns is unmeasured: AnyPS5 returns the result of libkernel'ssceKernelUsleep, a cancellation point. The signed 32-bit count (the upper half of the register is ignored) and the 0 result were measured on a PS5 (firmware 13.60) -
sceNetIoctl (libSceNet) - on a
sceNetSocketsocket onlyFIONBIOandFIONREADare handled and other requests fail withENOTTY, as in libkernel'sioctl, though FreeBSD 11.4'ssoo_ioctlhandles more; not measured on a console. shadPS4 (PS4) returnsEINVALfor other requests.FIONBIOsetsSO_NBIO, assumed to besoo_ioctl'sSS_NBIO.FIONREADasks the host, which on Linux counts only the next datagram wheresoo_ioctlcounts all; on macOS a non-stream socket usesSO_NREAD(next datagram), as macOS'sFIONREADcounts more. A PS4 Pro counts payload plus 16 bytes per datagram (#9932). Libkernel's own sockets go to itsioctl; other descriptors getEBADF. -
sceNetResolverGetError (libSceNet) - the console's error for a non-null unwritable status output is unmeasured. AnyPS5 returns
EFAULTthrough a checked guest write instead of crashing the host; null output retainsEINVALand an unknown resolver retainsEBADF. -
sceNetResolverStartAton6 (libSceNet) reverse-resolves a 16-byte IPv6 address through the host resolver (
getnameinfowithNI_NAMEREQD) into the caller's buffer oflenbytes, assceNetResolverStartAtondoes for IPv4. The(rid, addr, hostname, len, timeout, retry, flags)signature comes from SharpProspero. An address with no name, or a name longer thanlen - 1bytes, fails withRESOLVER_ENODNS(0x804101E1) and leaves the buffer untouched; whether the console truncates instead is not verified. Abort flag 2 (ATON preservation) fails the next call withEINTRas it doessceNetResolverStartAton. Timeout and retry are ignored, and any nonzero flags throw because their meaning is unknown -
sceNetResolverStartAton and sceNetResolverStartAton6 - the host reverse-DNS scratch buffer is limited to
NI_MAXHOSTeven if the guest declares a much larger output capacity. This avoids allocating untrustedlenbytes before calling the host resolver; the host cannot return a name longer thanNI_MAXHOST - 1throughgetnameinfo. A smaller guest capacity still constrains the host call and can produce the existing resolver no-DNS error. The host limit and its handling of oversized lengths are not independently verified on a PS5. -
sceNetResolverStartAton and sceNetResolverStartAton6 guest pointers (libSceNet) - each entry reads its 4- or 16-byte address with a checked guest copy, and their shared reverse lookup writes the completed host name with a checked guest copy. A non-null inaccessible address or output returns
EFAULTinstead of faulting the host. This is an AnyPS5 safety fallback, unmeasured on a console. Input failures happen after the existing flag and null/length checks but before resolver lookup; output failures happen only after a successful host lookup, and the stored resolver status still reflects that lookup rather than the failed guest write. -
sceNetAccept (libSceNet) inherits the listener's non-blocking mode through the existing
SO_NBIOsetter, as the libkernel socket path does and FreeBSD'ssonewconncopies the socket state. The mode is read after the host accept returns; changes between connection creation and accept are not modelled. Not measured on a console. -
sceNetConnect to AF_UNSPEC (libSceNet) dissolves a datagram association as FreeBSD 11.4's
udp_disconnect()does, which resets the local address to the wildcard address and keeps the port. On Linux and on Windows a socket bound to an explicit port keeps its local address as well (127.0.0.1:<port>stays127.0.0.1:<port>), because a bound socket cannot be bound again, andsceNetGetsocknamereports that host address. On Windows asendtoon such a host socket to a non-loopback address fails with Winsock error 10051 (measured on the host socket, not throughsceNetSendto), where FreeBSD sends it from the wildcard address. One bound to port 0 is bound again to the wildcard address with the port it had -
sceNetSetsockopt (libSceNet) sets
SO_RCVTIMEOandSO_SNDTIMEOas the host socket's timeouts. Windows sockets stay non-blocking and the library waits for readiness until the stored timeout. Blocking stream sends return the queued byte count on timeout, orEAGAINwhen no bytes were queued. -
sceNetSetsockopt, sceNetGetsockopt (libSceNet) take
SO_SNDTIMEOandSO_RCVTIMEO(0x1005, 0x1006) as a 16-bytestruct timeval, as FreeBSD 11.4'ssosetoptandsogetoptdo, and Sony's 0x1105 and 0x1106 as anintof microseconds. A console log of ProsperoLight (firmware 12.20) shows receives timing out every 100 ms after it gave 0x1006 a{0, 100000}timeval. The errors for a value shorter than a timeval (EINVAL) or out of range (EDOM), andsceNetGetsockoptcutting the timeval to the caller's length, follow FreeBSD'ssooptcopyinandsooptcopyoutand are not measured on a console -
sceNetSetsockopt, sceNetGetsockopt and sceNetConnect (libSceNet) take
0x1109(shadPS4'sORBIS_NET_SO_CONNECTTIMEO) as anintof microseconds, like 0x1105 and 0x1106, and a blocking streamsceNetConnectwaits at most that long for the connection; 0 waits without a limit and a negative value fails withEINVAL, as for 0x1105 and 0x1106. As in a payload process on a PS5 (firmware 13.60) connecting to an unroutable address, the time running out returnsEAGAIN(0x80410123) withSO_ERROR0 (1,500,000 and 200,000 measured), and the nextsceNetConnecton that socketEADDRINUSE(0x80410130), measured at once; a later one throws, unmeasured. A value of 1 read back as 1000 there and as 1 here; the rounding is unmeasured. The host connection attempt is left running. Codex PS5 (PPSA99105) sets 1,500,000 before it connects to its local service. -
SO_OOBINLINE uses native TCP urgent-data handling; its urgent-pointer and signalling behavior has not been compared with PS5. The flag bit (0x100), non-stream flag storage and truncated readback follow FreeBSD 11.4 sosetopt/sogetopt. Null pointers retain the existing libSceNet
EINVALresult. -
sceNetSetsockopt (libSceNet) stores
SO_ONESBCAST(0x10000, shadPS4'sORBIS_NET_SO_ONESBCAST) per socket andsceNetGetsockoptreads back the value that was set, as shadPS4 does; PPSA34501 sets it and crashes later when it fails withEOPNOTSUPP. Sends ignore it. FreeBSD 11.4's ip(4) documents the like-namedIPPROTO_IPoptionIP_ONESBCAST: a datagram sent to an interface's directed broadcast address, such as 192.168.2.255, leaves through that interface with its destination rewritten to 255.255.255.255, and only on a socket allowed to setSO_BROADCAST. Here host routing selects the outgoing interface and the destination is not rewritten. shadPS4 also leaves sends unchanged, and its TODO reads the option the other way round: a send to 255.255.255.255 would be converted to the interface's broadcast address. Whether the console'sSOL_SOCKEToption behaves likeIP_ONESBCAST, and what it reads back, is not verified on hardware. FreeBSD 11.4'ssogetopt()reads several boolean socket options back as their flag bit (so_options & optname,sys/kern/uipc_socket.c), not as the value set; whether the console does so for0x10000is unknown -
sceNetSetsockopt socket-level options (libSceNet) - a
SOL_SOCKEToption it does not handle returnsEOPNOTSUPP. Titles checked set two of them, named as in shadPS4'snet_types.h:SO_POLICY(0x1201) once each in PPSA01494, PPSA21564, PPSA30839 and PPSA31162;SO_USECRYPTO(0x20000) twice in PPSA02225. What the console does with them is unknown -
SO_REUSEADDR, SO_REUSEPORT and SO_BROADCAST readback follows FreeBSD 11.4 flag-bit and truncated-output conventions; direct libSceNet results on PS5 remain unmeasured. Reuse flags and accepted-socket inheritance share the kernel model verified through libkernel_sys on firmware 13.60 in #10330. Host reuse behavior uses the existing kernel mapping: separate native options on Unix, combined SO_REUSEADDR on Windows with independent guest flag state. Windows still allows duplicate unicast binds with SO_REUSEADDR alone, unlike FreeBSD's separate SO_REUSEPORT requirement. Null pointers retain libSceNet's EINVAL result.
-
SO_DONTROUTE readback follows FreeBSD 11.4's sogetopt: enabled returns 0x10, and output is truncated to the supplied length. PS5 results are unverified. Winsock ignores this option and always consults the routing table, round-tripping only through get/setsockopt; on POSIX hosts, off-link sends fail with
ENETUNREACH. -
sceNetGetsockopt (libSceNet) reads
SO_ERRORfrom the host socket. Winsock does not clear a socket's pending error when it is read, so on Windows the library reports a pending error once and shows it again only after a newsceNetConnect; a second failure with the same code on the same socket without asceNetConnectin between would be hidden. One title (PPSA02225) disassembled for this entry has one call site (0x1056d34), with level 0xffff, option 0x1007 (FreeBSD'sSOL_SOCKETandSO_ERROR) and a length variable set to 4 beforehand, reached only after a helper called with the value 2 returned true. For a negative result it takes the thread's error code as the value; for a result of 0 or more with a value of 0 it reports the connection as made, and otherwise it turns the value into an error code of its own. The call does not show how often the title reads it or whether it keeps using the socket after an error. -
SO_KEEPALIVE uses the host TCP keepalive timers and probe count, which can differ from the console. The boolean flag, bit-valued readback and truncated output follow FreeBSD 11.4's sosetopt and sogetopt, without PS5 hardware verification. Non-stream sockets retain the flag without sending probes, as FreeBSD does. Null pointers retain the existing libSceNet
EINVALresult instead of FreeBSD'sEFAULT. -
TCP socket options -
TCP_MAXSEG,TCP_KEEPIDLE,TCP_KEEPINTVLandTCP_KEEPCNTdo not change host MSS or keepalive timers, connectedTCP_MAXSEGinitially reads 536/1220 instead of the negotiated MSS, and direct PS5libSceNetbehavior is unmeasured. Keepalive defaults and readback follow the PS5 13.60pinet4probe; family MSS defaults (536 IPv4, 1220 IPv6), requiring a peer forTCP_MAXSEGsets, and clamping 176..216 to 216 follow the PS5 13.60pmaxsegprobe (libkernel_sys). Timer bounds (hz = 1000) and keepalive/MSS inheritance follow FreeBSD 11.4's tcp_usrreq.c and tcp_syncache.c. -
sceNetSetsockopt, sceNetGetsockopt -
TCP_NOPUSH,TCP_NOOPT,0x80and other TCP options remain unsupported (ENOPROTOOPT).TCP_NODELAYsets on refused, reset orTIME_WAITsockets can succeed through the host where FreeBSD 11.4's tcp_ctloutput returnsECONNRESET. A null setter value returnsEINVALrather thankern_setsockopt'sEFAULT. The non-streamIPPROTO_TCPerror (EINVAL) andTF_NODELAYflag readback follow FreeBSD, not PS5 measurements. -
SO_TYPE and SO_ACCEPTCONN read the guest socket type and listening flag, with bit-valued listening results and truncated output following FreeBSD 11.4's sogetopt, without PS5 verification. Null pointers retain the existing libSceNet
EINVALresult instead of FreeBSD's pointer handling. -
sceNetGetSockInfo (libSceNet) reports 0 for the name, pid, policy, send queue length, virtual ports, state, bandwidth, drops and waits, sets no status flag except
SELF(0x1) andNONBLOCK(0x200000), and reports the host's buffer sizes where none was set. An IPv6 socket fails withEAFNOSUPPORTand is not counted or listed; shadPS4 lists it with zero addresses.flagsbits other than 0x40 fail withEINVAL, where shadPS4 ignoresflags; 0x40 adds sockets in TIME_WAIT (SharpProspero), but closed sockets are not kept. Otherwise thesbelow 0 count and list, the return value andEINVALfor a nullinfoor annbelow 1 follow shadPS4. Not measured on a console. -
sceNetGetSockInfo priority (libSceNet) - every record
sceNetGetSockInfowrites reports priority 0x10, which obSCEne measured on a PS5 with system software 12.40 for fresh and bound UDP and fresh TCP sockets. Listening and accepted sockets, sockets made withsocket(), and whether anything changes the priority, were not measured.sceNetGetSockInfo6still reports 0, also for an IPv4 socket read withNET_SOCKINFO6_IPV46; it was not measured. -
sceNetGetSockInfo (libSceNet) - the receive queue length is the host's
FIONREADcount: the bytes waiting on a stream socket. A PS4 Pro (firmware 10.71) reports 0 for an empty queue and counts each queued datagram's payload plus 16 bytes, as FreeBSD 11.4's receive buffer does (10 then 30 bytes queued: 26, then 72, and 46 after one receive). No host matches that on a datagram socket: Linux counts the first datagram (0 for an empty one, which then blocks the queue for a title that reads only above 0), Windows every queued payload byte, and macOS adds 16 bytes for the first datagram and 32 for each later one. On that consolen0 withs0 or above returns 0 where AnyPS5 fails withEINVAL, a bound UDP socket's record carries pid 0x87, priority 0x10 and state 2, and a socket made withsocket()is listed too. -
sceNetGetSockInfo (libSceNet) - a socket made with
socket()is described from the libkernel table and listed, as on that console; its buffer sizes are the host's, and the other sceNet calls still answerEBADFfor it (not measured on a console). -
SO_SNDBUF and SO_RCVBUF validation remains unverified on PS5, and positive sizes remain subject to host buffer limits. Nonpositive sizes fail with
EINVALbefore changing the native socket, following FreeBSD 11.4 sosetopt. -
sceNetSendmsg and sceNetRecvmsg (libSceNet) copy the scatter/gather list through one host buffer and accept only the flags
sceNetSend/sceNetRecvaccept. Sending control data throws; a receive never returns control data (msg_controllen0), since no socket option that queues it is supported -
sceNetGetSockInfo6 (libSceNet) is not measured on a console; shadPS4 stubs it. It lists only IPv6 sockets and
flags0x1000 adds IPv4 sockets, reported with the IPv4 addresses, all-zero IPv6 addresses and noF_IPV6(0x400000), which every IPv6 socket sets (SharpProspero, flags, docs). The default of leaving IPv4 sockets out, the zero IPv6 addresses of an IPv4 socket and accepting 0x40 are inferred from those names, not documented. An IPv4 socket without 0x1000 fails withEAFNOSUPPORT. The other gaps are those ofsceNetGetSockInfo. -
sceNetGetSockInfo (libSceNet) - every direct call to it in the local titles whose executables import it passes the constant 0 as
flags(disassembly of each direct call), so none of them reaches theEINVALthat other bits than 0x40 get here, or passes 0x40; what a console returns for otherflagsbits is not measured. -
sceNetSocketClose, sceNetEpollControl and sceNetEpollWait (libSceNet) - close and concurrent registration ordering are unmeasured on a console. Closed descriptors retire their registrations, and a wait discards snapshots invalidated by close, DEL or MOD; descriptor identity follows Linux epoll(7). ADD, MOD and DEL reject closed or invalid socket descriptors with
EBADF, as Linux epoll_ctl(2) does; this error ordering is unmeasured on a console. Duplicate-descriptor alias lifetime is not modeled by this epoll backend. -
sceNetEpollControl and sceNetEpollWait (libSceNet) take sockets made with libkernel's
socket(). PPSA02429 registers such sockets and retries the failedADDandDELabout 1.6 million times in its first seconds. This follows the position taken for PPSA30839 insceNetSocketCloseandsceNetSetsockopt, that both libraries work on the same kernel sockets; epoll on them is not measured on a console. libkernel'sclose()andsceKernelCloseretire their registrations at once, so a socket that reuses the number starts unregistered. -
sceNetEpollCreate (libSceNet) - a null name or non-zero
flagsfail withEINVAL, as prosper's reading of the libSceNet module gives. Every direct call in the titles checked passes the constant 0 as flags, so none reaches the check -
sceNetEpollControl (libSceNet) - an
opother than 1 (add), 2 (modify) and 3 (delete) fails withEINVAL. In prosper's reading of the libSceNet module the module checksopand the event before the epoll id, and an add or modify whose event has an events mask of 0 also fails withEINVAL; here an unknown epoll id fails withEBADFbeforeopis checked, and a mask of 0 is accepted. Every direct call in the titles checked whoseopis a constant passes 1, 2 or 3; theopof the calls where it is not a constant is not known -
sceNetEpollControl (libSceNet) - a firmware 13.590.001 payload probe with a valid epoll, a kernel UDP socket and an unreadable ADD event at 0x1000 raised SIGSEGV before returning. A separate MOD probe on the same firmware reported the same SIGSEGV at 0x1000 after successful ADD and MOD with valid events. DEL with an unreadable event was not measured. A failed ADD or MOD guest read returns
EFAULTas a host-safety fallback. ADD on an existing registration still returnsEADDRINUSE, and MOD on a missing registration still returnsENOENT, before reading the event. DEL ignores the event pointer. -
MSG_DONTWAIT (libSceNet) - console ordering between competing readers and writers is unmeasured. The per-call behavior follows FreeBSD 11.4's
soreceive_genericandsosend_generic(sys/kern/uipc_socket.c);0x80is FreeBSD's flag value (sys/sys/socket.h). On Windows native sockets stay non-blocking.MSG_DONTWAITand guestSO_NBIOreturn one host transfer's result. Blocking stream sends queue the whole buffer with one deadline and return progress after a timeout or host error. SSL uses this path through the native owner, retaining the socket, its mode and timeouts. Readiness waits poll at most every 10 ms for local close, so idle blocked operations wake periodically. -
MSG_NOSIGNAL (libSceNet) -
sceNetSend,sceNetSendtoandsceNetSendmsgaccept0x20000, FreeBSD'sMSG_NOSIGNAL(sys/sys/socket.h), which ProsperoTV (PPSA99003) passes on every phone-remote reply. Firmware 13.42'slibSceNet.sprxadds0x40020000to the flags of every send and refuses no flag itself (measured in an emulator), so passing the flag changes nothing on the console. What0x40000000means and which flags the kernel refuses are unknown; other flags still fail withEOPNOTSUPPhere. Host sends outside Windows already passMSG_NOSIGNALand Windows raises noSIGPIPE, so a send on a stream whose write side is shut down fails withEPIPE. 35 of 53 local titles callsceNetSend/sceNetSendtodirectly from the executable (title libraries, function pointers, 2 tail jumps not read) with flags 0 at 86 sites, 0x80 at 10, non-constant at 2. -
Stream sends on macOS (libSceNet) - a
MSG_DONTWAITtransfer also passes XNU'sMSG_NBIO(0x20000, absent from the SDK headers), because XNU'sMSG_DONTWAITdoes not keep a stream send from waiting for buffer space. A blocking stream send goes to the host in sends of 64 KiB, so an error after some progress, such as an abort, reports the bytes already queued, which one host send would drop; the bytes that the failing 64 KiB send had queued are not counted -
sceNetRecv, sceNetRecvfrom and sceNetRecvmsg (libSceNet) on a datagram socket with no local address wait on Windows and macOS until a bind, connect or send gives it one, checking the host socket every 10 ms. Winsock fails such a receive with
WSAEINVAL, where FreeBSD 11.4'ssoreceive_dgramwaits for a datagram (sys/kern/uipc_socket.c). On macOS the host receive waits, but a receive-sideshutdowndoes not wake it. A non-blocking socket fails withEAGAINat once, and the receive timeout ends the wait withEAGAIN; when the address comes first, the call waits for a datagram only for what is left of the timeout. AsceNetShutdownof the receive side ends the wait and the receive returns 0, and a zero-length receive returns 0 without waiting, assoreceive_dgramdoes when the socket can't receive more or nothing was asked for. An abort or close ends the wait, and the host receive then fails as it did before -
sceNetResolverAbort and sceNetResolverStartNtoaMultipleRecords (libSceNet) follow shadPS4 (net.cpp, net_resolver.cpp); the
(int rid, int flags)signature of the abort also matches SharpProspero. Unverified on hardware. Lookups run synchronously over the host resolver, which cannot be interrupted: an abort while a lookup runs on another thread returns at once, and that lookup fails withEINTRwithout writing its output only when the host call returns; the abort flags are then ignored, as shadPS4 does for a running lookup. With nothing running, abort flag 1 (NTOA preservation) or 2 (ATON preservation) makes the nextsceNetResolverStartNtoa*orsceNetResolverStartAtoncall on that resolver fail withEINTR, reported bysceNetResolverGetError, after its arguments are checked. Unlike shadPS4, which ignores them, other abort flag bits throw, andsceNetResolverStartNtoaMultipleRecordsthrows for any flag, including async (1) and 0x10000 (IP address literals disabled), assceNetResolverStartNtoaMultipleRecordsExdoes -
sceNetResolverStartNtoaMultipleRecords (libSceNet) - 13 title binaries disassembled for this entry call it at 15 sites (PPSA01285 0x3abd107, PPSA01746 0x220463f, PPSA03001 0x248f401, PPSA03490 0x349d725, PPSA03685 0x1876475, PPSA07426 0x1869ee2, PPSA10600 0x1fcffd2, PPSA17226 0x37e3d4f, PPSA20612 0x1fee52f, PPSA23126 0x344582a, PPSA26223 0x8696a5 and 0x16ba5a1, PPSA27752 0x88f2b5 and 0x164e651, PPSA35154 0x18afcdf). At the three sites read in the listing (PPSA01285, PPSA03001, PPSA07426) the fourth, fifth and sixth arguments are 0, so none of them passes a flag value that the entry above says throws; that the sixth argument is the flags follows the signature used here, not the listing.
-
sceNetResolverStartNtoa6 (libSceNet) resolves a host name to its first IPv6 address through the host resolver (
getaddrinfowithAF_INET6) and writes the 16-byte address; the(rid, hostname, addr, timeout, retry, flags)signature followssceNetResolverStartNtoa. A name with no IPv6 address fails withRESOLVER_ENODNS(0x804101E1) like a failed lookup; whether the console returns IPv4-mapped addresses instead is not verified. Timeout and retry are ignored as insceNetResolverStartNtoa, and any nonzero flags throw because their meaning for this call is not known. Unverified on hardware. On macOS an IPv4-mapped result is dropped, because macOS maps an IPv4 address withoutAI_V4MAPPED; an AAAA record whose value is itself IPv4-mapped is dropped too, where FreeBSD 11.4 returns it. -
sceNetInetPton (libSceNet) - an IPv6 conversion with a null
dstreturnsNET_EINVALhere, where it crashed a payload process on a PS5 (firmware 13.60). On that PS5 and on PS4 firmware 10.71 an IPv4 address ends at the first space, tab, LF, VT, FF or CR and the rest is ignored ("1.2.3.4 x"converts), and a failed conversion leaves the destination andsceNetErrnoLocunchanged. On the PS5 the dotted IPv4 part of IPv6 text is read the same way ("::ffff:1.2.3.4 x"converts,"::ffff:01.2.3.4"fails), and an IPv4 conversion with a nulldstreturns 1 or 0 without writing. Leading whitespace, any other trailing byte (0x01,0xa0) and whitespace after hexadecimal IPv6 text fail -
sceNetInetPton, sceNetInetNtop (libSceNet) convert IPv6 text with libkernel's inet_pton and inet_ntop, so they take the same FreeBSD 11.4 text forms; beyond the PS5 measurements in the entry above, these are unverified on a console. IPv4 text keeps the host conversion. The checks and errors before the conversion are libSceNet's own and unchanged. In the executables of the 53 titles run here, 36 call
sceNetInetPtonat 107 call sites and 22 callsceNetInetNtopat 67; every one of those call sites loads the family 2 (AF_INET) into the first argument, none loads 28 (AF_INET6) and none leaves it undetermined, so the IPv6 text conversion that is unverified on a console is not reached by a direct call in those executables (read from the instructions, not measured; calls from the titles' library modules and through function pointers are not seen). -
sceNetInetNtop guest pointers (libSceNet) - the 4- or 16-byte address is read with a checked guest copy before host conversion, and the resulting text is written with a checked guest copy. An inaccessible non-null source or destination returns
nullptrwithEFAULTrather than faulting the host. This is an AnyPS5 safety fallback; the console's response to inaccessible memory was not measured. The existing null-pointer, family and output-size checks retain their order, with a source read preceding the output-size check. -
sceNetResolverStartNtoa (libSceNet) ignores flag bit 0x10000, the timeout and the retry count: each lookup runs once, synchronously, on the host resolver. With bit 0x1 (shadPS4's
ASYNC) it returns 0, leaves the result to sceNetResolverGetError and reportsEPOLLIN | EPOLLDESCID(EPOLLHUPafter an abort) once to each epoll holding it, as shadPS4 does (unmeasured). A negative timeout or retry and any other flag bit fail withEINVALbefore anything else is checked, as prosper's reading of the libSceNet module gives. A timeout from 1 to 999999 also fails withEINVALbefore the resolver is looked up, and 0 counts as 1000000, as @BunnyFl's 13.42 run of the module shows. Titles checked pass timeout 0, retry 0 or 1 and flags 0 or 0x1. -
sceNetResolverStartNtoa, sceNetResolverStartNtoa6 and their multiple-record variants (libSceNet) - the console's result for an unreadable hostname is unmeasured. A failed guest read returns
EFAULTwhere the raw read could crash the host. The read is capped at the host'sNI_MAXHOSTincluding the terminator (1025 bytes on glibc and Windows), a host limit with no console measurement. A name longer than 1024 bytes now returnsENAMETOOLONG(0x8041013F) before the host resolver, which previously failed with0x804101E1. -
sceNetResolverCreate (libSceNet) - non-zero
flagsfail withEINVAL, as prosper's reading of the libSceNet module gives. Every direct call in the titles checked passes the constant 0 as flags, so none reaches the check; one title also reaches the function through a tail jump, which is not read. Ids are the lowest free number from 1024 to 0x3fff, above libkernel's socket numbers (below 1024) and below epoll ids (from 0x4000), so a resolver and a socket in one epoll never share an id; the console's resolver ids are not known, and creating a resolver with all 15,360 ids live throws. -
sceNetDhcpStart, sceNetAddrConfig6Start, sceNetDuplicateIpStart and sceNetInfoDumpStart - argument widths and callback ABI are recovered. Address callbacks receive user data, a 32-bit event and a 32-bit error. DHCP configuration is mutable; the 512-byte IPv6 configuration is read-only. Their complete field layouts remain unknown. The two 32-bit thread parameters are stored but not consumed by this firmware thread wrapper, so their original names and units are unconfirmed. Information-dump options contain flags, an interval in seconds and a 64-byte path. All four exports still throw past the checks described under PS4 firmware 10.71 module.
-
sceNetSetDnsInfo, sceNetSetDns6Info, sceNetGetDnsInfo and sceNetGetDns6Info (libSceNet) - the resolver still uses the host's DNS servers; setters only store servers for the getters. Without an IPv6 override, the getter reports none. Counts follow shadPS4, not hardware measurements. All four DNS calls' initialization and argument errors match a reported firmware 13.42 module probe: ENOTINIT first, then EINVAL for nonzero flags, null getter outputs or zero primary servers; null setters clear the override. Setters use a checked guest read and getters use a checked guest copy out and return EFAULT for unreadable non-null inputs, an AnyPS5 safety measure absent from the probed module.
-
sceNetGetNameToIndex and sceNetGetIfnameNumList (libSceNet) - convert the id with the same ten-name table as
sceNetGetIfName:sceNetGetNameToIndexrejects-1withEINVALand an id whose host interface is absent with0x804101A4(ENODATA);sceNetGetIfnameNumListrejects a null list, a capacity of 0 or less and flags above 1 withEINVAL, and lists ids 1..8 for flags 0 and ids 1, 0, then 2..9 for flags 1, up to the capacity. A payload process on a PS5 (firmware 11.60) got 2 fromsceNetGetNameToIndex(0)before and aftersceNetInit, and the ids 1, 4, 5 for flags 0 and 1, 0, 4, 5 for flags 1; so onlysceNetGetIfnameNumListchecks initialization first (0x804101c8) here, as locallibSceNet.sprx(GNU build ID ad19de2df01d46df) does for both. The order of 1 and 0 without id 1 and other firmware are unmeasured. The host has no FreeBSD interface names: id 0 is the host loopback, id 1 the first up non-loopback interface with an address, and ids 2..9 match a host interface of the same name; the returned value is the host index.