Date: Sat, 28 Oct 2000 22:15:26 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> 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 Message-ID: <200010290515.WAA45356@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010290515.WAA45356>
