From owner-cvs-all Sat Oct 28 22:15:30 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F3DA37B479; Sat, 28 Oct 2000 22:15:27 -0700 (PDT) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA45356; Sat, 28 Oct 2000 22:15:26 -0700 (PDT) (envelope-from brian@FreeBSD.org) Message-Id: <200010290515.WAA45356@freefall.freebsd.org> From: Brian Somers Date: Sat, 28 Oct 2000 22:15:26 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp Makefile bundle.c chat.c datalink.c datalink.h defs.c defs.h ether.c physical.c physical.h tty.c X-FreeBSD-CVS-Branch: NETGRAPH Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2000/10/28 22:15:26 PDT Modified files: (Branch: NETGRAPH) usr.sbin/ppp Makefile bundle.c chat.c datalink.c datalink.h defs.c defs.h ether.c physical.c physical.h tty.c Log: Introduce a generic netgraph device. This is so-far undocumented, but should work for pretty much any netgraph node type(s) that understand ASCII messages. If the PPPoE node could accept ASCII data (it may be able to soon - it's what I've been testing with !), a PPPoE connection could be created generically using: ng: enable lqr set mru 1492 set mtu 1492 set device netgraph:[ether:ed1]:orphans.ethernet[pppoe:pppoe].data set login "TIMEOUT 10 \"\" \"pppoe: pppoe_connect { hook=\\\"data\\\" data_len=8 data=\\\"pppoe-in\\\" }\\c\" cmdid" Use at your peril ! Revision Changes Path 1.76.2.2 +2 -2 src/usr.sbin/ppp/Makefile 1.105.2.2 +2 -2 src/usr.sbin/ppp/bundle.c 1.73.2.1 +5 -3 src/usr.sbin/ppp/chat.c 1.62.2.1 +36 -33 src/usr.sbin/ppp/datalink.c 1.13.2.1 +2 -2 src/usr.sbin/ppp/datalink.h 1.40.2.3 +4 -3 src/usr.sbin/ppp/defs.c 1.59.2.2 +6 -2 src/usr.sbin/ppp/defs.h 1.12.2.3 +6 -4 src/usr.sbin/ppp/ether.c 1.42.2.2 +4 -2 src/usr.sbin/ppp/physical.c 1.23.2.2 +2 -1 src/usr.sbin/ppp/physical.h 1.23.2.4 +3 -2 src/usr.sbin/ppp/tty.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message