Contains information about the PPP device.
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_char * | dcb_user |
User authentication. | |
u_char * | dcb_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. |
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 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().
Flag to remember ack received.
Definition at line 152 of file ppp.h.
Referenced by IpcpRxConfAck(), IpcpTxConfReq(), and LcpTxConfReq().
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().
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().
Local IP address.
Definition at line 200 of file ppp.h.
Referenced by IpcpRxConfAck(), IpcpTxConfReq(), main(), and NutNetIfConfig2().
Remote IP address.
Definition at line 204 of file ppp.h.
Referenced by IpcpRxConfReq(), main(), and NutNetIfConfig2().
Negotiated primary DNS.
Definition at line 212 of file ppp.h.
Referenced by IpcpRxConfAck(), IpcpRxConfReq(), IpcpTxConfReq(), and main().
Negotiated secondary DNS.
Definition at line 216 of file ppp.h.
Referenced by IpcpRxConfAck(), IpcpRxConfReq(), IpcpTxConfReq(), and main().
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().
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().
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().
int _PPPDCB::dcb_fd |
File descriptor of physical device.
Definition at line 248 of file ppp.h.
Referenced by IpcpLowerDown(), NutNetIfConfig2(), and NutPppOutput().