From owner-cvs-all Thu Apr 30 16:56:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16073 for cvs-all-outgoing; Thu, 30 Apr 1998 16:56:03 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) 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 QAA16043; Thu, 30 Apr 1998 16:56:00 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA14670; Thu, 30 Apr 1998 16:54:02 -0700 (PDT) Date: Thu, 30 Apr 1998 16:54:02 -0700 (PDT) Message-Id: <199804302354.QAA14670@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c bundle.h ccp.c ccp.h chat.c command.c command.h datalink.c datalink.h defs.c defs.h fsm.c fsm.h id.c id.h ipcp.c lcp.c lcp.h log.c log.h main.c modem.c modem.h mp.c mp.h physical.c ppp.8 systems.c timer.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1998/04/30 16:54:01 PDT Modified files: (Branch: MP) usr.sbin/ppp bundle.c bundle.h ccp.c ccp.h chat.c command.c command.h datalink.c datalink.h defs.c defs.h fsm.c fsm.h id.c id.h ipcp.c lcp.c lcp.h log.c log.h main.c modem.c modem.h mp.c mp.h physical.c ppp.8 systems.c timer.c Log: o Create a new ``timer'' log level. This lets us ``set log debug'' without filling our filesystem/screen with junk that we don't really want to see. o change PHYS_STDIN to PHYS_DIRECT - we can handle incoming connections that aren't on STDIN_FILENO now. o Allow return values from our FSM LayerUp functions. If LayerUp() fails, the FSM does an immediate FsmDown() without calling the fsm_parent's Layer{Up,Down} functions. o Clear the close-on-exec flag of file descriptor 3 when executing chat programs so that our documented ability to communicate with /dev/tty via that descriptor works. Also document it as descriptor 3, not 4 :-O o Allow a ``rm'' command as an alias for ``remove''. o Fix the bind()/connect()/accept() calls made by the MP server. o Create bundle_SendDatalink() and bundle_ReceiveDatalink(). This allows `struct datalink's to flatten themselves, pass through a pipe (read: the eye of a needle !) and come alive at the other end. The donator then fork()s & exec()s pppmpipe, ``passing'' the connection to another ppp instance. *** PPP NOW TALKS MULTILINK :-))) *** Our link utilization is hideous, and lots of code needs tidying still. It's also probably riddled with bugs ! It's been tested against itself only, and has hung once, so confidence isn't high.... Revision Changes Path 1.1.2.65 +128 -19 src/usr.sbin/ppp/Attic/bundle.c 1.1.2.34 +1 -2 src/usr.sbin/ppp/Attic/bundle.h 1.30.2.41 +17 -6 src/usr.sbin/ppp/ccp.c 1.14.2.19 +2 -1 src/usr.sbin/ppp/ccp.h 1.44.2.27 +2 -1 src/usr.sbin/ppp/chat.c 1.131.2.74 +7 -10 src/usr.sbin/ppp/command.c 1.12.2.12 +4 -1 src/usr.sbin/ppp/command.h 1.1.2.51 +165 -8 src/usr.sbin/ppp/Attic/datalink.c 1.1.2.20 +5 -3 src/usr.sbin/ppp/Attic/datalink.h 1.11.4.10 +20 -1 src/usr.sbin/ppp/defs.c 1.29.2.15 +4 -2 src/usr.sbin/ppp/defs.h 1.27.2.34 +17 -5 src/usr.sbin/ppp/fsm.c 1.16.2.15 +2 -2 src/usr.sbin/ppp/fsm.h 1.6.4.9 +7 -7 src/usr.sbin/ppp/id.c 1.3.4.4 +3 -3 src/usr.sbin/ppp/id.h 1.50.2.48 +5 -4 src/usr.sbin/ppp/ipcp.c 1.55.2.51 +17 -6 src/usr.sbin/ppp/lcp.c 1.16.2.22 +2 -1 src/usr.sbin/ppp/lcp.h 1.25.2.12 +5 -2 src/usr.sbin/ppp/log.c 1.18.2.6 +15 -14 src/usr.sbin/ppp/log.h 1.121.2.53 +8 -7 src/usr.sbin/ppp/main.c 1.77.2.60 +110 -9 src/usr.sbin/ppp/modem.c 1.16.2.16 +3 -1 src/usr.sbin/ppp/modem.h 1.1.2.18 +72 -45 src/usr.sbin/ppp/Attic/mp.c 1.1.2.9 +7 -2 src/usr.sbin/ppp/Attic/mp.h 1.1.2.28 +4 -12 src/usr.sbin/ppp/Attic/physical.c 1.97.2.25 +11 -8 src/usr.sbin/ppp/ppp.8 1.35.2.8 +2 -2 src/usr.sbin/ppp/systems.c 1.27.2.9 +6 -6 src/usr.sbin/ppp/timer.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message