#include <ipsock.h>

Public Member Functions | |
| RouteEntry (const Address &addr) | |
| create a route table entry from an IP address | |
| Address | GetNetwork () const |
| Get the network address associated with the route table entry. | |
| Address | GetNetMask () const |
| Get the network address mask associated with the route table entry. | |
| Address | GetDestination () const |
| Get the default gateway address associated with the route table entry. | |
| const PString & | GetInterface () const |
| Get the network address name associated with the route table entry. | |
| long | GetMetric () const |
| Get the network metric associated with the route table entry. | |
Protected Attributes | |
| Address | network |
| Address | net_mask |
| Address | destination |
| PString | interfaceName |
| long | metric |
Friends | |
| class | PIPSocket |
| PIPSocket::PIPSocket::RouteEntry::RouteEntry | ( | const Address & | addr | ) | [inline] |
create a route table entry from an IP address
| Address PIPSocket::PIPSocket::RouteEntry::GetDestination | ( | ) | const [inline] |
Get the default gateway address associated with the route table entry.
References PIPSocket::PIPSocket::RouteEntry::destination.
| const PString& PIPSocket::PIPSocket::RouteEntry::GetInterface | ( | ) | const [inline] |
Get the network address name associated with the route table entry.
References PIPSocket::PIPSocket::RouteEntry::interfaceName.
| long PIPSocket::PIPSocket::RouteEntry::GetMetric | ( | ) | const [inline] |
Get the network metric associated with the route table entry.
References PIPSocket::PIPSocket::RouteEntry::metric.
| Address PIPSocket::PIPSocket::RouteEntry::GetNetMask | ( | ) | const [inline] |
Get the network address mask associated with the route table entry.
References PIPSocket::PIPSocket::RouteEntry::net_mask.
| Address PIPSocket::PIPSocket::RouteEntry::GetNetwork | ( | ) | const [inline] |
Get the network address associated with the route table entry.
References PIPSocket::PIPSocket::RouteEntry::network.
friend class PIPSocket [friend] |
Address PIPSocket::PIPSocket::RouteEntry::destination [protected] |
Referenced by PIPSocket::PIPSocket::RouteEntry::GetDestination().
PString PIPSocket::PIPSocket::RouteEntry::interfaceName [protected] |
Referenced by PIPSocket::PIPSocket::RouteEntry::GetInterface().
long PIPSocket::PIPSocket::RouteEntry::metric [protected] |
Referenced by PIPSocket::PIPSocket::RouteEntry::GetMetric().
Address PIPSocket::PIPSocket::RouteEntry::net_mask [protected] |
Referenced by PIPSocket::PIPSocket::RouteEntry::GetNetMask().
Address PIPSocket::PIPSocket::RouteEntry::network [protected] |
Referenced by PIPSocket::PIPSocket::RouteEntry::GetNetwork().
1.5.8