syscall.sh / sh / recvmmsg

recvmmsg

receive multiple messages on a socket

sys_recvmmsg_time32(int fd, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct old_timespec32 *timeout)
number357 (0x165)
abicommon
entry pointsys_recvmmsg_time32
sinceLinux 5.0
man pagerecvmmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
r3357, the syscall number
r4int fd
r5struct mmsghdr *mmsg
r6unsigned int vlen
r7unsigned int flags
r0struct old_timespec32 *timeout
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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