getpeername on blackfin
get name of connected peer socket
sys_getpeername(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
| number | 317 (0x13d) |
|---|---|
| abi | common |
| entry point | sys_getpeername |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | getpeername(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 317, the syscall number |
R0 | int fd |
R1 | struct sockaddr *usockaddr |
R2 | int *usockaddr_len |
R0 | the return value |
Then run excpt 0 to enter the kernel.
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 52
- x86 368
- arm64 205
- arm 287
- riscv64 205
- ia32 368
- x32 1073741876
- loongarch64 205
- ppc64 332
- ppc 332
- s390x 368
- mips64 5051
- mipsn32 6051
- mipso32 4171
- alpha 141
- arc 205
- csky 205
- hexagon 205
- ia64 1196, removed in 6.7
- m68k 365
- metag 205, removed in 4.17
- microblaze 352
- nds32 205, removed in 5.18
- nios2 205
- openrisc 205
- parisc 53
- score 205, removed in 4.17
- sh 346
- sparc 141
- sparc64 141
- tilegx 205, removed in 4.17
- tilepro 205, removed in 4.17
- xtensa 105
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/getpeername?kernel=all