diff options
author | Ugen J.S. Antsilevich <ugen@FreeBSD.org> | 1995-02-15 18:41:21 +0000 |
---|---|---|
committer | Ugen J.S. Antsilevich <ugen@FreeBSD.org> | 1995-02-15 18:41:21 +0000 |
commit | 73bac2c219302f22d4ff4588c3a6d4e19c2faec5 (patch) | |
tree | ad1ff4bd3ea4353dc169f56b854243ce49d573f5 /sys/sys/snoop.h | |
parent | 8c91744a04205f48b8495d8443929a2b3c4346e9 (diff) | |
download | src-73bac2c219302f22d4ff4588c3a6d4e19c2faec5.tar.gz src-73bac2c219302f22d4ff4588c3a6d4e19c2faec5.zip |
More changes to support user calls.
Notes
Notes:
svn path=/head/; revision=6453
Diffstat (limited to 'sys/sys/snoop.h')
-rw-r--r-- | sys/sys/snoop.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h index 4e07b63678d1..3790b0006a67 100644 --- a/sys/sys/snoop.h +++ b/sys/sys/snoop.h @@ -64,10 +64,24 @@ struct snptty { #define ST_MAXTYPE 2 }; +/* + * Theese are snoop io controls + * SNPSTTY accepts 'struct snptty' as input. + * If ever type or unit set to -1,snoop device + * detached from it's current tty. + */ + #define SNPSTTY _IOW('T', 90, struct snptty) #define SNPGTTY _IOR('T', 89, struct snptty) - +/* + * Theese values would be returned by FIONREAD ioctl + * instead of number of characters in buffer in case + * of specific errors. + */ +#define SNP_OFLOW -1 +#define SNP_TTYCLOSE -2 +#define SNP_DETACH -3 #endif |