_PPPDCB Struct Reference
[PPPPPP]


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

HANDLE _PPPDCB::dcb_state_chg

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().

u_char _PPPDCB::dcb_lcp_state

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().

u_char _PPPDCB::dcb_reqid

ID of our last request.

Definition at line 144 of file ppp.h.

Referenced by IpcpClose(), IpcpLowerUp(), IpcpOpen(), IpcpRxConfAck(), IpcpRxConfReq(), IpcpRxProtRej(), IpcpRxTermAck(), LcpClose(), LcpLowerUp(), LcpOpen(), LcpRxProtRej(), NutPppSm(), and PapTxAuthReq().

u_char _PPPDCB::dcb_rejid

ID of our last reject.

Definition at line 148 of file ppp.h.

Referenced by LcpTxProtRej().

u_char _PPPDCB::dcb_acked

Flag to remember ack received.

Definition at line 152 of file ppp.h.

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

u_short _PPPDCB::dcb_loc_mru

Maximum local receive unit.

Definition at line 156 of file ppp.h.

Referenced by LcpResetOptions().

u_short _PPPDCB::dcb_rem_mru

Maximum remote receive unit.

Definition at line 160 of file ppp.h.

u_long _PPPDCB::dcb_accm

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

Definition at line 165 of file ppp.h.

Referenced by LcpResetOptions().

u_char _PPPDCB::dcb_compr

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

Definition at line 170 of file ppp.h.

Referenced by LcpResetOptions().

u_short _PPPDCB::dcb_auth

Authentication type.

Definition at line 174 of file ppp.h.

Referenced by LcpResetOptions().

u_long _PPPDCB::dcb_neg_magic

Magic number to negotiate.

Definition at line 178 of file ppp.h.

Referenced by LcpResetOptions(), and LcpTxConfReq().

u_long _PPPDCB::dcb_loc_magic

Local magic number. Used to detect loopback conditions.

Definition at line 183 of file ppp.h.

Referenced by LcpResetOptions().

u_long _PPPDCB::dcb_rem_magic

Remote magic number. Used to detect loopback conditions.

Definition at line 188 of file ppp.h.

Referenced by LcpResetOptions().

u_char* _PPPDCB::dcb_user

User authentication.

Definition at line 192 of file ppp.h.

Referenced by PapTxAuthReq().

u_char* _PPPDCB::dcb_pass

Password authentication.

Definition at line 196 of file ppp.h.

Referenced by PapTxAuthReq().

u_long _PPPDCB::dcb_local_ip

Local IP address.

Examples:
pppc/pppc.c.

Definition at line 200 of file ppp.h.

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

u_long _PPPDCB::dcb_remote_ip

Remote IP address.

Examples:
pppc/pppc.c.

Definition at line 204 of file ppp.h.

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

u_long _PPPDCB::dcb_ip_mask

Negotiated IP mask.

Definition at line 208 of file ppp.h.

Referenced by NutNetIfConfig2().

u_long _PPPDCB::dcb_ip_dns1

Negotiated primary DNS.

Examples:
pppc/pppc.c.

Definition at line 212 of file ppp.h.

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

u_long _PPPDCB::dcb_ip_dns2

Negotiated secondary DNS.

Examples:
pppc/pppc.c.

Definition at line 216 of file ppp.h.

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

u_long _PPPDCB::dcb_rejects

Rejected items.

Definition at line 220 of file ppp.h.

Referenced by IpcpTxConfReq().

u_char _PPPDCB::dcb_retries

LCP/IPCP retransmit counter.

Definition at line 224 of file ppp.h.

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

u_char _PPPDCB::dcb_lcp_naks

LCP NAK counter, avoids endless loops.

Definition at line 228 of file ppp.h.

Referenced by LcpTxConfReq().

u_char _PPPDCB::dcb_lcp_reqid

Identifier of our last LCP request.

Definition at line 232 of file ppp.h.

u_char _PPPDCB::dcb_ipcp_state

Current state of the network layer.

Definition at line 236 of file ppp.h.

Referenced by IpcpClose(), IpcpLowerDown(), IpcpLowerUp(), IpcpOpen(), IpcpRxConfAck(), IpcpRxConfReq(), IpcpRxProtRej(), IpcpRxTermAck(), IpcpRxTermReq(), IpcpTxConfReq(), NutIpcpInput(), NutNetIfConfig2(), and NutPppSm().

u_char _PPPDCB::dcb_ipcp_naks

LCP NAK counter, avoids endless loops.

Definition at line 240 of file ppp.h.

Referenced by IpcpRxConfReq(), and IpcpTxConfReq().

u_char _PPPDCB::dcb_auth_state

Current authentication state.

Definition at line 244 of file ppp.h.

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

int _PPPDCB::dcb_fd

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/