aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/fsm.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-01-29 00:49:32 +0000
committerBrian Somers <brian@FreeBSD.org>1998-01-29 00:49:32 +0000
commit63b7346316afa0c20b6cf22506bcc53abc9f08f8 (patch)
tree0f029d822049c079452af8d60be4419d8bbace89 /usr.sbin/ppp/fsm.h
parent1ae349f52c53416e04f1d038a8210f1a9fa7db2c (diff)
downloadsrc-63b7346316afa0c20b6cf22506bcc53abc9f08f8.tar.gz
src-63b7346316afa0c20b6cf22506bcc53abc9f08f8.zip
Create a new MP branch for `multilink protocol'.
Do lots of initial shuffling and grouping. Submitted by: Eivind Eklund <perhaps@yes.no>
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=32863
Diffstat (limited to 'usr.sbin/ppp/fsm.h')
-rw-r--r--usr.sbin/ppp/fsm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/fsm.h b/usr.sbin/ppp/fsm.h
index 131c90100eba..347b451079b3 100644
--- a/usr.sbin/ppp/fsm.h
+++ b/usr.sbin/ppp/fsm.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: fsm.h,v 1.15 1998/01/20 22:47:37 brian Exp $
+ * $Id: fsm.h,v 1.16 1998/01/21 02:15:15 brian Exp $
*
* TODO:
*/
@@ -70,6 +70,9 @@ struct fsm {
struct pppTimer StoppedTimer;
int LogLevel;
+ /* The physical layer active with this FSM. */
+ struct physical *physical;
+
void (*LayerUp) (struct fsm *);
void (*LayerDown) (struct fsm *);
void (*LayerStart) (struct fsm *);
@@ -123,7 +126,7 @@ extern u_char *rejp;
extern char const *StateNames[];
-extern void FsmInit(struct fsm *);
+extern void FsmInit(struct fsm *, struct physical *);
extern void FsmOutput(struct fsm *, u_int, u_int, u_char *, int);
extern void FsmOpen(struct fsm *);
extern void FsmUp(struct fsm *);