WvStreams
|
List of IP Routes currently in effect. More...
#include <wviproute.h>
Public Member Functions | |
void | get_kernel () |
automatically fill the list with appropriate data from the kernel More... | |
void | set_kernel () |
automatically set the kernel to the values in the RouteList More... | |
WvIPRoute * | find (const WvIPAddr &addr) |
find the routing entry that matches 'addr' More... | |
Public Attributes | |
WvLog | log |
List of IP Routes currently in effect.
Definition at line 36 of file wviproute.h.
WvIPRouteList::WvIPRouteList | ( | ) |
Definition at line 51 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 WvStream::blocking_getline(), WvStream::getline(), WvFdStream::isok(), WvFastString::num(), and WvStringList::split().
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(), and get_kernel().
find the routing entry that matches 'addr'
Definition at line 253 of file wviproute.cc.
WvLog WvIPRouteList::log |
Definition at line 39 of file wviproute.h.