struct iscsi_targ_scsi_rsp

RFC 3720, Section 10.4 SCSI Response

#include <te_iscsi.h>

struct iscsi_targ_scsi_rsp {
    // fields

    uint8_t opcode;
    uint8_t flags;
    uint8_t response;
    uint8_t status;
    uint32_t length;
    uint64_t lun;
    uint32_t init_task_tag;
    uint32_t target_xfer_tag;
    uint32_t stat_sn;
    uint32_t exp_cmd_sn;
    uint32_t max_cmd_sn;
    uint32_t exp_data_sn;
    uint32_t bidi_resid;
    uint32_t resid;
    uint32_t header_digest;
};