aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/physical.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-02-17 19:29:03 +0000
committerBrian Somers <brian@FreeBSD.org>1998-02-17 19:29:03 +0000
commitd585f8f51bc6debeb06cc6426cb4444f3fc5f7af (patch)
tree7399ec6d5588cf063f5275e3bbb6892b2ea72744 /usr.sbin/ppp/physical.h
parent73a13b5c4d11958b286e92bbf5f2ed8382e1d4a8 (diff)
downloadsrc-d585f8f51bc6debeb06cc6426cb4444f3fc5f7af.tar.gz
src-d585f8f51bc6debeb06cc6426cb4444f3fc5f7af.zip
Cosmetic: Group configuration items in struct physical.
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=33512
Diffstat (limited to 'usr.sbin/ppp/physical.h')
-rw-r--r--usr.sbin/ppp/physical.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.sbin/ppp/physical.h b/usr.sbin/ppp/physical.h
index 7644b2c83a9d..cad5c4d0d3ee 100644
--- a/usr.sbin/ppp/physical.h
+++ b/usr.sbin/ppp/physical.h
@@ -16,7 +16,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: physical.h,v 1.1.2.7 1998/02/10 03:22:03 brian Exp $
+ * $Id: physical.h,v 1.1.2.8 1998/02/13 05:10:22 brian Exp $
*
*/
@@ -32,16 +32,20 @@ struct physical {
(Possibly this should be
dev_is_not_tcp?) XXX-ML */
- unsigned is_dedicated : 1; /* Dedicated mode? XXX-ML - not yet initialized */
- unsigned is_direct : 1; /* Direct mode? XXX-ML - not yet initialized */
struct mbuf *out;
int connect_count;
/* XXX-ML Most of the below is device specific, and probably do not
belong in the generic physical struct. It comes from modem.c. */
- unsigned rts_cts : 1; /* Is rts/cts enabled? */
- unsigned int parity; /* What parity is enabled? (TTY flags) */
- unsigned int speed; /* Modem speed */
+
+ struct {
+ unsigned is_dedicated : 1; /* Dedicated mode? XXX-ML - not yet init'd */
+ unsigned is_direct : 1; /* Direct mode? XXX-ML - not yet initialized */
+ unsigned rts_cts : 1; /* Is rts/cts enabled? */
+ unsigned int parity; /* What parity is enabled? (TTY flags) */
+ unsigned int speed; /* Modem speed */
+ } cfg;
+
struct termios ios; /* To be able to reset from raw mode */
};