1 #ifndef SPONGE_LIBSPONGE_TUN_HH
2 #define SPONGE_LIBSPONGE_TUN_HH
A reference-counted handle to a file descriptor.
A FileDescriptor to a Linux TAP device.
TapFD(const std::string &devname)
Open an existing persistent TAP device.
A FileDescriptor to a Linux TUN device.
TunFD(const std::string &devname)
Open an existing persistent TUN device.
A FileDescriptor to a Linux TUN/TAP device.
TunTapFD(const std::string &devname, const bool is_tun)
Open an existing persistent TUN or TAP device.