diff options
Diffstat (limited to 'sys/net/if_atm.h')
-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 |