|
Sponge
CS144's user-space TCP library
|
Go to the documentation of this file. 1 #ifndef SPONGE_LIBSPONGE_TUN_HH
2 #define SPONGE_LIBSPONGE_TUN_HH
29 #endif // SPONGE_LIBSPONGE_TUN_HH
TunFD(const std::string &devname)
Open an existing persistent TUN device.
A reference-counted handle to a file descriptor.
TunTapFD(const std::string &devname, const bool is_tun)
Open an existing persistent TUN or TAP device.
TapFD(const std::string &devname)
Open an existing persistent TAP device.
A FileDescriptor to a Linux TAP device.
A FileDescriptor to a Linux TUN device.
A FileDescriptor to a Linux TUN/TAP device.