Searched refs:commandSize (Results 1 - 2 of 2) sorted by relevance

/haiku-fatelf/headers/private/kernel/boot/net/
H A DiSCSITarget.h39 status_t SendCommand(const void* command, size_t commandSize,
/haiku-fatelf/src/system/boot/loader/net/
H A DiSCSITarget.cpp570 iSCSIConnection::SendCommand(const void* command, size_t commandSize, argument
574 TRACE("command size = %lu, offset = %lu, length = %lu\n", commandSize, responseOffset, responseLength);
582 req.dataSegmentLength = (commandSize > 16) ? commandSize - 16 : 0;
588 if (commandSize < 16)
590 memcpy(req.cdb, command, commandSize <= 16 ? commandSize : 16);
596 if (commandSize > 16) {
597 error = fSocket->Write((uint8*)command + 16, commandSize - 16);

Completed in 96 milliseconds