Date: Fri, 3 Apr 1998 11:22:04 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp mp.c mp.h Makefile arp.c async.c auth.c bundle.c bundle.h ccp.c ccp.h chap.c chat.c command.c command.h datalink.c datalink.h defs.h filter.c fsm.c fsm.h hdlc.c hdlc.h ip.c ip.h ipcp.c lcp.c lcp.h lcpproto.h link.c link.h lqr.c ... Message-ID: <199804031922.LAA05123@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1998/04/03 11:22:03 PST Modified files: (Branch: MP) usr.sbin/ppp Makefile arp.c async.c auth.c bundle.c bundle.h ccp.c ccp.h chap.c chat.c command.c command.h datalink.c datalink.h defs.h filter.c fsm.c fsm.h hdlc.c hdlc.h ip.c ip.h ipcp.c lcp.c lcp.h lcpproto.h link.c link.h lqr.c main.c mbuf.c mbuf.h modem.c modem.h pap.c physical.c physical.h prompt.c route.c server.c slcompress.c throughput.c throughput.h timer.c timer.h tun.c vars.c vjcomp.c Added files: (Branch: MP) usr.sbin/ppp mp.c mp.h Log: o Move struct lcp and struct ccp into struct link. o Remove bundle2lcp(), bundle2ccp() and bundle2link(). They're too resource-hungry and we have `owner pointers' to do their job. o Make our FSM understand LCPs that are always ST_OPENED (with a minimum code that != 1). o Send FSM code rejects for invalid codes. o Make our bundle fsm_parent deal with multiple links. o Make timer diagnostics pretty and allow access via ~t in `term' mode (not just when logging debug) and `show timers'. Only show timers every second in debug mode, otherwise we get too many diagnostics to be useful (we probably still do). Also, don't restrict ~m in term mode to depend on debug logging. o Rationalise our bundles' phases. o Create struct mp (multilink protocol). This is both an NCP and a type of struct link. It feeds off other NCPs for output, passing fragmented packets into the queues of available datalinks. It also gets PROTO_MP input, reassembles the fragments into ppp frames, and passes them back to the HDLC layer that the fragments were passed from. ** It's not yet possible to enter multilink mode :-( ** o Add `set weight' (requires context) for deciding on a links weighting in multilink mode. Weighting is simplistic (and probably badly implemented) for now. o Remove the function pointers in struct link. They ended up only applying to physical links. o Configure our tun device with an MTU equal to the MRU from struct mp's LCP and a speed equal to the sum of our link speeds. o `show {lcp,ccp,proto}' and `set deflate' now have optional context and use ChooseLink() to decide on which `struct link' to use. This allows behaviour as before when in non-multilink mode, and allows access to the MP logical link in multilink mode. o Ignore reconnect and redial values when in -direct mode and when cleaning up. Always redial when in -ddial or -dedicated mode (unless cleaning up). o Tell our links to `staydown' when we close them due to a signal. o Remove remaining `#ifdef SIGALRM's (ppp doesn't function without alarms). o Don't bother strdup()ing our physical link name. o Various other cosmetic changes. Revision Changes Path 1.36.2.8 +6 -6 src/usr.sbin/ppp/Makefile 1.27.2.10 +7 -1 src/usr.sbin/ppp/arp.c 1.15.2.9 +2 -1 src/usr.sbin/ppp/async.c 1.27.2.16 +4 -1 src/usr.sbin/ppp/auth.c 1.1.2.34 +144 -105 src/usr.sbin/ppp/Attic/bundle.c 1.1.2.22 +4 -4 src/usr.sbin/ppp/Attic/bundle.h 1.30.2.29 +13 -7 src/usr.sbin/ppp/ccp.c 1.14.2.14 +2 -2 src/usr.sbin/ppp/ccp.h 1.28.2.19 +9 -8 src/usr.sbin/ppp/chap.c 1.44.2.18 +4 -1 src/usr.sbin/ppp/chat.c 1.131.2.44 +64 -28 src/usr.sbin/ppp/command.c 1.12.2.6 +2 -1 src/usr.sbin/ppp/command.h 1.1.2.29 +64 -47 src/usr.sbin/ppp/Attic/datalink.c 1.1.2.13 +4 -4 src/usr.sbin/ppp/Attic/datalink.h 1.29.2.8 +3 -1 src/usr.sbin/ppp/defs.h 1.22.2.10 +5 -2 src/usr.sbin/ppp/filter.c 1.27.2.25 +25 -10 src/usr.sbin/ppp/fsm.c 1.16.2.13 +5 -4 src/usr.sbin/ppp/fsm.h 1.28.2.22 +33 -20 src/usr.sbin/ppp/hdlc.c 1.14.2.8 +3 -1 src/usr.sbin/ppp/hdlc.h 1.38.2.17 +10 -6 src/usr.sbin/ppp/ip.c 1.8.2.7 +2 -2 src/usr.sbin/ppp/ip.h 1.50.2.28 +9 -5 src/usr.sbin/ppp/ipcp.c 1.55.2.34 +24 -25 src/usr.sbin/ppp/lcp.c 1.16.2.16 +3 -3 src/usr.sbin/ppp/lcp.h 1.10.2.1 +2 -1 src/usr.sbin/ppp/lcpproto.h 1.1.2.15 +27 -28 src/usr.sbin/ppp/Attic/link.c 1.1.2.7 +5 -11 src/usr.sbin/ppp/Attic/link.h 1.22.2.18 +4 -1 src/usr.sbin/ppp/lqr.c 1.121.2.40 +13 -11 src/usr.sbin/ppp/main.c 1.13.2.6 +2 -1 src/usr.sbin/ppp/mbuf.c 1.11.2.2 +3 -2 src/usr.sbin/ppp/mbuf.h 1.77.2.42 +46 -61 src/usr.sbin/ppp/modem.c 1.16.2.13 +3 -2 src/usr.sbin/ppp/modem.h 1.20.2.20 +8 -7 src/usr.sbin/ppp/pap.c 1.1.2.20 +8 -22 src/usr.sbin/ppp/Attic/physical.c 1.1.2.18 +1 -2 src/usr.sbin/ppp/Attic/physical.h 1.1.2.17 +12 -19 src/usr.sbin/ppp/Attic/prompt.c 1.42.2.14 +6 -2 src/usr.sbin/ppp/route.c 1.16.2.10 +1 -6 src/usr.sbin/ppp/server.c 1.15.2.4 +7 -1 src/usr.sbin/ppp/slcompress.c 1.4.4.2 +4 -2 src/usr.sbin/ppp/throughput.c 1.2.4.2 +2 -2 src/usr.sbin/ppp/throughput.h 1.27.2.1 +54 -35 src/usr.sbin/ppp/timer.c 1.5.4.1 +5 -4 src/usr.sbin/ppp/timer.h 1.6.4.10 +5 -1 src/usr.sbin/ppp/tun.c 1.45.2.18 +3 -2 src/usr.sbin/ppp/vars.c 1.16.2.11 +3 -3 src/usr.sbin/ppp/vjcomp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804031922.LAA05123>