PPP interface structure. More...
#include <dev/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. | |
uint8_t | dcb_lcp_state |
Current state of the link layer. | |
uint8_t | dcb_reqid |
ID of our last request. | |
uint8_t | dcb_rejid |
ID of our last reject. | |
uint8_t | dcb_acked |
Flag to remember ack received. | |
uint16_t | dcb_loc_mru |
Maximum local receive unit. | |
uint16_t | dcb_rem_mru |
Maximum remote receive unit. | |
uint32_t | dcb_accm |
Asynch control character map. TODO: Pass to ahdlc driver. | |
uint8_t | dcb_compr |
Compression flags. TODO: Pass to ahdlc driver. dcb_useACFC dcb_usePFC. | |
uint16_t | dcb_auth |
Authentication type. | |
uint32_t | dcb_neg_magic |
Magic number to negotiate. | |
uint32_t | dcb_loc_magic |
Local magic number. Used to detect loopback conditions. | |
uint32_t | dcb_rem_magic |
Remote magic number. Used to detect loopback conditions. | |
uint8_t * | dcb_user |
User authentication. | |
uint8_t * | dcb_pass |
Password authentication. | |
uint32_t | dcb_local_ip |
Local IP address. | |
uint32_t | dcb_remote_ip |
Remote IP address. | |
uint32_t | dcb_ip_mask |
Negotiated IP mask. | |
uint32_t | dcb_ip_dns1 |
Negotiated primary DNS. | |
uint32_t | dcb_ip_dns2 |
Negotiated secondary DNS. | |
uint32_t | dcb_rejects |
Rejected items. | |
uint8_t | dcb_retries |
LCP/IPCP retransmit counter. | |
uint8_t | dcb_lcp_naks |
LCP NAK counter, avoids endless loops. | |
uint8_t | dcb_lcp_reqid |
Identifier of our last LCP request. | |
uint8_t | dcb_ipcp_state |
Current state of the network layer. | |
uint8_t | dcb_ipcp_naks |
LCP NAK counter, avoids endless loops. | |
uint8_t | 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.
Referenced by IpcpClose(), IpcpLowerDown(), IpcpRxConfAck(), IpcpRxConfReq(), and NutNetIfConfig2().
Current state of the link layer.
Referenced by LcpClose(), LcpLowerDown(), LcpLowerUp(), LcpOpen(), LcpRxProtRej(), LcpTxConfReq(), NutLcpInput(), and NutPppSm().
ID of our last request.
Referenced by IpcpClose(), IpcpLowerUp(), IpcpOpen(), IpcpRxConfAck(), IpcpRxConfReq(), IpcpRxProtRej(), IpcpRxTermAck(), LcpClose(), LcpLowerUp(), LcpOpen(), LcpRxProtRej(), NutPppSm(), and PapTxAuthReq().
ID of our last reject.
Referenced by LcpTxProtRej().
Flag to remember ack received.
Referenced by IpcpRxConfAck(), IpcpTxConfReq(), and LcpTxConfReq().
Maximum local receive unit.
Maximum remote receive unit.
Asynch control character map. TODO: Pass to ahdlc driver.
Compression flags. TODO: Pass to ahdlc driver. dcb_useACFC dcb_usePFC.
Authentication type.
Magic number to negotiate.
Referenced by LcpTxConfReq().
Local magic number. Used to detect loopback conditions.
Remote magic number. Used to detect loopback conditions.
User authentication.
Referenced by PapTxAuthReq().
Password authentication.
Referenced by PapTxAuthReq().
Local IP address.
Referenced by IpcpRxConfAck(), IpcpTxConfReq(), and NutNetIfConfig2().
Negotiated IP mask.
Referenced by NutNetIfConfig2().
Negotiated primary DNS.
Referenced by IpcpRxConfAck(), IpcpRxConfReq(), and IpcpTxConfReq().
Negotiated secondary DNS.
Referenced by IpcpRxConfAck(), IpcpRxConfReq(), and IpcpTxConfReq().
Rejected items.
Referenced by IpcpTxConfReq().
LCP/IPCP retransmit counter.
Referenced by IpcpRxConfAck(), LcpTxConfReq(), and NutPppSm().
LCP NAK counter, avoids endless loops.
Referenced by LcpTxConfReq().
Identifier of our last LCP request.
Current state of the network layer.
Referenced by IpcpClose(), IpcpLowerDown(), IpcpLowerUp(), IpcpOpen(), IpcpRxConfAck(), IpcpRxConfReq(), IpcpRxProtRej(), IpcpRxTermAck(), IpcpRxTermReq(), IpcpTxConfReq(), NutIpcpInput(), NutNetIfConfig2(), and NutPppSm().
LCP NAK counter, avoids endless loops.
Referenced by IpcpRxConfReq(), and IpcpTxConfReq().
Current authentication state.
Referenced by NutPppSm(), PapRxAuthAck(), PapRxAuthNak(), and PapTxAuthReq().
int _PPPDCB::dcb_fd |
File descriptor of physical device.
Referenced by IpcpLowerDown(), NutNetIfConfig2(), and NutPppOutput().