| 1758 | } |
| 1759 | |
| 1760 | U32 syscall_getpeername(CPU* cpu, U32 eipCount) { |
| 1761 | SYS_LOG1(SYSCALL_SOCKET, cpu, "getpeername socket=%d address=%X len=%d", ARG1, ARG2, ARG3); |
| 1762 | U32 result = kgetpeername(cpu->thread, ARG1, ARG2, ARG3); |
| 1763 | SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result); |
| 1764 | return result; |
| 1765 | } |
| 1766 | |
| 1767 | U32 syscall_sendto(CPU* cpu, U32 eipCount) { |
| 1768 | SYS_LOG1(SYSCALL_SOCKET, cpu, "sendto socket=%d buffer=%X len=%d flags=%X dest=%s", ARG1, ARG2, ARG3, ARG4, socketAddressName(cpu->memory, ARG5, ARG6).c_str()); |
nothing calls this directly
no test coverage detected