From owner-cvs-all Sat May 8 4: 8:35 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 99AE415192; Sat, 8 May 1999 04:08:30 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA73692; Sat, 8 May 1999 04:08:30 -0700 (PDT) (envelope-from brian@FreeBSD.org) Message-Id: <199905081108.EAA73692@freefall.freebsd.org> From: Brian Somers Date: Sat, 8 May 1999 04:08:30 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp acf.c acf.h exec.c exec.h layer.h proto.c proto.h sync.c sync.h tcp.c tcp.h tty.c tty.h Makefile README.changes alias_cmd.c alias_cmd.h arp.c async.c async.h auth.c bundle.c cbcp.c cbcp.h ccp.c ccp.h chap.c chap.h chat.c ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1999/05/08 04:08:29 PDT Modified files: usr.sbin/ppp Makefile README.changes alias_cmd.c alias_cmd.h arp.c async.c async.h auth.c bundle.c cbcp.c cbcp.h ccp.c ccp.h chap.c chap.h chat.c chat.h command.c datalink.c deflate.c defs.c defs.h filter.c fsm.c hdlc.c hdlc.h iface.c ip.c ip.h ipcp.c ipcp.h iplist.c lcp.c lcp.h link.c link.h lqr.c lqr.h main.c mbuf.c mbuf.h mp.c mp.h pap.c pap.h physical.c physical.h ppp.8 pred.c prompt.c radius.c route.c slcompress.c systems.c throughput.c throughput.h tun.c vjcomp.c vjcomp.h Added files: usr.sbin/ppp acf.c acf.h exec.c exec.h layer.h proto.c proto.h sync.c sync.h tcp.c tcp.h tty.c tty.h Removed files: usr.sbin/ppp lcpproto.h modem.c modem.h Log: 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''. Revision Changes Path 1.53 +7 -6 src/usr.sbin/ppp/Makefile 1.9 +2 -0 src/usr.sbin/ppp/README.changes 1.24 +96 -1 src/usr.sbin/ppp/alias_cmd.c 1.11 +3 -1 src/usr.sbin/ppp/alias_cmd.h 1.34 +3 -1 src/usr.sbin/ppp/arp.c 1.19 +46 -31 src/usr.sbin/ppp/async.c 1.5 +3 -3 src/usr.sbin/ppp/async.h 1.44 +3 -2 src/usr.sbin/ppp/auth.c 1.52 +15 -32 src/usr.sbin/ppp/bundle.c 1.12 +17 -7 src/usr.sbin/ppp/cbcp.c 1.2 +2 -2 src/usr.sbin/ppp/cbcp.h 1.47 +38 -34 src/usr.sbin/ppp/ccp.c 1.21 +6 -6 src/usr.sbin/ppp/ccp.h 1.50 +32 -22 src/usr.sbin/ppp/chap.c 1.16 +2 -2 src/usr.sbin/ppp/chap.h 1.55 +5 -60 src/usr.sbin/ppp/chat.c 1.11 +1 -2 src/usr.sbin/ppp/chat.h 1.192 +43 -37 src/usr.sbin/ppp/command.c 1.38 +19 -19 src/usr.sbin/ppp/datalink.c 1.13 +16 -15 src/usr.sbin/ppp/deflate.c 1.20 +167 -1 src/usr.sbin/ppp/defs.c 1.43 +4 -1 src/usr.sbin/ppp/defs.h 1.28 +2 -1 src/usr.sbin/ppp/filter.c 1.42 +26 -24 src/usr.sbin/ppp/fsm.c 1.42 +59 -266 src/usr.sbin/ppp/hdlc.c 1.17 +5 -4 src/usr.sbin/ppp/hdlc.h 1.5 +2 -1 src/usr.sbin/ppp/iface.c 1.59 +50 -130 src/usr.sbin/ppp/ip.c 1.12 +3 -3 src/usr.sbin/ppp/ip.h 1.76 +12 -19 src/usr.sbin/ppp/ipcp.c 1.26 +2 -2 src/usr.sbin/ppp/ipcp.h 1.8 +2 -1 src/usr.sbin/ppp/iplist.c 1.73 +7 -5 src/usr.sbin/ppp/lcp.c 1.22 +2 -2 src/usr.sbin/ppp/lcp.h 1.9 +165 -35 src/usr.sbin/ppp/link.c 1.5 +12 -6 src/usr.sbin/ppp/link.h 1.33 +115 -28 src/usr.sbin/ppp/lqr.c 1.14 +6 -2 src/usr.sbin/ppp/lqr.h 1.154 +2 -2 src/usr.sbin/ppp/main.c 1.25 +92 -13 src/usr.sbin/ppp/mbuf.c 1.16 +9 -7 src/usr.sbin/ppp/mbuf.h 1.19 +44 -13 src/usr.sbin/ppp/mp.c 1.5 +2 -2 src/usr.sbin/ppp/mp.h 1.35 +26 -17 src/usr.sbin/ppp/pap.c 1.10 +2 -2 src/usr.sbin/ppp/pap.h 1.9 +677 -65 src/usr.sbin/ppp/physical.c 1.9 +52 -26 src/usr.sbin/ppp/physical.h 1.167 +19 -19 src/usr.sbin/ppp/ppp.8 1.25 +11 -9 src/usr.sbin/ppp/pred.c 1.15 +2 -1 src/usr.sbin/ppp/prompt.c 1.6 +2 -1 src/usr.sbin/ppp/radius.c 1.56 +2 -1 src/usr.sbin/ppp/route.c 1.25 +3 -5 src/usr.sbin/ppp/slcompress.c 1.43 +2 -1 src/usr.sbin/ppp/systems.c 1.9 +16 -16 src/usr.sbin/ppp/throughput.c 1.6 +8 -8 src/usr.sbin/ppp/throughput.h 1.14 +3 -1 src/usr.sbin/ppp/tun.c 1.28 +35 -30 src/usr.sbin/ppp/vjcomp.c 1.7 +3 -3 src/usr.sbin/ppp/vjcomp.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message