Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/event.h
Show All 37 Lines | |||||
#define EVFILT_PROC (-5) /* attached to struct proc */ | #define EVFILT_PROC (-5) /* attached to struct proc */ | ||||
#define EVFILT_SIGNAL (-6) /* attached to struct proc */ | #define EVFILT_SIGNAL (-6) /* attached to struct proc */ | ||||
#define EVFILT_TIMER (-7) /* timers */ | #define EVFILT_TIMER (-7) /* timers */ | ||||
#define EVFILT_PROCDESC (-8) /* attached to process descriptors */ | #define EVFILT_PROCDESC (-8) /* attached to process descriptors */ | ||||
#define EVFILT_FS (-9) /* filesystem events */ | #define EVFILT_FS (-9) /* filesystem events */ | ||||
#define EVFILT_LIO (-10) /* attached to lio requests */ | #define EVFILT_LIO (-10) /* attached to lio requests */ | ||||
#define EVFILT_USER (-11) /* User events */ | #define EVFILT_USER (-11) /* User events */ | ||||
#define EVFILT_SENDFILE (-12) /* attached to sendfile requests */ | #define EVFILT_SENDFILE (-12) /* attached to sendfile requests */ | ||||
#define EVFILT_SYSCOUNT 12 | #define EVFILT_EMPTY (-13) /* empty send socket buf */ | ||||
#define EVFILT_SYSCOUNT 13 | |||||
#define EV_SET(kevp_, a, b, c, d, e, f) do { \ | #define EV_SET(kevp_, a, b, c, d, e, f) do { \ | ||||
struct kevent *kevp = (kevp_); \ | struct kevent *kevp = (kevp_); \ | ||||
(kevp)->ident = (a); \ | (kevp)->ident = (a); \ | ||||
(kevp)->filter = (b); \ | (kevp)->filter = (b); \ | ||||
(kevp)->flags = (c); \ | (kevp)->flags = (c); \ | ||||
(kevp)->fflags = (d); \ | (kevp)->fflags = (d); \ | ||||
(kevp)->data = (e); \ | (kevp)->data = (e); \ | ||||
▲ Show 20 Lines • Show All 247 Lines • Show Last 20 Lines |