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/filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ppp/filter.c') diff --git a/usr.sbin/ppp/filter.c b/usr.sbin/ppp/filter.c index c9972fd..f9c7def 100644 --- a/usr.sbin/ppp/filter.c +++ b/usr.sbin/ppp/filter.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: filter.c,v 1.26 1998/10/22 02:32:48 brian Exp $ + * $Id: filter.c,v 1.27 1999/01/28 01:56:31 brian Exp $ * * TODO: Shoud send ICMP error message when we discard packets. */ @@ -35,6 +35,7 @@ #include #include +#include "layer.h" #include "defs.h" #include "command.h" #include "mbuf.h" -- cgit v1.1