11 #include "wvinterface.h"
36 void init(
const WvIPNet &addr,
int mtu);
39 const char *wstype()
const {
return "WvTunDev"; }
WvFile implements a stream connected to a file or Unix device.
WvString ifcname
Contains the name of the interface associated with the device.
WvTunDev(const WvIPNet &addr, int mtu=1400)
Creates a tunnel device and its associated interface.
WvString is an implementation of a simple and efficient printable-string class.
An IP network comprises two WvIPAddr structures: an address and a netmask.
WvTunDev provides a convenient way of using Linux tunnel devices.