From owner-cvs-all Sun Feb 15 16:01:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20193 for cvs-all-outgoing; Sun, 15 Feb 1998 16:01:31 -0800 (PST) (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 QAA20187; Sun, 15 Feb 1998 16:01:28 -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 QAA02792; Sun, 15 Feb 1998 16:01:18 -0800 (PST) Date: Sun, 15 Feb 1998 16:01:18 -0800 (PST) Message-Id: <199802160001.QAA02792@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp datalink.c datalink.h Makefile bundle.c bundle.h chap.c command.c descriptor.h fsm.c ip.c lcp.c lcp.h link.c link.h lqr.c main.c main.h mbuf.c modem.c modem.h pap.c physical.c prompt.c prompt.h server.c vars.c vars.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1998/02/15 16:01:17 PST Modified files: (Branch: MP) usr.sbin/ppp Makefile bundle.c bundle.h chap.c command.c descriptor.h fsm.c ip.c lcp.c lcp.h link.c link.h lqr.c main.c main.h mbuf.c modem.c modem.h pap.c physical.c prompt.c prompt.h server.c vars.c vars.h Added files: (Branch: MP) usr.sbin/ppp datalink.c datalink.h Log: Create struct datalink. This is a type of physical link that can chat and talk LCP & CCP. A bundle contains a list of these (only one in the list for the moment). The datalink is a type of descriptor, and dials, enters LCP (& does CCP), kicks the bundle when its FSMs do something interesting and does the hangup chat script on the way down. It also handles redials and reconnects. There are lots of loose ends, and probably lots of bugs, but the data structures are getting there ! Revision Changes Path 1.36.2.7 +3 -3 src/usr.sbin/ppp/Makefile 1.1.2.9 +150 -53 src/usr.sbin/ppp/Attic/bundle.c 1.1.2.8 +14 -4 src/usr.sbin/ppp/Attic/bundle.h 1.28.2.9 +4 -7 src/usr.sbin/ppp/chap.c 1.131.2.17 +14 -26 src/usr.sbin/ppp/command.c 1.1.2.6 +2 -1 src/usr.sbin/ppp/Attic/descriptor.h 1.27.2.10 +2 -2 src/usr.sbin/ppp/fsm.c 1.38.2.7 +2 -3 src/usr.sbin/ppp/ip.c 1.55.2.15 +2 -9 src/usr.sbin/ppp/lcp.c 1.16.2.8 +1 -2 src/usr.sbin/ppp/lcp.h 1.1.2.6 +3 -3 src/usr.sbin/ppp/Attic/link.c 1.1.2.4 +2 -2 src/usr.sbin/ppp/Attic/link.h 1.22.2.8 +3 -5 src/usr.sbin/ppp/lqr.c 1.121.2.22 +35 -230 src/usr.sbin/ppp/main.c 1.9.2.6 +1 -3 src/usr.sbin/ppp/main.h 1.13.2.5 +5 -5 src/usr.sbin/ppp/mbuf.c 1.77.2.16 +39 -33 src/usr.sbin/ppp/modem.c 1.16.2.7 +3 -2 src/usr.sbin/ppp/modem.h 1.20.2.9 +3 -5 src/usr.sbin/ppp/pap.c 1.1.2.9 +2 -2 src/usr.sbin/ppp/Attic/physical.c 1.1.2.3 +9 -4 src/usr.sbin/ppp/Attic/prompt.c 1.1.2.2 +2 -2 src/usr.sbin/ppp/Attic/prompt.h 1.16.2.6 +3 -1 src/usr.sbin/ppp/server.c 1.45.2.8 +2 -4 src/usr.sbin/ppp/vars.c 1.42.2.4 +3 -1 src/usr.sbin/ppp/vars.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message