11#include "wvinterface.h"
36 void init(
const WvIPNet &addr,
int mtu);
39 const char *wstype()
const {
return "WvTunDev"; }
WvFile()
Create an empty WvFile that you'll open later with open().
An IP network comprises two WvIPAddr structures: an address and a netmask.
WvString is an implementation of a simple and efficient printable-string class.
WvTunDev(const WvIPNet &addr, int mtu=1400)
Creates a tunnel device and its associated interface.
WvString ifcname
Contains the name of the interface associated with the device.