diff options
author | chuck <chuck@cvs.openbsd.org> | 1996-06-28 02:33:42 +0000 |
---|---|---|
committer | chuck <chuck@cvs.openbsd.org> | 1996-06-28 02:33:42 +0000 |
commit | 1f63ed93913507d27b6dd1946a0848a70f7fa870 (patch) | |
tree | 8d8a1d136872b21bd8ad1029493400d1973eb43f /sys | |
parent | a2c6dc6e22d9e7afa7295acfe7c065c01924df56 (diff) |
add hook for user to turn on/off raw mode
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_atm.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h index e4115f34504..d1d60f2a3fd 100644 --- a/sys/net/if_atm.h +++ b/sys/net/if_atm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_atm.h,v 1.4 1996/06/27 04:33:10 chuck Exp $ */ +/* $OpenBSD: if_atm.h,v 1.5 1996/06/28 02:33:41 chuck Exp $ */ /* * @@ -62,15 +62,16 @@ struct atm_pseudohdr { /* XXX: could be 9188 with LLC/SNAP according to comer */ -/* pseudo ioctl */ +/* user's ioctl hook for raw atm mode */ +#define SIOCRAWATM _IOWR('a', 122, int) /* set driver's raw mode */ +/* atm_pseudoioctl: turns on and off RX VCIs [for internal use only!] */ struct atm_pseudoioctl { struct atm_pseudohdr aph; struct socket *asock; }; - -#define SIOCATMENA _IOWR('a', 122, struct atm_pseudoioctl) /* enable */ -#define SIOCATMDIS _IOWR('a', 123, struct atm_pseudoioctl) /* disable */ +#define SIOCATMENA _IOWR('a', 123, struct atm_pseudoioctl) /* enable */ +#define SIOCATMDIS _IOWR('a', 124, struct atm_pseudoioctl) /* disable */ /* * XXX forget all the garbage in if_llc.h and do it the easy way |