Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

_PppContext Struct Reference

_PppContext Struct Reference

PPP context. More...

#include <ppp.h>

Data Fields

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

Detailed Description

PPP context.

Definition at line 436 of file ppp.h.


Field Documentation

CHAP finite state machine.

Definition at line 461 of file ppp.h.

uint8_t frame[PPP_MAX_FRAME_SIZE]

Incoming PPP frame.

Definition at line 468 of file ppp.h.

NetInterface* interface

PPP settings.

Underlying network interface

Definition at line 439 of file ppp.h.

IPCP finite state machine.

Definition at line 452 of file ppp.h.

bool_t ipRejected

IPv4 protocol is not supported by the peer.

Definition at line 465 of file ppp.h.

IPV6CP finite state machine.

Definition at line 455 of file ppp.h.

bool_t ipv6Rejected

IPv6 protocol is not support by the peer.

Definition at line 466 of file ppp.h.

LCP finite state machine.

Definition at line 450 of file ppp.h.

Local configuration options.

Definition at line 463 of file ppp.h.

PAP finite state machine.

Definition at line 458 of file ppp.h.

char_t password[PPP_MAX_PASSWORD_LEN+1]

Password.

Definition at line 443 of file ppp.h.

Peer configuration options.

Definition at line 464 of file ppp.h.

char_t peerName[PPP_MAX_USERNAME_LEN+1]

Peer's name.

Definition at line 444 of file ppp.h.

PPP phase.

Definition at line 449 of file ppp.h.

uint8_t rxBuffer[PPP_RX_BUFFER_SIZE]

Receive buffer.

Definition at line 475 of file ppp.h.

systime_t timeout

Timeout for blocking operations.

Definition at line 440 of file ppp.h.

uint8_t txBuffer[PPP_TX_BUFFER_SIZE]

Transmit buffer.

Definition at line 470 of file ppp.h.

char_t username[PPP_MAX_USERNAME_LEN+1]

User name.

Definition at line 442 of file ppp.h.