From ab7d88ae2d8ea955c6193cc242b9cee4d58f8fd4 Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 8 May 1999 11:07:56 +0000 Subject: o Redesign the layering mechanism and make the aliasing code part of the layering. We now ``stack'' layers as soon as we open the device (when we figure out what we're dealing with). A static set of `dispatch' routines are also declared for dealing with incoming packets after they've been `pulled' up through the stacked layers. Physical devices are now assigned handlers based on the device type when they're opened. For the moment there are three device types; ttys, execs and tcps. o Increment version number to 2.2 o Make an entry in [uw]tmp for non-tty -direct invocations (after pap/chap authentication). o Make throughput counters quad_t's o Account for the absolute number of mbuf malloc()s and free()s in ``show mem''. o ``show modem'' becomes ``show physical''. --- usr.sbin/ppp/lqr.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp/lqr.h') diff --git a/usr.sbin/ppp/lqr.h b/usr.sbin/ppp/lqr.h index f562828..7b29b4b 100644 --- a/usr.sbin/ppp/lqr.h +++ b/usr.sbin/ppp/lqr.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lqr.h,v 1.12.2.6 1998/05/08 01:15:09 brian Exp $ + * $Id: lqr.h,v 1.13 1998/05/21 21:46:36 brian Exp $ * * TODO: */ @@ -48,6 +48,8 @@ struct mbuf; struct physical; struct lcp; struct fsm; +struct link; +struct bundle; extern void lqr_Dump(const char *, const char *, const struct lqrdata *); extern void lqr_ChangeOrder(struct lqrdata *, struct lqrdata *); @@ -56,4 +58,6 @@ extern void lqr_reStart(struct lcp *); extern void lqr_Stop(struct physical *, int); extern void lqr_StopTimer(struct physical *); extern void lqr_RecvEcho(struct fsm *, struct mbuf *); -extern void lqr_Input(struct physical *, struct mbuf *); +extern struct mbuf *lqr_Input(struct bundle *, struct link *, struct mbuf *); + +extern struct layer lqrlayer; -- cgit v1.1