![Texas TMS320C6000 Programmer'S Reference Manual Download Page 239](http://html.mh-extra.com/html/texas/tms320c6000/tms320c6000_programmers-reference-manual_1093844239.webp)
PPPoE Client and Server Support
C-23
Point to Point Protocol
ServerName
Server name reported via PPPoE protocol
ServiceName
Service name reported via PPPoE protocol
Return Value
If it succeeds, the function returns a handle to a PPPoE server instance. Else,
it returns NULL.
Description
This function is called to create a new PPPoE sever instance on the Ether type
interface specified by the handle hEther.
-
SessionMax – This value is the maximum number of simultaneous peer
connections to be allowed at any given time. Thus, it is also the size mini-
mum size of the client IP address pool.
-
pppFlags – The flags determine what type of connection instance to
create, and what type of options to support in the connection instance. In
the pppFlags parameter, the following flags must be set:
PPPFLG_SERVER
Create PPP server connection instance
In addition, any of the following flag can also be set:
PPPFLG_OPT_AUTH_PAP
Require PAP authentication
PPPFLG_OPT_AUTH_CHAP
Require CHAP authentication
PPPFLG_OPT_USE_MSE
Use MS extensions as server
PPPFLG_OPT_LOCALDNS
Claim Local IP as DNS server
PPPFLG_CH1
Allow server channel/group 1
account users
PPPFLG_CH2
Allow server channel/group 2
account users
PPPFLG_CH3
Allow server channel/group 3
account users
PPPFLG_CH4
Allow server channel/group 4
account users
-
IPServer – This is the IP address in network format of the TCP/IP stack
reported to the peer
-
IPMask – This is the IP subnet mask of the peer’s IP network reported to
the peer
-
IPClientBase – This is the IP base address in network format of the IP ad-
dress pool to be assigned to and reported to peer connections. The size
of the address pool is determined by the value of SessionMax.
-
ServerName – This is a required pointer to a NULL terminated string con-
taining the server name that is reported to PPPoE clients. The maximum