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

WvIPRouteList Class Reference

#include <wviproute.h>

Inheritance diagram for WvIPRouteList:

WvIPRouteListBase WvIPRouteListBase WvList< WvIPRoute > WvList< WvIPRoute > WvListBase WvListBase WvListBase WvListBase List of all members.

Public Methods

 WvIPRouteList ()
void get_kernel ()
void set_kernel ()
WvIPRoutefind (const WvIPAddr &addr)
 WvIPRouteList ()
void get_kernel ()
void set_kernel ()
WvIPRoutefind (const WvIPAddr &addr)

Public Attributes

WvLog log

Detailed Description

List of IP Routes currently in effect

Definition at line 39 of file include/wviproute.h.


Constructor & Destructor Documentation

WvIPRouteList::WvIPRouteList  
 

Definition at line 52 of file wviproute.cc.

WvIPRouteList::WvIPRouteList  
 


Member Function Documentation

WvIPRoute* WvIPRouteList::find const WvIPAddr   addr
 

find the routing entry that matches 'addr'

WvIPRoute * WvIPRouteList::find const WvIPAddr   addr
 

find the routing entry that matches 'addr'

Definition at line 242 of file wviproute.cc.

void WvIPRouteList::get_kernel  
 

automatically fill the list with appropriate data from the kernel

void WvIPRouteList::get_kernel  
 

automatically fill the list with appropriate data from the kernel

Definition at line 61 of file wviproute.cc.

References WvList< WvIPRoute >::append(), WvListBase::count(), WvLog::Debug, WvLog::Debug2, WvStream::getline(), WvStream::isok(), log, WvString::num(), WvStringList::split(), and WvList< WvString >::zap().

Referenced by set_kernel().

void WvIPRouteList::set_kernel  
 

automatically set the kernel to the values in the RouteList

void WvIPRouteList::set_kernel  
 

automatically set the kernel to the values in the RouteList

Definition at line 192 of file wviproute.cc.

References WvInterface::addroute(), WvInterface::delroute(), get_kernel(), and log.


Member Data Documentation

WvLog WvIPRouteList::log
 

Definition at line 42 of file ipstreams/wviproute.h.

Referenced by get_kernel(), and set_kernel().


The documentation for this class was generated from the following files:
Generated on Sun Aug 25 12:42:52 2002 for WvStreams by doxygen1.2.15