_PppContext Struct Reference

PPP context. More...

#include <ppp.h>

Data Fields

PppSettings settings
 
NetInterfaceinterface
 PPP settings. More...
 
systime_t timeout
 Timeout for blocking operations. More...
 
char_t username [PPP_MAX_USERNAME_LEN+1]
 User name. More...
 
char_t password [PPP_MAX_PASSWORD_LEN+1]
 Password. More...
 
char_t peerName [PPP_MAX_USERNAME_LEN+1]
 Peer's name. More...
 
bool_t localAuthDone
 
bool_t peerAuthDone
 
PppPhase pppPhase
 PPP phase. More...
 
PppFsm lcpFsm
 LCP finite state machine. More...
 
PppFsm ipcpFsm
 IPCP finite state machine. More...
 
PppFsm ipv6cpFsm
 IPV6CP finite state machine. More...
 
PapFsm papFsm
 PAP finite state machine. More...
 
ChapFsm chapFsm
 CHAP finite state machine. More...
 
PppConfig localConfig
 Local configuration options. More...
 
PppConfig peerConfig
 Peer configuration options. More...
 
bool_t ipRejected
 IPv4 protocol is not supported by the peer. More...
 
bool_t ipv6Rejected
 IPv6 protocol is not support by the peer. More...
 
uint8_t frame [PPP_MAX_FRAME_SIZE]
 Incoming PPP frame. More...
 
uint8_t txBuffer [PPP_TX_BUFFER_SIZE]
 Transmit buffer. More...
 
uint_t txBufferLen
 
uint_t txWriteIndex
 
uint_t txReadIndex
 
uint8_t rxBuffer [PPP_RX_BUFFER_SIZE]
 Receive buffer. More...
 
uint_t rxBufferLen
 
uint_t rxWriteIndex
 
uint_t rxReadIndex
 
uint_t rxFrameCount
 

Detailed Description

PPP context.

Definition at line 447 of file ppp.h.

Field Documentation

◆ chapFsm

ChapFsm chapFsm

CHAP finite state machine.

Definition at line 472 of file ppp.h.

◆ frame

uint8_t frame[PPP_MAX_FRAME_SIZE]

Incoming PPP frame.

Definition at line 479 of file ppp.h.

◆ interface

NetInterface* interface

PPP settings.

Underlying network interface

Definition at line 450 of file ppp.h.

◆ ipcpFsm

PppFsm ipcpFsm

IPCP finite state machine.

Definition at line 463 of file ppp.h.

◆ ipRejected

bool_t ipRejected

IPv4 protocol is not supported by the peer.

Definition at line 476 of file ppp.h.

◆ ipv6cpFsm

PppFsm ipv6cpFsm

IPV6CP finite state machine.

Definition at line 466 of file ppp.h.

◆ ipv6Rejected

bool_t ipv6Rejected

IPv6 protocol is not support by the peer.

Definition at line 477 of file ppp.h.

◆ lcpFsm

PppFsm lcpFsm

LCP finite state machine.

Definition at line 461 of file ppp.h.

◆ localAuthDone

bool_t localAuthDone

Definition at line 457 of file ppp.h.

◆ localConfig

PppConfig localConfig

Local configuration options.

Definition at line 474 of file ppp.h.

◆ papFsm

PapFsm papFsm

PAP finite state machine.

Definition at line 469 of file ppp.h.

◆ password

Password.

Definition at line 454 of file ppp.h.

◆ peerAuthDone

bool_t peerAuthDone

Definition at line 458 of file ppp.h.

◆ peerConfig

PppConfig peerConfig

Peer configuration options.

Definition at line 475 of file ppp.h.

◆ peerName

Peer's name.

Definition at line 455 of file ppp.h.

◆ pppPhase

PppPhase pppPhase

PPP phase.

Definition at line 460 of file ppp.h.

◆ rxBuffer

uint8_t rxBuffer[PPP_RX_BUFFER_SIZE]

Receive buffer.

Definition at line 486 of file ppp.h.

◆ rxBufferLen

uint_t rxBufferLen

Definition at line 487 of file ppp.h.

◆ rxFrameCount

uint_t rxFrameCount

Definition at line 490 of file ppp.h.

◆ rxReadIndex

uint_t rxReadIndex

Definition at line 489 of file ppp.h.

◆ rxWriteIndex

uint_t rxWriteIndex

Definition at line 488 of file ppp.h.

◆ settings

PppSettings settings

Definition at line 449 of file ppp.h.

◆ timeout

systime_t timeout

Timeout for blocking operations.

Definition at line 451 of file ppp.h.

◆ txBuffer

uint8_t txBuffer[PPP_TX_BUFFER_SIZE]

Transmit buffer.

Definition at line 481 of file ppp.h.

◆ txBufferLen

uint_t txBufferLen

Definition at line 482 of file ppp.h.

◆ txReadIndex

uint_t txReadIndex

Definition at line 484 of file ppp.h.

◆ txWriteIndex

uint_t txWriteIndex

Definition at line 483 of file ppp.h.

◆ username

User name.

Definition at line 453 of file ppp.h.


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