diff options
author | 1996-06-28 02:33:41 +0000 | |
---|---|---|
committer | 1996-06-28 02:33:41 +0000 | |
commit | 9120c3c53004b37a46347d60c35d5aa12dd0d50e (patch) | |
tree | 0185eb3f2dce09875292bfab103f31c6d8765928 | |
parent | new: add all needed hooks to engage raw mode. (diff) | |
download | wireguard-openbsd-9120c3c53004b37a46347d60c35d5aa12dd0d50e.tar.xz wireguard-openbsd-9120c3c53004b37a46347d60c35d5aa12dd0d50e.zip |
add hook for user to turn on/off raw mode
-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 |