diff options
author | brian <brian@FreeBSD.org> | 1999-08-06 20:04:08 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-08-06 20:04:08 +0000 |
commit | 8229df47c3e2374322058e43333045e6fe030427 (patch) | |
tree | 0dcd97a0d9e4b6f52cd1f2aa158c28fca4e9e808 /usr.sbin/ppp/Makefile | |
parent | 82b15b21003b7e5df8e9a7bae9330508378a0ee8 (diff) | |
download | FreeBSD-src-8229df47c3e2374322058e43333045e6fe030427.zip FreeBSD-src-8229df47c3e2374322058e43333045e6fe030427.tar.gz |
Add ISDN support via isdnd & i4b. This requires version
0.81.1 of the i4b code - namely support of the I4B_VR_REQ
ioctl via the i4brbchX device.
Ppp controls the phone number, but idle timers and
SYNC/RAW decisions are still made by isdnd (in isdnd.rc).
This involves a new datalink state machine phase. The
``wait for carrier'' phase happens after dialing but
before logging in. The whole dial state should really
be abstracted so that each device type can deal with it
in its own way (thinking about PPPoE) - but that'll have
to wait.
The ``set cd'' symantics remain the same for tty devices,
but we now delay until we either get CD or timeout waiting
(at which time we drop the link if we require CD).
For i4b devices we always insist on carrier.
Thanks to hm@ for his help, and especially for pointing out
that I *don't* need to re-implement isdnd (that was a huge
waste of time !) :-]
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r-- | usr.sbin/ppp/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile index 6971c69..9089135 100644 --- a/usr.sbin/ppp/Makefile +++ b/usr.sbin/ppp/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.54 1999/05/12 09:48:38 brian Exp $ +# $Id: Makefile,v 1.55 1999/05/15 19:21:15 phk Exp $ MAINTAINER=brian@FreeBSD.org @@ -49,10 +49,16 @@ DPADD+= ${LIBRADIUS} .endif .endif +.if defined(NOI4B) +CFLAGS+=-DNOI4B +.else +SRCS+= i4b.c +.endif + .if defined(RELEASE_CRUNCH) # We must create these objects because crunchgen will link them, # and we don't want any unused symbols to spoil the final link. -CFLAGS+=-DNOALIAS -DNORADIUS +CFLAGS+=-DNOALIAS -DNORADIUS -DNOI4B OBJS+= alias_cmd.o chap_ms.o radius.o chap_ms.o alias_cmd.o radius.o: >null_${.PREFIX}.c |