Programmable Gateways
Login
Overview
Power Industry
Serial Device Server
Programmable Gateways
Serial/Ethernet Gateway XNUT-100
CAN/Ethernet Gateway XNUT-105
Ethernet CPU Boards
Shop
Information and Support
Main Page
|
Modules
|
Data Structures
|
File List
|
Data Fields
|
Globals
|
Related Pages
|
Examples
_PPPDCB Struct Reference
[
PPP
,
PPP
]
#include <dev/ppp.h>
Detailed Description
PPP interface structure.
Contains information about the PPP device.
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.