![Texas TMS320C6000 Programmer'S Reference Manual Download Page 154](http://html.mh-extra.com/html/texas/tms320c6000/tms320c6000_programmers-reference-manual_1093844154.webp)
Link Layer Address (LLA) Object
A-20
A.5 Link Layer Address (LLA) Object
A.5.1 Synopsis
In order to make full use of the stack objects described in this section, it is nec-
essary to understand some of the stack’s basic building block components.
One such component is the Link Layer Address Object, or LLA for short.
In essence, and LLA is an abstracted MAC address. It is used in places where
it is more convenient to treat such addresses generically instead of as fixed
length byte arrays.
A.5.2 Object Type
Referenced – LLA objects are referenced and dereferenced as needed. The
object is removed when the reference count reaches ZERO.
A.5.3 API Functions
The following is the complete LLI object API.
Reference an LLA Object
LLARef
Syntax
void LLARef( HANDLE hLLA );
Description
Called to add one to the reference count of an LLA. An application that keeps
an LLA object it did not create itself should reference the route before it uses
it, and dereference it when it is through.
Dereference an LLA Object
LLADeRef
Syntax
void LLADeRef( HANDLE hLLA );
Description
Called to remove one from the reference count of an LLA. An application deref-
erences an LLA when it is through with it. This is the same (to the application)
as destroying the object. The object is actually destroyed when its reference
count reaches zero.
Create New LLA Object
LLANew
Syntax
HANDLE LLANew();
Return Value
Returns a referenced handle to the LLA object, or NULL on a memory alloca-
tion error.
Description
Creates a new LLA object.