资 源 简 介
Tapcfg Virtual Networking
Short Description
A library and related utilities to make it easier to configure the TAP device driver regardless of the platform being run on. This should make virtual networking on Linux/MacOSX/FreeBSD/NetBSD/Solaris/Windows (XP/Vista/7) much easier for application developers.
TAP is a virtual networking device which allows userland applications to receive all packets sent to it including the ethernet headers. The userland applications can also send raw packets to the TAP device and they will be forwarded to the kernel like they would be coming from a real network device.
Supported Features
Currently the library supports creating a new TAP device for use and the following extra features for it:
Autodetection of available TAP devices if the name is not known
Getting and setting the MAC address of the device (setting on Windows has to be done from driver GUI)