98 const PppConfigurePacket *configureReqPacket);
106 const PppConfigurePacket *configureReqPacket);
114 const PppConfigurePacket *configureReqPacket);
129 const PppTerminatePacket *terminateReqPacket);
137 const PppPacket *packet);
145 const PppEchoPacket *echoReqPacket);
172void pppUpEvent(PppContext *context,
PppFsm *fsm,
175void pppDownEvent(PppContext *context,
PppFsm *fsm,
178void pppOpenEvent(PppContext *context,
PppFsm *fsm,
181void pppCloseEvent(PppContext *context,
PppFsm *fsm,
184void pppTimeoutEvent(PppContext *context,
PppFsm *fsm,
187void pppRcvConfigureReqEvent(PppContext *context,
PppFsm *fsm,
const PppCallbacks *callbacks,
188 const PppConfigurePacket *configureReqPacket,
PppCode code);
190void pppRcvConfigureAckEvent(PppContext *context,
PppFsm *fsm,
193void pppRcvConfigureNakEvent(PppContext *context,
PppFsm *fsm,
196void pppRcvTerminateReqEvent(PppContext *context,
PppFsm *fsm,
197 const PppCallbacks *callbacks,
const PppTerminatePacket *terminateReqPacket);
199void pppRcvTerminateAckEvent(PppContext *context,
PppFsm *fsm,
202void pppRcvUnknownCodeEvent(PppContext *context,
PppFsm *fsm,
203 const PppCallbacks *callbacks,
const PppPacket *packet);
205void pppRcvCodeRejEvent(PppContext *context,
PppFsm *fsm,
208void pppRcvEchoReqEvent(PppContext *context,
PppFsm *fsm,
209 const PppCallbacks *callbacks,
const PppEchoPacket *echoReqPacket);
error_t
Error codes.
Definition error.h:43
PPP (Point-to-Point Protocol)
PppState
LCP/NCP states.
Definition ppp.h:179
PppCode
Code field values.
Definition ppp.h:215
error_t(* PppSendConfigureRej)(PppContext *context, const PppConfigurePacket *configureReqPacket)
Send-Configure-Reject callback function.
Definition ppp_fsm.h:113
error_t(* PppSendConfigureReq)(PppContext *context)
Send-Configure-Request callback function.
Definition ppp_fsm.h:90
error_t(* PppSendTerminateReq)(PppContext *context)
Send-Terminate-Request callback function.
Definition ppp_fsm.h:121
void(* PppThisLayerFinished)(PppContext *context)
This-Layer-Finished callback function.
Definition ppp_fsm.h:69
error_t(* PppSendConfigureNak)(PppContext *context, const PppConfigurePacket *configureReqPacket)
Send-Configure-Nak callback function.
Definition ppp_fsm.h:105
error_t(* PppSendTerminateAck)(PppContext *context, const PppTerminatePacket *terminateReqPacket)
Send-Terminate-Ack callback function.
Definition ppp_fsm.h:128
void(* PppZeroRestartCount)(PppContext *context)
Zero-Restart-Count callback function.
Definition ppp_fsm.h:83
void(* PppInitRestartCount)(PppContext *context, uint_t value)
Initialize-Restart-Count callback function.
Definition ppp_fsm.h:76
void(* PppThisLayerDown)(PppContext *context)
This-Layer-Down callback function.
Definition ppp_fsm.h:55
error_t(* PppSendEchoRep)(PppContext *context, const PppEchoPacket *echoReqPacket)
Send-Echo-Reply callback function.
Definition ppp_fsm.h:144
error_t(* PppSendCodeRej)(PppContext *context, const PppPacket *packet)
Send-Code-Reject callback function.
Definition ppp_fsm.h:136
void(* PppThisLayerStarted)(PppContext *context)
This-Layer-Started callback function.
Definition ppp_fsm.h:62
error_t(* PppSendConfigureAck)(PppContext *context, const PppConfigurePacket *configureReqPacket)
Send-Configure-Ack callback function.
Definition ppp_fsm.h:97
void(* PppThisLayerUp)(PppContext *context)
This-Layer-Up callback function.
Definition ppp_fsm.h:48
PPP FSM actions.
Definition ppp_fsm.h:153
PPP finite state machine.
Definition ppp.h:396