.\" 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_UI_CONNECT" "" "06 October 2005" "" ""
.SH NAME
llc_ui_connect \- Connect to a remote llc2 mac + sap.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int llc_ui_connect (struct socket * \fIsock\fB, struct sockaddr * \fIuaddr\fB, int \fIaddrlen\fB, int \fIflags\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsock\fB\fR
Socket which will be connected to the remote destination.
.TP
\fB\fIuaddr\fB\fR
Remote and possibly the local address of the new connection.
.TP
\fB\fIaddrlen\fB\fR
Size of uaddr structure.
.TP
\fB\fIflags\fB\fR
Operational flags specified by the user.
.SH "DESCRIPTION"
.PP
Connect to a remote llc2 mac + sap. The caller must specify the
destination mac and address to connect to. If the user previously
called bind(2) with a smac the user does not need to specify the source
address and mac.
This function will autobind if user did not previously call bind.
.SH "RETURNS"
.PP
0 upon success, negative otherwise.