Data Structures |
struct | PppCallbacks |
| PPP FSM actions. More...
|
Typedefs |
typedef void(* | PppThisLayerUp )(PppContext *context) |
| This-Layer-Up callback function.
|
typedef void(* | PppThisLayerDown )(PppContext *context) |
| This-Layer-Down callback function.
|
typedef void(* | PppThisLayerStarted )(PppContext *context) |
| This-Layer-Started callback function.
|
typedef void(* | PppThisLayerFinished )(PppContext *context) |
| This-Layer-Finished callback function.
|
typedef void(* | PppInitRestartCount )(PppContext *context, uint_t value) |
| Initialize-Restart-Count callback function.
|
typedef void(* | PppZeroRestartCount )(PppContext *context) |
| Zero-Restart-Count callback function.
|
typedef error_t(* | PppSendConfigureReq )(PppContext *context) |
| Send-Configure-Request callback function.
|
typedef error_t(* | PppSendConfigureAck )(PppContext *context, const PppConfigurePacket *configureReqPacket) |
| Send-Configure-Ack callback function.
|
typedef error_t(* | PppSendConfigureNak )(PppContext *context, const PppConfigurePacket *configureReqPacket) |
| Send-Configure-Nak callback function.
|
typedef error_t(* | PppSendConfigureRej )(PppContext *context, const PppConfigurePacket *configureReqPacket) |
| Send-Configure-Reject callback function.
|
typedef error_t(* | PppSendTerminateReq )(PppContext *context) |
| Send-Terminate-Request callback function.
|
typedef error_t(* | PppSendTerminateAck )(PppContext *context, const PppTerminatePacket *terminateReqPacket) |
| Send-Terminate-Ack callback function.
|
typedef error_t(* | PppSendCodeRej )(PppContext *context, const PppPacket *packet) |
| Send-Code-Reject callback function.
|
typedef error_t(* | PppSendEchoRep )(PppContext *context, const PppEchoPacket *echoReqPacket) |
| Send-Echo-Reply callback function.
|
Functions |
void | pppUpEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Up event.
|
void | pppDownEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Down event.
|
void | pppOpenEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Open event.
|
void | pppCloseEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Close event.
|
void | pppTimeoutEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Timeout event.
|
void | pppRcvConfigureReqEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks, const PppConfigurePacket *configureReqPacket, PppCode code) |
| Process Receive-Configure-Request event.
|
void | pppRcvConfigureAckEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Receive-Configure-Ack event.
|
void | pppRcvConfigureNakEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Receive-Configure-Nak event.
|
void | pppRcvTerminateReqEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks, const PppTerminatePacket *terminateReqPacket) |
| Process Receive-Terminate-Req event.
|
void | pppRcvTerminateAckEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks) |
| Process Receive-Terminate-Ack event.
|
void | pppRcvUnknownCodeEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks, const PppPacket *packet) |
| Process Receive-Unknown-Code event.
|
void | pppRcvCodeRejEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks, bool_t acceptable) |
| Process Receive-Code-Reject or Receive-Protocol-Reject event.
|
void | pppRcvEchoReqEvent (PppContext *context, PppFsm *fsm, const PppCallbacks *callbacks, const PppEchoPacket *echoReqPacket) |
| Process Receive-Echo-Request event.
|
void | pppChangeState (PppFsm *fsm, PppState newState) |
| Update PPP FSM state.
|
PPP finite state machine.
Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.