From owner-cvs-usrsbin Sat Feb 7 12:51:26 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28523 for cvs-usrsbin-outgoing; Sat, 7 Feb 1998 12:51:26 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28478; Sat, 7 Feb 1998 12:51:15 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA19768; Sat, 7 Feb 1998 12:50:15 -0800 (PST) Date: Sat, 7 Feb 1998 12:50:15 -0800 (PST) Message-Id: <199802072050.MAA19768@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp Makefile arp.c arp.h auth.c auth.h bundle.c bundle.h ccp.c ccp.h chap.c command.c command.h fsm.c hdlc.c ip.c ipcp.c ipcp.h lcp.c lcp.h link.c link.h lqr.c main.c main.h modem.c pap.c route.c route.h phase.c phase.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/02/07 12:50:15 PST Modified files: (Branch: MP) usr.sbin/ppp Makefile arp.c arp.h auth.c auth.h bundle.c bundle.h ccp.c ccp.h chap.c command.c command.h fsm.c hdlc.c ip.c ipcp.c ipcp.h lcp.c lcp.h link.c link.h lqr.c main.c main.h modem.c pap.c route.c route.h Removed files: (Branch: MP) usr.sbin/ppp phase.c phase.h Log: o Hook the FSMs into our bundle. o The FSM layering is now more sane. o Move a lot of the NCP stuff into our ipcpstate rather than having it in the bundle, including control of the configured IP addresses. We don't need hacks like the global `linkup' variable any more as the FSM decides when our ppp.link* files get run. This is going to eventually be configurable based on FSM events anyway. o Fix a few inconsistencies when both sides require authentication. o We now have "Ppp..." and "PPp" prompts, reflecting authentication and network phase. We don't print loads of spurious prompts as we change phases any more. o Our phase is part of the bundle now. o Fix a bug where the FSM wasn't calling LayerFinish. o Close the FSM down correctly with a signal rather than slamming it down as if the line was dropped (the undocumented ``down'' command is still available though). o Remove the forgotten `tunno' variable and fix references to it. Revision Changes Path 1.36.2.5 +2 -4 src/usr.sbin/ppp/Makefile 1.27.2.2 +16 -45 src/usr.sbin/ppp/arp.c 1.7.2.2 +5 -3 src/usr.sbin/ppp/arp.h 1.27.2.6 +16 -1 src/usr.sbin/ppp/auth.c 1.10.2.3 +2 -1 src/usr.sbin/ppp/auth.h 1.1.2.5 +183 -191 src/usr.sbin/ppp/Attic/bundle.c 1.1.2.6 +18 -14 src/usr.sbin/ppp/Attic/bundle.h 1.30.2.7 +8 -8 src/usr.sbin/ppp/ccp.c 1.14.2.7 +2 -2 src/usr.sbin/ppp/ccp.h 1.28.2.7 +20 -10 src/usr.sbin/ppp/chap.c 1.131.2.11 +15 -10 src/usr.sbin/ppp/command.c 1.12.2.2 +2 -2 src/usr.sbin/ppp/command.h 1.27.2.8 +54 -31 src/usr.sbin/ppp/fsm.c 1.28.2.7 +2 -2 src/usr.sbin/ppp/hdlc.c 1.38.2.6 +3 -3 src/usr.sbin/ppp/ip.c 1.50.2.9 +198 -19 src/usr.sbin/ppp/ipcp.c 1.18.2.10 +4 -1 src/usr.sbin/ppp/ipcp.h 1.55.2.11 +2 -43 src/usr.sbin/ppp/lcp.c 1.16.2.6 +1 -2 src/usr.sbin/ppp/lcp.h 1.1.2.4 +4 -2 src/usr.sbin/ppp/Attic/link.c 1.1.2.3 +4 -2 src/usr.sbin/ppp/Attic/link.h 1.22.2.6 +6 -5 src/usr.sbin/ppp/lqr.c 1.121.2.11 +24 -22 src/usr.sbin/ppp/main.c 1.9.2.2 +3 -3 src/usr.sbin/ppp/main.h 1.77.2.9 +8 -7 src/usr.sbin/ppp/modem.c 1.20.2.7 +35 -25 src/usr.sbin/ppp/pap.c 1.42.2.6 +1 -26 src/usr.sbin/ppp/route.c 1.10.2.3 +1 -2 src/usr.sbin/ppp/route.h