#include <ipsock.h>
Inheritance diagram for PIPSocket::InterfaceEntry:
Public Member Functions | |
InterfaceEntry () | |
create an interface entry from a name, IP addr and MAC addr | |
InterfaceEntry (const PString &_name, const Address &_addr, const Address &_mask, const PString &_macAddr) | |
virtual void | PrintOn (ostream &strm) const |
Print to specified stream. | |
const PString & | GetName () const |
Get the name of the interface. | |
Address | GetAddress () const |
Get the address associated with the interface. | |
BOOL | HasIP6Address () const |
Address | GetNetMask () const |
Get the net mask associated with the interface. | |
const PString & | GetMACAddress () const |
Get the MAC address associate with the interface. | |
Protected Attributes | |
PString | name |
Address | ipAddr |
Address | netMask |
PString | macAddr |
PIPSocket::InterfaceEntry::InterfaceEntry | ( | ) |
create an interface entry from a name, IP addr and MAC addr
PIPSocket::InterfaceEntry::InterfaceEntry | ( | const PString & | _name, | |
const Address & | _addr, | |||
const Address & | _mask, | |||
const PString & | _macAddr | |||
) |
virtual void PIPSocket::InterfaceEntry::PrintOn | ( | ostream & | strm | ) | const [virtual] |
const PString& PIPSocket::InterfaceEntry::GetName | ( | ) | const [inline] |
Get the name of the interface.
Address PIPSocket::InterfaceEntry::GetAddress | ( | ) | const [inline] |
Get the address associated with the interface.
BOOL PIPSocket::InterfaceEntry::HasIP6Address | ( | ) | const [inline] |
Address PIPSocket::InterfaceEntry::GetNetMask | ( | ) | const [inline] |
Get the net mask associated with the interface.
const PString& PIPSocket::InterfaceEntry::GetMACAddress | ( | ) | const [inline] |
Get the MAC address associate with the interface.
PString PIPSocket::InterfaceEntry::name [protected] |
Address PIPSocket::InterfaceEntry::ipAddr [protected] |
Address PIPSocket::InterfaceEntry::netMask [protected] |
PString PIPSocket::InterfaceEntry::macAddr [protected] |