SOCU:getsockopt: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00110102] |- | 1 | Socket descriptor |- | 2 | int level (SOL_SOCKET=0xffff) |- |..." |
(No difference)
|
Latest revision as of 04:06, 28 April 2014
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00110102] |
| 1 | Socket descriptor |
| 2 | int level (SOL_SOCKET=0xffff) |
| 3 | int optname |
| 4 | socklen_t optlen |
| 5 | Value 0x20 (processID header) |
| 6 | ProcessID set by the ARM11 kernel. |
The following is located 0x100-bytes after the beginning of the above command buffer:
| Index Word | Description |
|---|---|
| 0 | (optlen<<14) | 2 |
| 1 | Pointer to the output optval buffer. |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
| 2 | POSIX return value |
| 3 | Output optlen |