Ethernet TAP driver 1.1 reviewDownload
TAP provides packet reception and transmission for user-space programs
TAP provides packet reception and transmission for user-space programs. It can be viewed as a simple Ethernet device, which instead of receiving packets from a physical medium, receives them from a user-space program and instead of sending packets via physical media, writes them to the user-space program.
When a program opens /dev/tunX or /dev/tapX, driver creates and registers corresponding net device tunX or tapX. After a program closed above devices, driver will automatically delete tunXX or tapXX device and all routes corresponding to it.
This package(http://vtun.sourceforge.net/tun) contains two simple example programs that shows you how to use tun and tap devices. Both programs work like bridge between two network interfaces. br_select.c - bridge based on select system call. br_sigio.c - bridge based on async io and SIGIO signal. However the best example is VTun http://vtun.sourceforge.net
What's New in This Release:
Massive Linux driver update: 2.4.x kernel support. New cloning interface, protocol indication. Statistics counting fixes.
Solaris driver update: Correct Ethernet header substitution.
Configure and Makefile updates. RPM package update.
Ethernet TAP driver 1.1 keywords