.\" 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_AUTOBIND" "" "06 October 2005" "" "" .SH NAME llc_ui_autobind \- Bind a socket to a specific address. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int llc_ui_autobind (struct socket * \fIsock\fB, struct sockaddr_llc * \fIaddr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsock\fB\fR -- undescribed -- .TP \fB\fIaddr\fB\fR Address the user wants the socket bound to. .SH "DESCRIPTION" .PP Bind a socket to a specific address. For llc a user is able to bind to a specific sap only or mac + sap. If the user only specifies a sap and a null dmac (all zeros) the user is attempting to bind to an entire sap. This will stop anyone else on the local system from using that sap. If someone else has a mac + sap open the bind to null + sap will fail. If the user desires to bind to a specific mac + sap, it is possible to have multiple sap connections via multiple macs. Bind and autobind for that matter must enforce the correct sap usage otherwise all hell will break loose. .SH "RETURNS" .PP 0 upon success, negative otherwise.