LLC_UI_AUTOBIND

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

llc_ui_autobind - Bind a socket to a specific address.  

SYNOPSIS

"SYNOPSIS"

int llc_ui_autobind (struct socket * sock, struct sockaddr_llc * addr);  

ARGUMENTS

sock
-- undescribed --
addr
Address the user wants the socket bound to.
 

DESCRIPTION

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.  

RETURNS

0 upon success, negative otherwise.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS

This document was created by man2html, using the manual pages.
Time: 07:07:16 GMT, October 06, 2005