TrinityCore
|
Description of an ethernet or wireless ethernet adapter. More...
#include <NetworkDevice.h>
Public Member Functions | |
EthernetAdapter () | |
void | describe (TextOutput &t) const |
Public Attributes | |
std::string | hostname |
std::string | name |
uint32 | ip |
uint32 | subnet |
uint32 | broadcast |
uint8 | mac [6] |
Description of an ethernet or wireless ethernet adapter.
G3D::NetworkDevice::EthernetAdapter::EthernetAdapter | ( | ) |
void G3D::NetworkDevice::EthernetAdapter::describe | ( | TextOutput & | t | ) | const |
Produces a text description of this adapter
uint32 G3D::NetworkDevice::EthernetAdapter::broadcast |
UDP broadcast address in host byte order.
std::string G3D::NetworkDevice::EthernetAdapter::hostname |
Reverse-DNS of the ip address.
uint32 G3D::NetworkDevice::EthernetAdapter::ip |
IP address in host byte order.
uint8 G3D::NetworkDevice::EthernetAdapter::mac[6] |
MAC (hardware) address, if known
std::string G3D::NetworkDevice::EthernetAdapter::name |
Name of the adapter
uint32 G3D::NetworkDevice::EthernetAdapter::subnet |
Subnet mask in host byte order.