PIP 5.5.3
Platform-Independent Primitives
Открытые члены | Открытые атрибуты | Полный список членов класса
Структура PIEthernet::Interface

Network interface descriptor. Подробнее...

#include <piethernet.h>

Открытые члены

bool isValid () const
 Returns if interface is active.
 
bool isActive () const
 Returns if interface is active.
 
bool isRunning () const
 Returns if interface is running.
 
bool isBroadcast () const
 Returns if interface support broadcast.
 
bool isMulticast () const
 Returns if interface support multicast.
 
bool isLoopback () const
 Returns if interface is loopback.
 
bool isPTP () const
 Returns if interface is point-to-point.
 

Открытые атрибуты

int index = -1
 System index.
 
int mtu = 0
 MTU.
 
PIString name
 System name.
 
PIString mac
 MAC address in format "hh:hh:hh:hh:hh:hh" or empty if there is no MAC address.
 
PIString address
 IP address in format "i.i.i.i" or empty if there is no IP address.
 
PIString netmask
 Netmask of IP address in format "i.i.i.i" or empty if there is no netmask.
 
PIString broadcast
 Broadcast address in format "i.i.i.i" or empty if there is no broadcast address.
 
PIString ptp
 Point-to-point address or empty if there is no point-to-point address.
 
InterfaceFlags flags
 Flags of interface.
 

Подробное описание

Network interface descriptor.