syscall.sh / mips64 / getsockopt

getsockopt

get and set options on sockets

sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen)
number5054 (0x13be)
abin64
entry pointsys_getsockopt
sinceLinux 5.0
man pagegetsockopt(2)
sourceelixir.bootlin.com

Registers

registervalue
v05054, the syscall number
a0int fd
a1int level
a2int optname
a3char *optval
a4int *optlen
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/getsockopt