FreeBSD Bugzilla – Attachment 35087 Details for
Bug 56758
[Patch] Talk about EVFILT_NETDEV in kqueue(2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
kqueue.2.diff
kqueue.2.diff (text/plain), 973 bytes, created by
Suleiman Souhlal
on 2003-09-14 01:00:35 UTC
(
hide
)
Description:
kqueue.2.diff
Filename:
MIME Type:
Creator:
Suleiman Souhlal
Created:
2003-09-14 01:00:35 UTC
Size:
973 bytes
patch
obsolete
>Index: lib/libc/sys/kqueue.2 >=================================================================== >RCS file: /home/ncvs/src/lib/libc/sys/kqueue.2,v >retrieving revision 1.34 >diff -u -r1.34 kqueue.2 >--- lib/libc/sys/kqueue.2 8 Sep 2003 19:57:16 -0000 1.34 >+++ lib/libc/sys/kqueue.2 13 Sep 2003 23:44:15 -0000 >@@ -404,6 +404,22 @@ > contains the number of times the timeout has expired since the last call to > .Fn kevent . > This filter automatically sets the EV_CLEAR flag internally. >+.It EVFILT_NETDEV >+Takes a descriptor to a network interface as the identifier and the events to watch for in >+.Va fflags , >+and returns when one or more of the requested events occurs on the descritor. The events to monitor are: >+.Bl -tag -width XXNOTE_TRACKERR >+.It NOTE_LINKUP >+The link is up. >+.It NOTE_LINKDOWN >+The link is down. >+.It NOTE_LINKINV >+The link state is invalid. >+.El >+.Pp >+On return, >+.Va fflags >+contains the events which triggered the filter. > .El > .Sh RETURN VALUES > The
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56758
: 35087