.\" 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 "MPT_HANDSHAKE_REQ_REPLY_WAIT" "9" "09 October 2005" "" "" .SH NAME mpt_handshake_req_reply_wait \- Send MPT request to and receive reply .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int mpt_handshake_req_reply_wait (MPT_ADAPTER * \fIioc\fB, int \fIreqBytes\fB, u32 * \fIreq\fB, int \fIreplyBytes\fB, u16 * \fIu16reply\fB, int \fImaxwait\fB, int \fIsleepFlag\fB); \fR .SH "ARGUMENTS" .TP \fB\fIioc\fB\fR Pointer to MPT_ADAPTER structure .TP \fB\fIreqBytes\fB\fR Size of the request in bytes .TP \fB\fIreq\fB\fR Pointer to MPT request frame .TP \fB\fIreplyBytes\fB\fR Expected size of the reply in bytes .TP \fB\fIu16reply\fB\fR Pointer to area where reply should be written .TP \fB\fImaxwait\fB\fR Max wait time for a reply (in seconds) .TP \fB\fIsleepFlag\fB\fR Specifies whether the process can sleep .SH "DESCRIPTION" .PP from IOC via doorbell handshake method. .SH "NOTES" .PP It is the callers responsibility to byte-swap fields in the request which are greater than 1 byte in size. It is also the callers responsibility to byte-swap response fields which are greater than 1 byte in size. .PP Returns 0 for success, non-zero for failure.