send_cdb:
my $res = $conn->scsi_execute_cdb(
flags => $NDMP9_SCSI_DATA_DIR_IN,
send_cdb:
my $res = $conn->scsi_execute_cdb(
flags => $NDMP9_SCSI_DATA_DIR_IN,
cdb => pack('CCnnCCnxC',
0xB8, # opcode
0x10, # VOLTAG, all element types
0, # start at addr 0
0xffff, # and give me 65535 elements
cdb => pack('CCnnCCnxC',
0xB8, # opcode
0x10, # VOLTAG, all element types
0, # start at addr 0
0xffff, # and give me 65535 elements
$bufsize >> 16, # allocation length high byte
$bufsize & 0xffff, # allocation length low short
0), # control
$bufsize >> 16, # allocation length high byte
$bufsize & 0xffff, # allocation length low short
0), # control