.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ZFCP_GET_UNIT_BY_LUN" "9" "09 October 2005" "" ""
.SH NAME
zfcp_get_unit_by_lun \- find unit in unit list of port by FCP LUN
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct zfcp_unit * zfcp_get_unit_by_lun (struct zfcp_port * \fIport\fB, fcp_lun_t \fIfcp_lun\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIport\fB\fR
pointer to port to search for unit
.TP
\fB\fIfcp_lun\fB\fR
FCP LUN to search for
Traverse list of all units of a port and return pointer to a unit
with the given FCP LUN.