| 1702 | } |
| 1703 | |
| 1704 | U32 syscall_socketpair(CPU* cpu, U32 eipCount) { |
| 1705 | SYS_LOG1(SYSCALL_SOCKET, cpu, "socketpair af=%d(%s) type=%d(%s) socks=%X", ARG1, ARG1==K_AF_UNIX?"AF_UNIX":(ARG1==K_AF_INET)?"AF_INET":"", ARG2, ARG2==K_SOCK_STREAM?"SOCK_STREAM":(ARG2==K_SOCK_DGRAM)?"AF_SOCK_DGRAM":"", ARG4); |
| 1706 | U32 result = ksocketpair(cpu->thread, ARG1, ARG2, ARG3, ARG4, 0); |
| 1707 | SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result); |
| 1708 | return result; |
| 1709 | } |
| 1710 | |
| 1711 | U32 syscall_bind(CPU* cpu, U32 eipCount) { |
| 1712 | SYS_LOG1(SYSCALL_SOCKET, cpu, "bind socket=%d address=%X(%s) len=%d", ARG1, ARG2, socketAddressName(cpu->memory, ARG2, ARG3).c_str(), ARG3); |
nothing calls this directly
no test coverage detected