Sockets services: Difference between revisions
Line 373: | Line 373: | ||
= nsd:u, nsd:a = | = nsd:u, nsd:a = | ||
This is "nn::nsd::detail::IManager". | This is "nn::nsd::detail::IManager". | ||
nsd:u has IPC max_sessions 20, nsd:a has IPC max_sessions 5. No retail system titles have access to nsd:a. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 390: | Line 392: | ||
| 14 || [[#ImportSettings]] | | 14 || [[#ImportSettings]] | ||
|- | |- | ||
| 15 || [4.0.0+] SetChangeEnvironmentIdentifierDisabled | | 15 || [4.0.0+] [[#SetChangeEnvironmentIdentifierDisabled]] | ||
|- | |- | ||
| 20 || Resolve | | 20 || Resolve | ||
Line 408: | Line 410: | ||
| 43 || GetNasApiFqdnEx | | 43 || GetNasApiFqdnEx | ||
|- | |- | ||
| 50 || GetCurrentSetting | | 50 || [[#GetCurrentSetting]] | ||
|- | |- | ||
| 51 || [9.0.0+] WriteTestParameter | | 51 || [9.0.0+] [[#WriteTestParameter]] | ||
|- | |- | ||
| 52 || [9.0.0+] ReadTestParameter | | 52 || [9.0.0+] [[#ReadTestParameter]] | ||
|- | |- | ||
| 60 || [[#ReadSaveDataFromFsForTest]] | | 60 || [[#ReadSaveDataFromFsForTest]] | ||
Line 457: | Line 459: | ||
== DeleteSettings == | == DeleteSettings == | ||
Takes an input [[#DeleteMode]], no output. | Takes an input [[#DeleteMode]], no output. | ||
This is only usable with nsd:a. | |||
== ImportSettings == | == ImportSettings == | ||
Takes an input [[#ImportMode]], a type-0x5 input buffer, a type-0x6 output buffer, no output. | Takes an input [[#ImportMode]], a type-0x5 input buffer, a type-0x6 output buffer, no output. | ||
This is only usable with nsd:a. | |||
== SetChangeEnvironmentIdentifierDisabled == | |||
Takes an input bool, no output. | |||
This is only usable with nsd:a. | |||
== GetCurrentSetting == | |||
Takes a type-0x16 output buffer containing a 0x12BF0-byte struct. | |||
This is only usable with nsd:a. | |||
== WriteTestParameter == | |||
Takes a type-0x5 input buffer, no output. | |||
This is only usable with nsd:a. | |||
== ReadTestParameter == | |||
Takes a type-0x6 output buffer. | |||
This is only usable with nsd:a. | |||
== ReadSaveDataFromFsForTest == | == ReadSaveDataFromFsForTest == | ||
Requires the <code>nsd!test_mode</code> setting to be equal to 1. | This is only usable with nsd:a. | ||
Requires the <code>nsd!test_mode</code> setting to be equal to 1 (this doesn't apply with newer sysvers). | |||
Mounts the system save data for bsdsockets as <code>nsdsave</code> and reads from <code>nsd:/file</code> to the specified buffer, at the specified size and offset with no checks whatsoever. <code>nsdsave</code> is then unmounted. | Mounts the system save data for bsdsockets as <code>nsdsave</code> and reads from <code>nsd:/file</code> to the specified buffer, at the specified size and offset with no checks whatsoever. <code>nsdsave</code> is then unmounted. | ||
== WriteSaveDataToFsForTest == | == WriteSaveDataToFsForTest == | ||
Requires the <code>nsd!test_mode</code> setting to be equal to 1. | This is only usable with nsd:a. Requires the <code>nsd!test_mode</code> setting to be equal to 1. | ||
Mounts the system save data for bsdsockets as <code>nsdsave</code> and writes to <code>nsd:/file</code> (appending is allowed) using the specified buffer, at the specified size and offset, with no checks whatsoever. <code>nsdsave</code> is then commited and unmounted. | Mounts the system save data for bsdsockets as <code>nsdsave</code> and writes to <code>nsd:/file</code> (appending is allowed) using the specified buffer, at the specified size and offset, with no checks whatsoever. <code>nsdsave</code> is then commited and unmounted. | ||
== DeleteSaveDataOfFsForTest == | == DeleteSaveDataOfFsForTest == | ||
Requires the <code>nsd!test_mode</code> setting to be equal to 1. | This is only usable with nsd:a. Requires the <code>nsd!test_mode</code> setting to be equal to 1. | ||
Deletes the system save data for bsdsockets. | Deletes the system save data for bsdsockets. |