.\" 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 "HPSB_SEND_PACKET" "9" "09 October 2005" "" ""
.SH NAME
hpsb_send_packet \- transmit a packet on the bus
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int hpsb_send_packet (struct hpsb_packet * \fIpacket\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpacket\fB\fR
packet to send
.SH "DESCRIPTION"
.PP
The packet is sent through the host specified in the packet->host field.
Before sending, the packet's transmit speed is automatically determined
using the local speed map when it is an async, non-broadcast packet.
.PP
Possibilities for failure are that host is either not initialized, in bus
reset, the packet's generation number doesn't match the current generation
number or the host reports a transmit error.
.SH "RETURN VALUE"
.PP
0 on success, negative errno on failure.