Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

WvInterfaceDict Class Reference

#include <wvinterface.h>

List of all members.

Public Methods

 WvInterfaceDict ()
 ~WvInterfaceDict ()
void update ()
bool islocal (const WvAddr &addr)
bool on_local_net (const WvIPNet &addr)
WvInterfaceoperator[] (const WvString &str)
 operator WvInterfaceDictBase ()
 WvInterfaceDict ()
 ~WvInterfaceDict ()
void update ()
bool islocal (const WvAddr &addr)
bool on_local_net (const WvIPNet &addr)
WvInterfaceoperator[] (const WvString &str)
 operator WvInterfaceDictBase ()

Public Attributes

WvLog log

Static Public Attributes

WvInterfaceDictBase slist
int links = 0


Constructor & Destructor Documentation

WvInterfaceDict::WvInterfaceDict  
 

Definition at line 539 of file wvinterface.cc.

References links, and update.

WvInterfaceDict::~WvInterfaceDict  
 

Definition at line 546 of file wvinterface.cc.

References links, slist, and WvHashTable< WvInterface, WvString, WvInterfaceDictBase_hack::WvInterfaceDictBase_fptr_ >::zap.

WvInterfaceDict::WvInterfaceDict  
 

WvInterfaceDict::~WvInterfaceDict  
 


Member Function Documentation

bool WvInterfaceDict::islocal const WvAddr   addr
 

bool WvInterfaceDict::islocal const WvAddr   addr
 

Definition at line 631 of file wvinterface.cc.

References WvIPNet::base, WvIPNet::broadcast, WvInterface::hwaddr, WvInterface::ipaddr, and WvInterface::valid.

Referenced by WvIPAliaser::add, and on_local_net.

bool WvInterfaceDict::on_local_net const WvIPNet   addr
 

bool WvInterfaceDict::on_local_net const WvIPNet   addr
 

Definition at line 656 of file wvinterface.cc.

References WvIPNet::includes, WvInterface::ipaddr, islocal, WvInterface::isup, and WvInterface::valid.

WvInterfaceDict::operator WvInterfaceDictBase   [inline]
 

Definition at line 150 of file ipstreams/wvinterface.h.

WvInterfaceDict::operator WvInterfaceDictBase   [inline]
 

Definition at line 150 of file include/wvinterface.h.

WvInterface* WvInterfaceDict::operator[] const WvString   str [inline]
 

Definition at line 147 of file ipstreams/wvinterface.h.

WvInterface* WvInterfaceDict::operator[] const WvString   str [inline]
 

Definition at line 147 of file include/wvinterface.h.

void WvInterfaceDict::update  
 

void WvInterfaceDict::update  
 

Definition at line 560 of file wvinterface.cc.

References WvInterfaceDictBase::add, WvLog::Debug3, WvLog::Error, find_ifname, WvStream::getline, WvInterface::hwaddr, log, WvInterface::rescan, slist, WvLog::split, and WvInterface::valid.

Referenced by WvIPAliaser::start_edit, and WvInterfaceDict.


Member Data Documentation

int WvInterfaceDict::links = 0 [static]
 

Definition at line 130 of file ipstreams/wvinterface.h.

Referenced by WvInterfaceDict, and ~WvInterfaceDict.

WvLog WvInterfaceDict::log
 

Definition at line 128 of file ipstreams/wvinterface.h.

Referenced by update.

WvInterfaceDictBase WvInterfaceDict::slist [static]
 

Definition at line 129 of file ipstreams/wvinterface.h.

Referenced by update, and ~WvInterfaceDict.


The documentation for this class was generated from the following files:
Generated on Sun Aug 25 02:29:41 2002 for WvStreams by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002