SOCU:getsockopt

SOCU:getsockopt

Request #

Index WordDescription
0Header code [0x00110102]
1Socket descriptor
2int level (SOL_SOCKET=0xffff)
3int optname
4socklen_t optlen
5Value 0x20 (processID header)
6ProcessID set by the ARM11 kernel.

The following is located 0x100-bytes after the beginning of the above command buffer:

Index WordDescription
0(optlen<<14) | 2
1Pointer to the output optval buffer.

Response #

Index WordDescription
0Header code
1Result code
2POSIX return value
3Output optlen