syscall.sh / x86 / 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)
number337 (0x151)
abii386
entry pointsys_recvmmsg_time32
sinceLinux 3.3
man pagerecvmmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
eax337, the syscall number
ebxint fd
ecxstruct mmsghdr *mmsg
edxunsigned int vlen
esiunsigned int flags
edistruct old_timespec32 *timeout
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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