Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ppp_fsm.c File Reference
PPP finite state machine. More...
Go to the source code of this file.
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. | |
Detailed Description
PPP finite state machine.
License
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.
- Version:
- 1.7.6
Definition in file ppp_fsm.c.
Function Documentation
| void pppCloseEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
| void pppDownEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
| void pppOpenEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
| void pppRcvCodeRejEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks, | ||
| bool_t | acceptable | ||
| ) |
| void pppRcvConfigureAckEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
| void pppRcvConfigureNakEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
| void pppRcvConfigureReqEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks, | ||
| const PppConfigurePacket * | configureReqPacket, | ||
| PppCode | code | ||
| ) |
Process Receive-Configure-Request event.
- Parameters:
-
[in] context PPP context [in,out] fsm Finite state machine [in] callbacks FSM actions [in] configureReqPacket Configure-Request packet received from the peer [in] code Tells whether the configuration options are acceptable
| void pppRcvEchoReqEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks, | ||
| const PppEchoPacket * | echoReqPacket | ||
| ) |
| void pppRcvTerminateAckEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
| void pppRcvTerminateReqEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks, | ||
| const PppTerminatePacket * | terminateReqPacket | ||
| ) |
| void pppRcvUnknownCodeEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks, | ||
| const PppPacket * | packet | ||
| ) |
| void pppTimeoutEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
| void pppUpEvent | ( | PppContext * | context, |
| PppFsm * | fsm, | ||
| const PppCallbacks * | callbacks | ||
| ) |
Generated on Tue Jul 12 2022 17:10:21 by
1.7.2