summaryrefslogtreecommitdiffstats
path: root/sys/sys/snoop.h
Commit message (Collapse)AuthorAgeFilesLines
* Slightly change the API for the SNPSTTY ioctl so that the userland nowcognet2005-09-181-4/+2
| | | | | | | provides a file descriptor instead of a dev_t. Discussed with: phk MFC after: 3 days
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Second half of the dev_t cleanup.phk2004-06-171-2/+2
| | | | | | | | | | | The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc.
* Declare the snp ioctl()s to work on udev_t, since that is what theytmm2002-11-111-2/+2
| | | | | | | really do and dev_t is defined differently in kernel and userland. Return a correctly formed udev from SNPGTTY. Reviewed by: dd
* - Spell "these" properly.arr2002-09-101-2/+2
|
* Include <sys/types.h> in the !_KERNEL case so that this file isbde2002-06-241-0/+3
| | | | | self-sufficient in that case (it needs dev_t). This is normal pollution for most headers that define ioctl numbers.
* Move the kernel stuff out of snoop.h. It was only there because somedd2001-07-251-39/+0
| | | | | of the snp* functions needed to be called from tty.c, which is no longer the case.
* Keep track of all "struct snoop"'s so that snp_modevent can fail withdd2001-07-181-0/+1
| | | | EBUSY if there's a device still open.
* Style and cosmetic cleanups. This driver is now reasonably stlye(9)dd2001-06-051-4/+0
| | | | | | | | | compliant. All the variable definitions and function names are reasonably consistent, and the functions which should be static (i.e., all of them) are. Other assorted fixes were made. The majority of the delta is indentation fixes. Partially reviewed by: bde
* Remove unused includes, use *min() inline functions rather than add2001-06-031-1/+0
| | | | | | | home-grown macro, rewrite a confusing conditional in snpdevtotty(), and change ibuf to 512 bytes instead of 1024 bytes in dsnwrite(). Reviewed by: bde
* Add snp_olddisc member to struct snoop; the linedisc'ized snp(4) uses this.dd2001-05-241-0/+1
| | | | Pointy hat to: dd
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-3/+5
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.des1998-04-171-1/+1
|
* Fixed nonblocking mode. It was per-device instead of per-file.bde1997-11-181-1/+0
|
* Only export ioctl-related stuff to applications. Include prerequisitebde1997-03-191-10/+15
| | | | | | headers (like most other ioctl-related headers). Didn't fix spelling errors and other warts.
* A Major staticize sweep. Generates a couple of warnings that I'll dealphk1995-12-141-1/+0
| | | | | | with later. A number of unused vars removed. A number of unused procs removed or #ifdefed.
* Moved prototypes for devswitch functions from conf.c and driver sourcesbde1995-11-041-6/+0
| | | | | | | to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized.
* Fix benign type mismatches in devsw functions. 82 out of 299 devswbde1995-09-081-2/+2
| | | | functions were wrong.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-3/+17
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* sameugen1995-02-271-6/+7
|
* (a) remove the pointer to each driver's tty structure array from cdevswpst1995-02-251-23/+6
| | | | | | | | | (b) add a function callback vector to tty drivers that will return a pointer to a valid tty structure based upon a dev_t (c) make syscons structures the same size whether or not APM is enabled so utilities don't crash if NAPM changes (and make the damn kernel compile!) (d) rewrite /dev/snp ioctl interface so that it is device driver and i386 independant
* More changes to support user calls.ugen1995-02-151-1/+15
|
* Add more flags to snoop deviceugen1995-02-151-2/+11
|
* TS_SNOOP flag added to identify tty is begin snooppedugen1995-02-141-0/+64
snoop.h have all structures related to the snp device and stuff
OpenPOWER on IntegriCloud