Deleted Added
full compact
tap.4 (167714) tap.4 (182881)
1.\" $FreeBSD: head/share/man/man4/tap.4 167714 2007-03-19 18:27:00Z bms $
1.\" $FreeBSD: head/share/man/man4/tap.4 182881 2008-09-08 22:44:51Z emax $
2.\" Based on PR#2411
3.\"
2.\" Based on PR#2411
3.\"
4.Dd March 19, 2007
4.Dd September 8, 2008
5.Os
6.Dt TAP 4
7.Sh NAME
8.Nm tap
9.Nd Ethernet tunnel software network interface
10.Sh SYNOPSIS
11.Cd device tap
12.Sh DESCRIPTION

--- 145 unchanged lines hidden (view full) ---

158(e.g., frame too large),
159an error is returned.
160The following
161.Xr ioctl 2
162calls are supported
163(defined in
164.In net/if_tap.h ) :
165.Bl -tag -width VMIO_SIOCSETMACADDR
5.Os
6.Dt TAP 4
7.Sh NAME
8.Nm tap
9.Nd Ethernet tunnel software network interface
10.Sh SYNOPSIS
11.Cd device tap
12.Sh DESCRIPTION

--- 145 unchanged lines hidden (view full) ---

158(e.g., frame too large),
159an error is returned.
160The following
161.Xr ioctl 2
162calls are supported
163(defined in
164.In net/if_tap.h ) :
165.Bl -tag -width VMIO_SIOCSETMACADDR
166.It Dv TAPSIFINFO
167Set network interface information (line speed, MTU and type).
168The argument should be a pointer to a
169.Va struct tapinfo .
170.It Dv TAPGIFINFO
171Retrieve network interface information (line speed, MTU and type).
172The argument should be a pointer to a
173.Va struct tapinfo .
166.It Dv TAPSDEBUG
167The argument should be a pointer to an
168.Va int ;
169this sets the internal debugging variable to that value.
170What, if
171anything, this variable controls is not documented here; see the source
172code.
173.It Dv TAPGDEBUG
174The argument should be a pointer to an
175.Va int ;
176this stores the internal debugging variable's value into it.
174.It Dv TAPSDEBUG
175The argument should be a pointer to an
176.Va int ;
177this sets the internal debugging variable to that value.
178What, if
179anything, this variable controls is not documented here; see the source
180code.
181.It Dv TAPGDEBUG
182The argument should be a pointer to an
183.Va int ;
184this stores the internal debugging variable's value into it.
185.It Dv TAPGIFNAME
186Retrieve network interface name.
187The argument should be a pointer to a
188.Va struct ifreq .
189The interface name will be returned in the
190.Va ifr_name
191field.
177.It Dv FIONBIO
178Turn non-blocking I/O for reads off or on, according as the argument
179.Va int Ns 's
180value is or is not zero
181(Writes are always nonblocking).
182.It Dv FIOASYNC
183Turn asynchronous I/O for reads
184(i.e., generation of

--- 122 unchanged lines hidden ---
192.It Dv FIONBIO
193Turn non-blocking I/O for reads off or on, according as the argument
194.Va int Ns 's
195value is or is not zero
196(Writes are always nonblocking).
197.It Dv FIOASYNC
198Turn asynchronous I/O for reads
199(i.e., generation of

--- 122 unchanged lines hidden ---