syscall.sh / openrisc / socket

socket

create an endpoint for communication

sys_socket(int family, int type, int protocol)
number198 (0xc6)
abicommon
entry pointsys_socket
sinceLinux 3.7
man pagesocket(2)
sourceelixir.bootlin.com

Registers

registervalue
r11198, the syscall number
r3int family
r4int type
r5int protocol
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/socket