.\" 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 "LLC_BUILD_AND_SEND_PKT" "" "06 October 2005" "" ""
.SH NAME
llc_build_and_send_pkt \- Connection data sending for upper layers.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int llc_build_and_send_pkt (struct sock * \fIsk\fB, struct sk_buff * \fIskb\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsk\fB\fR
connection
.TP
\fB\fIskb\fB\fR
packet to send
.SH "DESCRIPTION"
.PP
This function is called when upper layer wants to send data using
connection oriented communication mode. During sending data, connection
will be locked and received frames and expired timers will be queued.
Returns 0 for success, -ECONNABORTED when the connection already
closed and -EBUSY when sending data is not permitted in this state or
LLC has send an I pdu with p bit set to 1 and is waiting for it's
response.