syscall.sh / riscv64 / recvmmsg

recvmmsg

receive multiple messages on a socket

sys_recvmmsg(int fd, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct __kernel_timespec *timeout)
number243 (0xf3)
abi64
entry pointsys_recvmmsg
sinceLinux 4.15
man pagerecvmmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
a7243, the syscall number
a0int fd
a1struct mmsghdr *mmsg
a2unsigned int vlen
a3unsigned int flags
a4struct __kernel_timespec *timeout
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/recvmmsg