Low-Level PPP Support
C-11
Point to Point Protocol
When operating in SERVER mode, any of the following flags 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_SIOPT_SENDCMAP
Send an async character map
PPPFLG_SIOPT_RECVCMAP
Accept an async character map
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
When operating in CLIENT mode, any of the following flags can also be
set:
PPPFLG_OPT_USE_MSE
Use MS extensions as client
PPPFLG_SIOPT_SENDCMAP
Send an async character map
PPPFLG_SIOPT_RECVCMAP
Accept an async character map
-
mru – The MRU is maximum receive unit, or the max size of the payload
portion of a PPP packet. For a standard serial link, the MRU is typically
1500, but can be smaller.
-
IPServer – When creating the PPP instance in SERVER mode, this is the
IP address in network format of the TCP/IP stack reported to the peer.
When operating in CLIENT mode, this value is NULL.
-
IPMask – When creating the PPP instance in SERVER mode, this is the
IP subnet mask of the peer’s IP network reported to the peer. When oper-
ating in CLIENT mode, this value is NULL.
-
IPClient – When creating the PPP instance in SERVER mode, this is the
IP address in network format of the peer reported to the peer. When oper-
ating in CLIENT mode, this value is NULL.
-
Username – When creating the PPP instance in CLIENT mode, this is a
pointer to a NULL terminated string containing the username to use in PAP
or CHAP authentication. The maximum string length is defined by
PPPNAMELEN. When operating in SERVER mode, this value is NULL.