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

WvIPRoute Class Reference

#include <wviproute.h>

Collaboration diagram for WvIPRoute:

[legend]
List of all members.

Detailed Description

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

Definition at line 16 of file wviproute.h.

Public Member Functions

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

Public Attributes

WvString ifc
WvIPNet ip
WvIPAddr gateway
int metric
WvString table
WvIPAddr src


Constructor & Destructor Documentation

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

Definition at line 17 of file wviproute.cc.

References metric, and WvStringParm.


Member Function Documentation

WvIPRoute::operator WvString  )  const
 

Definition at line 26 of file wviproute.cc.

References gateway, ifc, metric, and table.

bool WvIPRoute::operator== const WvIPRoute r2  )  const
 

Definition at line 38 of file wviproute.cc.

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


Member Data Documentation

WvIPAddr WvIPRoute::gateway
 

Definition at line 26 of file wviproute.h.

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

WvString WvIPRoute::ifc
 

Definition at line 24 of file wviproute.h.

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

WvIPNet WvIPRoute::ip
 

Definition at line 25 of file wviproute.h.

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

int WvIPRoute::metric
 

Definition at line 27 of file wviproute.h.

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

WvIPAddr WvIPRoute::src
 

Definition at line 29 of file wviproute.h.

Referenced by WvIPRouteList::get_kernel().

WvString WvIPRoute::table
 

Definition at line 28 of file wviproute.h.

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


The documentation for this class was generated from the following files:
Generated on Sat Mar 13 14:58:16 2004 for WvStreams by doxygen 1.3.6-20040222