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

WvIPRoute Class Reference

#include <wviproute.h>

List of all members.

Public Methods

 WvIPRoute (const WvString &_ifc, const WvIPNet &_net, const WvIPAddr &_gate, int _metric, const WvString &_table)
 operator WvString () const
bool operator== (const WvIPRoute &r2) const
 WvIPRoute (const WvString &_ifc, const WvIPNet &_net, const WvIPAddr &_gate, int _metric, const WvString &_table)
 operator WvString () const
bool operator== (const WvIPRoute &r2) const

Public Attributes

WvString ifc
WvIPNet ip
WvIPAddr gateway
int metric
WvString table


Detailed Description

Manipulate the kernel routing table in strange and interesting ways ;)

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


Constructor & Destructor Documentation

WvIPRoute::WvIPRoute const WvString   _ifc,
const WvIPNet   _net,
const WvIPAddr   _gate,
int    _metric,
const WvString   _table
 

Definition at line 20 of file wviproute.cc.

References ifc, metric, and WvString::unique().

WvIPRoute::WvIPRoute const WvString   _ifc,
const WvIPNet   _net,
const WvIPAddr   _gate,
int    _metric,
const WvString   _table
 


Member Function Documentation

WvIPRoute::operator WvString   const
 

WvIPRoute::operator WvString   const
 

Definition at line 30 of file wviproute.cc.

References gateway, ifc, ip, metric, and table.

bool WvIPRoute::operator== const WvIPRoute &    r2 const
 

bool WvIPRoute::operator== const WvIPRoute &    r2 const
 

Definition at line 39 of file wviproute.cc.

References gateway, ifc, ip, metric, WvIPNet::netmask(), WvIPNet::network(), and table.


Member Data Documentation

WvIPAddr WvIPRoute::gateway
 

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

Referenced by operator WvString(), and operator==().

WvString WvIPRoute::ifc
 

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

Referenced by operator WvString(), operator==(), and WvIPRoute().

WvIPNet WvIPRoute::ip
 

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

Referenced by operator WvString(), and operator==().

int WvIPRoute::metric
 

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

Referenced by operator WvString(), operator==(), and WvIPRoute().

WvString WvIPRoute::table
 

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

Referenced by operator WvString(), and operator==().


The documentation for this class was generated from the following files:
Generated on Sat Aug 24 21:37:06 2002 for WvStreams by doxygen1.2.15