|
Lines 404-409
Link Here
|
| 404 |
contains the number of times the timeout has expired since the last call to |
404 |
contains the number of times the timeout has expired since the last call to |
| 405 |
.Fn kevent . |
405 |
.Fn kevent . |
| 406 |
This filter automatically sets the EV_CLEAR flag internally. |
406 |
This filter automatically sets the EV_CLEAR flag internally. |
|
|
407 |
.It EVFILT_NETDEV |
| 408 |
Takes a descriptor to a network interface as the identifier and the events to watch for in |
| 409 |
.Va fflags , |
| 410 |
and returns when one or more of the requested events occurs on the descritor. The events to monitor are: |
| 411 |
.Bl -tag -width XXNOTE_TRACKERR |
| 412 |
.It NOTE_LINKUP |
| 413 |
The link is up. |
| 414 |
.It NOTE_LINKDOWN |
| 415 |
The link is down. |
| 416 |
.It NOTE_LINKINV |
| 417 |
The link state is invalid. |
| 418 |
.El |
| 419 |
.Pp |
| 420 |
On return, |
| 421 |
.Va fflags |
| 422 |
contains the events which triggered the filter. |
| 407 |
.El |
423 |
.El |
| 408 |
.Sh RETURN VALUES |
424 |
.Sh RETURN VALUES |
| 409 |
The |
425 |
The |