INT_TO_SCSILUN

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

int_to_scsilun -  

SYNOPSIS

"SYNOPSIS"

void int_to_scsilun (unsigned int lun, struct scsi_lun * scsilun);  

ARGUMENTS

lun
-- undescribed --
scsilun
struct scsi_lun to be set.
 

DESCRIPTION

Reverts the functionality of the scsilun_to_int, which packed an 8-byte lun value into an int. This routine unpacks the int back into the lun value.  

NOTE

the scsilun_to_int routine does not truly handle all 8bytes of the lun value. This functions restores only as much as was set by the routine.  

GIVEN AN INTEGER

0x0b030a04, this function returns a  

SCSI_LUN OF

struct scsi_lun of: 0a 04 0b 03 00 00 00 00


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE
GIVEN AN INTEGER
SCSI_LUN OF

This document was created by man2html, using the manual pages.
Time: 00:02:17 GMT, October 09, 2005