syscall.sh / x86 / sendmmsg

sendmmsg

send multiple messages on a socket

sys_sendmmsg(int fd, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags)
number345 (0x159)
abii386
entry pointsys_sendmmsg
sinceLinux 3.3
man pagesendmmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
eax345, the syscall number
ebxint fd
ecxstruct mmsghdr *mmsg
edxunsigned int vlen
esiunsigned int flags
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/sendmmsg