syscall.sh / xtensa / socket

socket

create an endpoint for communication

sys_socket(int family, int type, int protocol)
number96 (0x60)
abicommon
entry pointsys_socket
sinceLinux 5.0
man pagesocket(2)
sourceelixir.bootlin.com

Registers

registervalue
a296, the syscall number
a6int family
a3int type
a4int protocol
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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