Network Interface services: Difference between revisions
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
| 11 || GetScanDataOld ([1.0.0-3.0.2] GetScanData) || | | 11 || GetScanDataOld ([1.0.0-3.0.2] GetScanData) || | ||
|- | |- | ||
| 12 || GetCurrentIpAddress || | | 12 || [[#GetCurrentIpAddress]] || | ||
|- | |- | ||
| 13 || GetCurrentAccessPointOld ([1.0.0-3.0.2] GetCurrentAccessPoint) || | | 13 || GetCurrentAccessPointOld ([1.0.0-3.0.2] GetCurrentAccessPoint) || | ||
Line 134: | Line 134: | ||
This is only available with nifm:a. | This is only available with nifm:a. | ||
=== GetCurrentIpAddress === | |||
No input, returns an output [[#IpV4Address]]. | |||
=== GetCurrentIpConfigInfo === | === GetCurrentIpConfigInfo === | ||
Line 443: | Line 446: | ||
| 0xA9 || 0x1 || Padding | | 0xA9 || 0x1 || Padding | ||
|} | |} | ||
= IpV4Address = | |||
This is "nn::nifm::IpV4Address". This is a 0x4-byte struct. | |||
sdknso copies this into <code>struct in_addr</code>. | |||
= IpAddressSetting = | = IpAddressSetting = | ||
Line 455: | Line 463: | ||
| 0x0 || 0x1 || Ignored | | 0x0 || 0x1 || Ignored | ||
|- | |- | ||
| 0x1 || 0x4 || struct in_addr | | 0x1 || 0x4 || Copied to an output <code>struct in_addr</code> by sdknso. | ||
|- | |- | ||
| 0x5 || 0x4 || struct in_addr | | 0x5 || 0x4 || Copied to an output <code>struct in_addr</code> by sdknso. | ||
|- | |- | ||
| 0x9 || 0x4 || struct in_addr | | 0x9 || 0x4 || Copied to an output <code>struct in_addr</code> by sdknso. | ||
|} | |} | ||
Line 473: | Line 481: | ||
| 0x0 || 0x1 || Ignored | | 0x0 || 0x1 || Ignored | ||
|- | |- | ||
| 0x1 || 0x4 || struct in_addr | | 0x1 || 0x4 || Copied to an output <code>struct in_addr</code> by sdknso. | ||
|- | |- | ||
| 0x5 || 0x4 || struct in_addr | | 0x5 || 0x4 || Copied to an output <code>struct in_addr</code> by sdknso. | ||
|} | |} | ||
[[Category:Services]] | [[Category:Services]] |