mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Document flags of a pollrec.
This commit is contained in:
parent
3da722dad7
commit
f46ab10c02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149814
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue