sendmmsg on metag
send multiple messages on a socket
sys_sendmmsg(int fd, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags)
| number | 269 (0x10d) |
|---|---|
| abi | common |
| entry point | sys_sendmmsg |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | sendmmsg(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 269, the syscall number |
D1Ar1 | int fd |
D0Ar2 | struct mmsghdr *mmsg |
D1Ar3 | unsigned int vlen |
D0Ar4 | unsigned int flags |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 307
- x86 345
- arm64 269
- arm 374
- riscv64 269
- ia32 345
- x32 1073742362
- loongarch64 269
- ppc64 349
- ppc 349
- s390x 358
- mips64 5302
- mipsn32 6307
- mipso32 4343
- alpha 503
- arc 269
- blackfin 380, removed in 4.17
- cris 347, removed in 4.17
- csky 269
- hexagon 269
- ia64 1331, removed in 6.7
- m68k 372
- microblaze 376
- nds32 269, removed in 5.18
- nios2 269
- openrisc 269
- parisc 329
- score 269, removed in 4.17
- sh 363
- sparc 336
- sparc64 336
- tilegx 269, removed in 4.17
- tilepro 269, removed in 4.17
- xtensa 115
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/sendmmsg?kernel=all