recvfrom on nds32
receive a message from a socket
sys_recvfrom(int fd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
| number | 207 (0xcf) |
|---|---|
| abi | common |
| entry point | sys_recvfrom |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | recvfrom(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 207, the syscall number |
r0 | int fd |
r1 | void *ubuf |
r2 | size_t size |
r3 | unsigned int flags |
r4 | struct sockaddr *addr |
r5 | int *addr_len |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 45
- x86 371
- arm64 207
- arm 292
- riscv64 207
- ia32 371
- x32 1073742341
- loongarch64 207
- ppc64 337
- ppc 337
- s390x 371
- mips64 5044
- mipsn32 6044
- mipso32 4176
- alpha 125
- arc 207
- blackfin 322, removed in 4.17
- csky 207
- hexagon 207
- ia64 1201, removed in 6.7
- m68k 368
- metag 207, removed in 4.17
- microblaze 355
- nios2 207
- openrisc 207
- parisc 123
- score 207, removed in 4.17
- sh 351
- sparc 125
- sparc64 125
- tilegx 207, removed in 4.17
- tilepro 207, removed in 4.17
- xtensa 111
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/recvfrom?kernel=all