Document flags of a pollrec.

This commit is contained in:
Gleb Smirnoff 2005-09-06 11:09:18 +00:00
parent 3da722dad7
commit f46ab10c02
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149814

View File

@ -174,6 +174,11 @@ SYSCTL_UINT(_kern_polling, OID_AUTO, idlepoll_sleeping, CTLFLAG_RD,
struct pollrec {
poll_handler_t *handler;
struct ifnet *ifp;
/*
* Flags of polling record (protected by poll_mtx).
* PRF_RUNNING means that the handler is now executing.
* PRF_LEAVING means that the handler is now deregistering.
*/
#define PRF_RUNNING 0x1
#define PRF_LEAVING 0x2
uint32_t flags;