aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ether.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-11-26 22:44:33 +0000
committerBrian Somers <brian@FreeBSD.org>1999-11-26 22:44:33 +0000
commitfdc29d54a48f371bfc1c3af8a6dff0450b6523d0 (patch)
tree02e7ca276db88600b19e1c4e57da792780e09cc1 /usr.sbin/ppp/ether.h
parentda2440e8264eb599767a0926cd6bb18053d05d36 (diff)
downloadsrc-fdc29d54a48f371bfc1c3af8a6dff0450b6523d0.tar.gz
src-fdc29d54a48f371bfc1c3af8a6dff0450b6523d0.zip
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.
Notes
Notes: svn path=/head/; revision=53733
Diffstat (limited to 'usr.sbin/ppp/ether.h')
-rw-r--r--usr.sbin/ppp/ether.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/ether.h b/usr.sbin/ppp/ether.h
index a2e96c706f56..16c9a9e05b9e 100644
--- a/usr.sbin/ppp/ether.h
+++ b/usr.sbin/ppp/ether.h
@@ -29,6 +29,8 @@
struct physical;
struct device;
+#define DEF_ETHERCDDELAY 5 /* Default ``set cd'' value */
+
extern struct device *ether_Create(struct physical *);
extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
int *, int, int *, int *);