| 903 | } |
| 904 | |
| 905 | static void writeSockAddrIn(struct sockaddr_in* addr, KMemory* memory, U32 address) { |
| 906 | memory->writew(address, AF_INET); |
| 907 | memory->memcpy(address+2, &addr->sin_port, 2); |
| 908 | memory->memcpy(address+4, &addr->sin_addr, 4); |
| 909 | } |
| 910 | |
| 911 | U32 KNativeSocketObject::bind(KThread* thread, const KFileDescriptorPtr& fd, U32 address, U32 len) { |
| 912 | KMemory* memory = thread->memory; |
no test coverage detected