_PPPDCB Struct Reference
[PPP]


Detailed Description

PPP interface structure.

Contains information about the PPP device.

Examples:

pppc/pppc.c.

Definition at line 131 of file ppp.h.


Data Fields

HANDLE dcb_state_chg
 PPP State event queue. The state machine posts an event to this queue when the network interface becomes ready.
u_char dcb_lcp_state
 Current state of the link layer.
u_char dcb_reqid
 ID of our last request.
u_char dcb_rejid
 ID of our last reject.
u_char dcb_acked
 Flag to remember ack received.
u_short dcb_loc_mru
 Maximum local receive unit.
u_short dcb_rem_mru
 Maximum remote receive unit.
u_long dcb_accm
 Asynch control character map. TODO: Pass to ahdlc driver.
u_char dcb_compr
 Compression flags. TODO: Pass to ahdlc driver. dcb_useACFC dcb_usePFC.
u_short dcb_auth
 Authentication type.
u_long dcb_neg_magic
 Magic number to negotiate.
u_long dcb_loc_magic
 Local magic number. Used to detect loopback conditions.
u_long dcb_rem_magic
 Remote magic number. Used to detect loopback conditions.
u_chardcb_user
 User authentication.
u_chardcb_pass
 Password authentication.
u_long dcb_local_ip
 Local IP address.
u_long dcb_remote_ip
 Remote IP address.
u_long dcb_ip_mask
 Negotiated IP mask.
u_long dcb_ip_dns1
 Negotiated primary DNS.
u_long dcb_ip_dns2
 Negotiated secondary DNS.
u_long dcb_rejects
 Rejected items.
u_char dcb_retries
 LCP/IPCP retransmit counter.
u_char dcb_lcp_naks
 LCP NAK counter, avoids endless loops.
u_char dcb_lcp_reqid
 Identifier of our last LCP request.
u_char dcb_ipcp_state
 Current state of the network layer.
u_char dcb_ipcp_naks
 LCP NAK counter, avoids endless loops.
u_char dcb_auth_state
 Current authentication state.
int dcb_fd
 File descriptor of physical device.

Field Documentation

PPP State event queue. The state machine posts an event to this queue when the network interface becomes ready.

Definition at line 136 of file ppp.h.

Referenced by IpcpClose(), IpcpLowerDown(), IpcpRxConfAck(), IpcpRxConfReq(), and NutNetIfConfig2().

Current state of the link layer.

Definition at line 140 of file ppp.h.

Referenced by LcpClose(), LcpLowerDown(), LcpLowerUp(), LcpOpen(), LcpRxProtRej(), LcpTxConfReq(), NutLcpInput(), and NutPppSm().

ID of our last reject.

Definition at line 148 of file ppp.h.

Referenced by LcpTxProtRej().

Flag to remember ack received.

Definition at line 152 of file ppp.h.

Referenced by IpcpRxConfAck(), IpcpTxConfReq(), and LcpTxConfReq().

Maximum local receive unit.

Definition at line 156 of file ppp.h.

Referenced by LcpResetOptions().

Maximum remote receive unit.

Definition at line 160 of file ppp.h.

Asynch control character map. TODO: Pass to ahdlc driver.

Definition at line 165 of file ppp.h.

Referenced by LcpResetOptions().

Compression flags. TODO: Pass to ahdlc driver. dcb_useACFC dcb_usePFC.

Definition at line 170 of file ppp.h.

Referenced by LcpResetOptions().

Authentication type.

Definition at line 174 of file ppp.h.

Referenced by LcpResetOptions().

Magic number to negotiate.

Definition at line 178 of file ppp.h.

Referenced by LcpResetOptions(), and LcpTxConfReq().

Local magic number. Used to detect loopback conditions.

Definition at line 183 of file ppp.h.

Referenced by LcpResetOptions().

Remote magic number. Used to detect loopback conditions.

Definition at line 188 of file ppp.h.

Referenced by LcpResetOptions().

User authentication.

Definition at line 192 of file ppp.h.

Referenced by PapTxAuthReq().

Password authentication.

Definition at line 196 of file ppp.h.

Referenced by PapTxAuthReq().

Local IP address.

Examples:
pppc/pppc.c.

Definition at line 200 of file ppp.h.

Referenced by IpcpRxConfAck(), IpcpTxConfReq(), main(), and NutNetIfConfig2().

Remote IP address.

Examples:
pppc/pppc.c.

Definition at line 204 of file ppp.h.

Referenced by IpcpRxConfReq(), main(), and NutNetIfConfig2().

Negotiated IP mask.

Definition at line 208 of file ppp.h.

Referenced by NutNetIfConfig2().

Negotiated primary DNS.

Examples:
pppc/pppc.c.

Definition at line 212 of file ppp.h.

Referenced by IpcpRxConfAck(), IpcpRxConfReq(), IpcpTxConfReq(), and main().

Negotiated secondary DNS.

Examples:
pppc/pppc.c.

Definition at line 216 of file ppp.h.

Referenced by IpcpRxConfAck(), IpcpRxConfReq(), IpcpTxConfReq(), and main().

Rejected items.

Definition at line 220 of file ppp.h.

Referenced by IpcpTxConfReq().

LCP/IPCP retransmit counter.

Definition at line 224 of file ppp.h.

Referenced by IpcpRxConfAck(), LcpTxConfReq(), and NutPppSm().

LCP NAK counter, avoids endless loops.

Definition at line 228 of file ppp.h.

Referenced by LcpTxConfReq().

Identifier of our last LCP request.

Definition at line 232 of file ppp.h.

LCP NAK counter, avoids endless loops.

Definition at line 240 of file ppp.h.

Referenced by IpcpRxConfReq(), and IpcpTxConfReq().

Current authentication state.

Definition at line 244 of file ppp.h.

Referenced by NutPppSm(), PapRxAuthAck(), PapRxAuthNak(), and PapTxAuthReq().

File descriptor of physical device.

Definition at line 248 of file ppp.h.

Referenced by IpcpLowerDown(), NutNetIfConfig2(), and NutPppOutput().


The documentation for this struct was generated from the following file:

© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/