summaryrefslogtreecommitdiffstats
path: root/sys/sys/filedesc.h
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2000-11-16 20:02:15 +0000
committerprovos <provos@openbsd.org>2000-11-16 20:02:15 +0000
commit1a12e8a7ab11e47f6fb18cdbc03b05e8885dfcad (patch)
tree21c49b483d84ca5ca2b0b9f8491c15f7b579b1f3 /sys/sys/filedesc.h
parentAdd uscanner.c. (diff)
downloadwireguard-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.h7
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 */
};
/*