summaryrefslogtreecommitdiffstats
path: root/sys/sys/event.h
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2009-12-31 20:29:58 +0000
committerbrooks <brooks@FreeBSD.org>2009-12-31 20:29:58 +0000
commita5cc24440bfbf4dc6eeb27b3770d09132b85bd31 (patch)
tree5056962dae0f4e2a29ef2bc9e81b2303cf37d6a1 /sys/sys/event.h
parent2521baf3fe6bd48029ce31d5a4a71014bf96f1d0 (diff)
downloadFreeBSD-src-a5cc24440bfbf4dc6eeb27b3770d09132b85bd31.zip
FreeBSD-src-a5cc24440bfbf4dc6eeb27b3770d09132b85bd31.tar.gz
The devices that supported EVFILT_NETDEV kqueue filters were removed in
r195175. Remove all definitions, documentation, and usage. fifo_misc.c: Remove all kqueue tests as fifo_io.c performs all those that would have remained. Reviewed by: rwatson MFC after: 3 weeks X-MFC note: don't change vlan_link_state() function signature
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r--sys/sys/event.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h
index 4365e44..d92eb55 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -38,7 +38,7 @@
#define EVFILT_PROC (-5) /* attached to struct proc */
#define EVFILT_SIGNAL (-6) /* attached to struct proc */
#define EVFILT_TIMER (-7) /* timers */
-#define EVFILT_NETDEV (-8) /* network devices */
+/* EVFILT_NETDEV (-8) no longer supported */
#define EVFILT_FS (-9) /* filesystem events */
#define EVFILT_LIO (-10) /* attached to lio requests */
#define EVFILT_USER (-11) /* User events */
@@ -131,13 +131,6 @@ struct kevent {
#define NOTE_TRACKERR 0x00000002 /* could not track child */
#define NOTE_CHILD 0x00000004 /* am a child process */
-/*
- * data/hint flags for EVFILT_NETDEV, shared with userspace
- */
-#define NOTE_LINKUP 0x0001 /* link is up */
-#define NOTE_LINKDOWN 0x0002 /* link is down */
-#define NOTE_LINKINV 0x0004 /* link state is invalid */
-
struct knote;
SLIST_HEAD(klist, knote);
struct kqueue;
OpenPOWER on IntegriCloud