![Texas TMS320C6000 Programmer'S Reference Manual Download Page 156](http://html.mh-extra.com/html/texas/tms320c6000/tms320c6000_programmers-reference-manual_1093844156.webp)
Link Layer Information (LLI) Object
A-22
A.6 Link Layer Information (LLI) Object
A.6.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 Information Object, or LLI for short.
In essence a LLI object is an ARP table entry. This implementation of the IP
stack combines the traditional route table and ARP table into a single table with
a single API. Routes that need use the ARP function include an ARP status
object, called LLI. In fact, the only reason a programmer need know about the
LLI object is to inspect the ARP status of the route table.
A.6.2 Object Type
Static – LLI objects are owned and destroyed by the entity that creates them.
A.6.3 API Functions
The LLI API is larger than that discussed here. It contains functions dealing
with the ARP protocol as well as LLI object member functions. This section the
API functions that are useful to a system application.
Get the LLA Associated with this LLI
LLIGetLLA
Syntax
HANDLE LLIGetLLA( HANDLE hLLI );
Return Value
Handle to LLA or NULL if LLI is invalid.
Description
This function is called to return the LLA associated with an LLI. It is used by
a system programmer to obtain the LLA from an LLI contained in a route entry.
Validate an IP Address / MAC Address Pairing in the Route Table
LLIValidateRoute
Syntax
HANDLE LLIValidateRoute( HANDLE hIF, IPN IPAddr, UINT8 *MacAddr );
Parameter(s)
hIF
Handle to interface on which the target IP/MAC address
appears
IPAddr
IP address to validate
MacAddr
Six byte MAC address corresponding to supplied IP address
Return Value
Referenced handle to route or NULL if the was no room to create the entry.
Description
This function is called to create or update an entry in the stack route table for
the supplied IP address. The entry for the given IP is marked as valid, and as-
signed the supplied MAC address. Packets sent to the IP address will be as-
signed the given MAC address, and no ARP request will be sent.