.\" 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_PORT_BY_WWPN" "" "06 October 2005" "" ""
.SH NAME
zfcp_get_port_by_wwpn \- find unit in unit list of port by fcp lun
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct zfcp_port * zfcp_get_port_by_wwpn (struct zfcp_adapter * \fIadapter\fB, wwn_t \fIwwpn\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIadapter\fB\fR
pointer to adapter to search for port
.TP
\fB\fIwwpn\fB\fR
wwpn to search for
Traverses list of all ports of an adapter and returns a pointer to a port
if wwpn of a port matches.