diff options
-rw-r--r-- | accel-pppd/ppp/ppp_fsm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/accel-pppd/ppp/ppp_fsm.h b/accel-pppd/ppp/ppp_fsm.h index 57abb869..6208d9ad 100644 --- a/accel-pppd/ppp/ppp_fsm.h +++ b/accel-pppd/ppp/ppp_fsm.h @@ -1,6 +1,11 @@ #ifndef PPP_FSM_H #define PPP_FSM_H +#include <stdint.h> + +#include "ppp.h" +#include "triton.h" + typedef enum {FSM_Initial=0,FSM_Starting,FSM_Closed,FSM_Stopped,FSM_Closing,FSM_Stopping,FSM_Req_Sent,FSM_Ack_Rcvd,FSM_Ack_Sent,FSM_Opened} FSM_STATE; /* * CP (LCP, IPCP, etc.) codes. @@ -18,8 +23,6 @@ typedef enum {FSM_Initial=0,FSM_Starting,FSM_Closed,FSM_Stopped,FSM_Closing,FSM_ #define DISCARDREQ 11 /* Discard Request */ #define IDENT 12 /* Identification */ -struct ppp_t; - struct ppp_fsm_t { struct ppp_t *ppp; |