syscall.sh / mips64 / socket

socket

create an endpoint for communication

sys_socket(int family, int type, int protocol)
number5040 (0x13b0)
abin64
entry pointsys_socket
sinceLinux 5.0
man pagesocket(2)
sourceelixir.bootlin.com

Registers

registervalue
v05040, the syscall number
a0int family
a1int type
a2int protocol
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/socket