Deleted Added
sdiff udiff text old ( 144979 ) new ( 166497 )
full compact
1.\" $FreeBSD: head/share/man/man4/tap.4 144979 2005-04-13 00:30:19Z mdodd $
2.\" Based on PR#2411
3.\"
4.Dd July 9, 2000
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

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

36interface.
37.Pp
38The network interfaces are named
39.Dq Li tap0 ,
40.Dq Li tap1 ,
41etc., one for each control device that has been opened.
42These Ethernet network interfaces persist until
43.Pa if_tap.ko
44module is unloaded (if
45.Nm
46is built into your kernel, the network interfaces cannot be removed).
47.Pp
48The
49.Nm
50interface
51permits opens on the special control device
52.Pa /dev/tap .
53When this device is opened,
54.Nm
55will return a handle for the lowest unused
56.Nm
57device (use
58.Xr devname 3
59to determine which).
60Control devices (once successfully opened) persist until
61.Pa if_tap.ko
62is unloaded in the same way that network interfaces persist (see above).
63.Pp
64Each interface supports the usual Ethernet network interface
65.Xr ioctl 2 Ns s ,
66such as
67.Dv SIOCSIFADDR
68and
69.Dv SIOCSIFNETMASK ,
70and thus can be used with

--- 202 unchanged lines hidden ---