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

Function syscall_recvfrom

source/kernel/syscall.cpp:1781–1786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1779}
1780
1781U32 syscall_recvfrom(CPU* cpu, U32 eipCount) {
1782 SYS_LOG1(SYSCALL_SOCKET, cpu, "recvfrom socket=%d buffer=%X len=%d flags=%X address=%s", ARG1, ARG2, ARG3, ARG4, socketAddressName(cpu->memory, ARG5, ARG6).c_str());
1783 U32 result = krecvfrom(cpu->thread, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
1784 SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result);
1785 return result;
1786}
1787
1788U32 syscall_recvmsg(CPU* cpu, U32 eipCount) {
1789 SYS_LOG1(SYSCALL_SOCKET, cpu, "recvmsg socket=%d message=%X flags=%X", ARG1, ARG2, ARG3);

Callers

nothing calls this directly

Calls 3

socketAddressNameFunction · 0.85
krecvfromFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected