summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/tty.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-11-26 22:44:33 +0000
committerbrian <brian@FreeBSD.org>1999-11-26 22:44:33 +0000
commitf0003f34563b650e7d94531962fc8f09b2a5f5ec (patch)
tree32e3392d0d02f834be36bca1b87a8e39b935837e /usr.sbin/ppp/tty.h
parent9e78c04cff601ba0a8897f3dc1b3740190596105 (diff)
downloadFreeBSD-src-f0003f34563b650e7d94531962fc8f09b2a5f5ec.zip
FreeBSD-src-f0003f34563b650e7d94531962fc8f09b2a5f5ec.tar.gz
Change ``set cd'' so that its default value is device specific. The
default is still 1 second for ttys, but is now 6 seconds for i4b (ISDN) devices and 5 seconds for ethernet (PPPoE) devices.
Diffstat (limited to 'usr.sbin/ppp/tty.h')
-rw-r--r--usr.sbin/ppp/tty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/tty.h b/usr.sbin/ppp/tty.h
index 9f37dd5..f3f0d53 100644
--- a/usr.sbin/ppp/tty.h
+++ b/usr.sbin/ppp/tty.h
@@ -29,6 +29,8 @@
struct physical;
struct device;
+#define DEF_TTYCDDELAY 1 /* Default ``set cd'' value */
+
extern struct device *tty_Create(struct physical *);
extern struct device *tty_iov2device(int, struct physical *,
struct iovec *, int *, int, int *, int *);
OpenPOWER on IntegriCloud