Difference between revisions of "SOCU:setsockopt"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00120104] |- | 1 | Socket descriptor |- | 2 | int level (SOL_SOCKET=0xffff) |- |...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
|- | |- | ||
| 5 | | 5 | ||
− | | Value 0x20 | + | | Value 0x20 (processID header) |
|- | |- | ||
| 6 | | 6 | ||
− | | | + | | ProcessID set by the ARM11 kernel. |
|- | |- | ||
| 7 | | 7 | ||
− | | (optlen<<14) <nowiki>|</nowiki> | + | | (optlen<<14) <nowiki>|</nowiki> 0x2402 |
|- | |- | ||
| 8 | | 8 | ||
Line 46: | Line 46: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | POSIX return value |
|} | |} |
Latest revision as of 06:03, 4 May 2014
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00120104] |
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. |
7 | (optlen<<14) | 0x2402 |
8 | Pointer to input optval buffer |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | POSIX return value |