![Texas TMS320C6000 Programmer'S Reference Manual Download Page 236](http://html.mh-extra.com/html/texas/tms320c6000/tms320c6000_programmers-reference-manual_1093844236.webp)
PPPoE Client and Server Support
C-20
C.3 PPPoE Client and Server Support
C.3.1 Please Note
The PPPoE API is user callable. Unlike the low level PPP support API, users
should not use the llEnter()/llExit() functions when calling the functions de-
scribed in this section.
C.3.2 Synopsis
The PPPoE (PPP over Ethernet) specification allows for PPP packets to be
transmitted in a peer to peer method over an Ethernet tunnel. The standard
has gained in popularity since it allows for the use of multiple user accounts
on a single Ethernet network.
The implementation of PPPoE supplied in the TCP/IP stack library is built into
the stack library code, and linked to the Ether object which handles packets
from all Ethernet devices in the HAL layer. Thus is it not necessary to access
or alter the HAL to use PPPoE.
The software can be used as a PPP server or PPP client, but not both simulta-
neously. In both cases, PPPoE makes use of the the PPP programming inter-
faces described earlier in this section. Thus for server mode, the PPP sever
will make use of the same user account information as a serial based server.
C.3.3 Function Overview
The PPPoE function API is quite short:
pppoeNew()
Create a PPPoE Client Session
pppoeFree()
Destroy a PPPoE Client Session
pppoeGetStatus()
Get the Call Status of a PPPoE Client Session
pppoesNew()
Create a PPPoE Server Session
pppoesFree()
Terminate a PPPoE Server Session
C.3.4 PPPoE API Functions
Create a PPPoE Client Session
pppoeNew
Syntax
HANDLE pppoeNew( HANDLE hEther, uint pppFlags, INT8 *Username, INT8
*Password );
Parameter(s)
hEther
Handle to Ether device on which to look for a PPPoE server
pppFlags
Connection option flags