#include <ipsock.h>
Inheritance diagram for PIPSocket::InterfaceEntry:
Public Member Functions | |
InterfaceEntry (const PString &_name, const Address &_addr, const Address &_mask, const PString &_macAddr) | |
create an interface entry from a name, IP addr and MAC addr | |
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 |
|
create an interface entry from a name, IP addr and MAC addr
|
|
Get the address associated with the interface.
|
|
Get the MAC address associate with the interface.
|
|
Get the name of the interface.
|
|
Get the net mask associated with the interface.
|
|
|
|
Print to specified stream.
Reimplemented from PObject. |
|
|
|
|
|
|
|
|