MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_getpeername

Function syscall_getpeername

source/kernel/syscall.cpp:1760–1765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1758}
1759
1760U32 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
1767U32 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());

Callers

nothing calls this directly

Calls 1

kgetpeernameFunction · 0.85

Tested by

no test coverage detected