The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/snoop.h

Version: -  FREEBSD  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * Copyright (c) 1995 Ugen J.S.Antsilevich
    3  *
    4  * Redistribution and use in source forms, with and without modification,
    5  * are permitted provided that this entire comment appears intact.
    6  *
    7  * Redistribution in binary form may occur without any restrictions.
    8  * Obviously, it would be nice if you gave credit where credit is due
    9  * but requiring it would be too onerous.
   10  *
   11  * This software is provided ``AS IS'' without any warranties of any kind.
   12  *
   13  * Snoop stuff.
   14  *
   15  * $FreeBSD$
   16  */
   17 
   18 #ifndef _SYS_SNOOP_H_
   19 #define _SYS_SNOOP_H_
   20 
   21 #ifndef _KERNEL
   22 #include <sys/types.h>
   23 #endif
   24 #include <sys/ioccom.h>
   25 
   26 /*
   27  * These are snoop io controls
   28  * SNPSTTY accepts 'struct snptty' as input.
   29  * If ever type or  unit set to -1,snoop device
   30  * detached from its current tty.
   31  */
   32 
   33 #define SNPSTTY       _IOW('T', 90, dev_t)
   34 #define SNPGTTY       _IOR('T', 89, dev_t)
   35 
   36 /*
   37  * These values would be returned by FIONREAD ioctl
   38  * instead of number of characters in buffer in case
   39  * of specific errors.
   40  */
   41 #define SNP_OFLOW               -1
   42 #define SNP_TTYCLOSE            -2
   43 #define SNP_DETACH              -3
   44 
   45 #endif /* !_SYS_SNOOP_H_ */

Cache object: b8b2d382a0f0021663bdddb87b752792


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.