.\" 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 "E100_PREPARE_XMIT_BUFF" "" "06 October 2005" "" ""
.SH NAME
e100_prepare_xmit_buff \- prepare a buffer for transmission
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
tcb_t * e100_prepare_xmit_buff (struct e100_private * \fIbdp\fB, struct sk_buff * \fIskb\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbdp\fB\fR
atapter's private data struct
.TP
\fB\fIskb\fB\fR
skb to send
.SH "DESCRIPTION"
.PP
This routine prepare a buffer for transmission. It checks
the message length for the appropiate size. It picks up a
free tcb from the TCB pool and sets up the corresponding
TBD's. If the number of fragments are more than the number
of TBD/TCB it copies all the fragments in a coalesce buffer.
It returns a pointer to the prepared TCB.