Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/tap.4
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Lines | |||||
this stores the internal debugging variable's value into it. | this stores the internal debugging variable's value into it. | ||||
.It Dv TAPGIFNAME | .It Dv TAPGIFNAME | ||||
Retrieve network interface name. | Retrieve network interface name. | ||||
The argument should be a pointer to a | The argument should be a pointer to a | ||||
.Va struct ifreq . | .Va struct ifreq . | ||||
The interface name will be returned in the | The interface name will be returned in the | ||||
.Va ifr_name | .Va ifr_name | ||||
field. | field. | ||||
.It Dv TAPSTRANSIENT | |||||
The argument should be a pointer to an | |||||
.Va int ; | |||||
this sets the transient flag on | |||||
the | |||||
.Nm | |||||
device. | |||||
A transient | |||||
.Nm | |||||
will be destroyed upon last close. | |||||
.It Dv TAPGTRANSIENT | |||||
The argument should be a pointer to an | |||||
.Va int ; | |||||
this stores the current state (enabled or disabled) of the transient flag into | |||||
it. | |||||
.It Dv FIONBIO | .It Dv FIONBIO | ||||
Turn non-blocking I/O for reads off or on, according as the argument | Turn non-blocking I/O for reads off or on, according as the argument | ||||
.Va int Ns 's | .Va int Ns 's | ||||
value is or is not zero | value is or is not zero | ||||
(Writes are always nonblocking). | (Writes are always nonblocking). | ||||
.It Dv FIOASYNC | .It Dv FIOASYNC | ||||
Turn asynchronous I/O for reads | Turn asynchronous I/O for reads | ||||
(i.e., generation of | (i.e., generation of | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |