Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

WvIPRouteList Class Reference

#include <wviproute.h>

Inherits WvIPRouteListBase.

Collaboration diagram for WvIPRouteList:

[legend]
List of all members.

Detailed Description

List of IP Routes currently in effect.

Definition at line 36 of file wviproute.h.

Public Member Functions

 WvIPRouteList ()
void get_kernel ()
 automatically fill the list with appropriate data from the kernel

void set_kernel ()
 automatically set the kernel to the values in the RouteList

WvIPRoutefind (const WvIPAddr &addr)
 find the routing entry that matches 'addr'


Public Attributes

WvLog log


Constructor & Destructor Documentation

WvIPRouteList::WvIPRouteList  ) 
 

Definition at line 51 of file wviproute.cc.

References log.


Member Function Documentation

WvIPRoute * WvIPRouteList::find const WvIPAddr addr  ) 
 

find the routing entry that matches 'addr'

Definition at line 253 of file wviproute.cc.

void WvIPRouteList::get_kernel  ) 
 

automatically fill the list with appropriate data from the kernel

Definition at line 60 of file wviproute.cc.

References __u32, WvStream::getline(), WvFDStream::isok(), log, WvFastString::num(), WvStringList::split(), and WvIPRoute::src.

Referenced by set_kernel().

void WvIPRouteList::set_kernel  ) 
 

automatically set the kernel to the values in the RouteList

Definition at line 202 of file wviproute.cc.

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


Member Data Documentation

WvLog WvIPRouteList::log
 

Definition at line 39 of file wviproute.h.

Referenced by get_kernel(), and set_kernel().


The documentation for this class was generated from the following files:
Generated on Sat Feb 21 21:06:30 2004 for WvStreams by doxygen 1.3.5