Lines Matching +full:default +full:- +full:tap
1 .. SPDX-License-Identifier: GPL-2.0
5 Universal TUN/TAP device driver
8 Copyright |copy| 1999-2000 Maxim Krasnyansky <[email protected]>
11 Copyright |copy| 1999-2000 Maxim Krasnyansky <[email protected]>
13 FreeBSD TAP driver
14 Copyright |copy| 1999-2000 Maksim Yevmenkin <[email protected]>
21 TUN/TAP provides packet reception and transmission for user space programs.
22 It can be seen as a simple Point-to-Point or Ethernet device, which,
34 IP packets (with tun) or ethernet frames (with tap). Which one is being used
38 for how to use tun and tap devices. Both programs work like a bridge between
40 br_select.c - bridge based on select system call.
41 br_sigio.c - bridge based on async io and SIGIO signal.
56 There's no harm in allowing the device to be accessible by non-root users,
65 Make sure that "Kernel module loader" - module auto-loading
83 -----------------------------
103 /* Flags: IFF_TUN - TUN device (no Ethernet headers)
104 * IFF_TAP - TAP device
106 * IFF_NO_PI - Do not provide packet information
121 ----------------
130 -------------------------------
154 return -1;
157 /* Flags: IFF_TUN - TUN device (no Ethernet headers)
158 * IFF_TAP - TAP device
160 * IFF_NO_PI - Do not provide packet information
161 * IFF_MULTI_QUEUE - Create a queue of multiqueue device
179 for (--i; i >= 0; i--)
187 enabled by default after it was created through TUNSETIFF.
209 Universal TUN/TAP device driver Frequently Asked Question
212 1. What platforms are supported by TUN/TAP driver ?
216 - Linux kernels 2.2.x, 2.4.x
217 - FreeBSD 3.x, 4.x, 5.x
218 - Solaris 2.6, 7.0, 8.0
220 2. What is TUN/TAP driver used for?
222 As mentioned above, main purpose of TUN/TAP driver is tunneling.
225 Another interesting application using TUN/TAP is pipsecd
231 Virtual network device can be viewed as a simple Point-to-Point or
240 and decrypts the data received and writes the packet to the TAP device,
243 4. What is the difference between TUN driver and TAP driver?
245 TUN works with IP frames. TAP works with Ethernet frames.
248 ethernet frames when using tap.
250 5. What is the difference between BPF and TUN/TAP driver?
254 A TUN/TAP driver does provide a virtual network interface and it is possible
257 6. Does TAP driver support kernel Ethernet bridging?