diff options
author | provos <provos@openbsd.org> | 2000-11-16 20:02:15 +0000 |
---|---|---|
committer | provos <provos@openbsd.org> | 2000-11-16 20:02:15 +0000 |
commit | 1a12e8a7ab11e47f6fb18cdbc03b05e8885dfcad (patch) | |
tree | 21c49b483d84ca5ca2b0b9f8491c15f7b579b1f3 /sys/sys/filedesc.h | |
parent | Add uscanner.c. (diff) | |
download | wireguard-openbsd-1a12e8a7ab11e47f6fb18cdbc03b05e8885dfcad.tar.xz wireguard-openbsd-1a12e8a7ab11e47f6fb18cdbc03b05e8885dfcad.zip |
support kernel event queues, from FreeBSD by Jonathan Lemon,
okay art@, millert@
Diffstat (limited to 'sys/sys/filedesc.h')
-rw-r--r-- | sys/sys/filedesc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/filedesc.h b/sys/sys/filedesc.h index e936413eac3..85b4c3d8530 100644 --- a/sys/sys/filedesc.h +++ b/sys/sys/filedesc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: filedesc.h,v 1.8 2000/04/24 06:26:23 provos Exp $ */ +/* $OpenBSD: filedesc.h,v 1.9 2000/11/16 20:02:20 provos Exp $ */ /* $NetBSD: filedesc.h,v 1.14 1996/04/09 20:55:28 cgd Exp $ */ /* @@ -71,6 +71,11 @@ struct filedesc { int fd_freefile; /* approx. next free file */ u_short fd_cmask; /* mask for file creation */ u_short fd_refcnt; /* reference count */ + + int fd_knlistsize; /* size of knlist */ + struct klist *fd_knlist; /* list of attached knotes */ + u_long fd_knhashmask; /* size of knhash */ + struct klist *fd_knhash; /* hash table for attached knotes */ }; /* |