WvStreams
Public Member Functions | Public Attributes | List of all members
WvIPRouteList Class Reference

List of IP Routes currently in effect. More...

#include <wviproute.h>

Inheritance diagram for WvIPRouteList:
Inheritance graph
[legend]

Public Member Functions

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'
 
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
 

Detailed Description

List of IP Routes currently in effect.

Definition at line 36 of file debian/libwvstreams-dev/usr/include/wvstreams/wviproute.h.

Constructor & Destructor Documentation

◆ WvIPRouteList()

WvIPRouteList::WvIPRouteList ( )

Definition at line 51 of file wviproute.cc.

Member Function Documentation

◆ get_kernel()

void WvIPRouteList::get_kernel ( )

automatically fill the list with appropriate data from the kernel

Definition at line 60 of file wviproute.cc.

References WvStream::blocking_getline(), WvStream::getline(), WvFdStream::isok(), WvFastString::num(), and WvStringList::split().

Referenced by set_kernel().

◆ 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(), and get_kernel().

◆ find()

WvIPRoute * WvIPRouteList::find ( const WvIPAddr addr)

find the routing entry that matches 'addr'

Definition at line 253 of file wviproute.cc.

Member Data Documentation

◆ log

WvLog WvIPRouteList::log

The documentation for this class was generated from the following files: