Open Lighting Architecture  0.10.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ola::network::Interface Class Reference
Collaboration diagram for ola::network::Interface:
Collaboration graph
[legend]

Public Types

enum  { DEFAULT_INDEX = -1 }
 

Public Member Functions

 Interface (const std::string &name, const IPV4Address &ip_address, const IPV4Address &broadcast_address, const IPV4Address &subnet_mask, const MACAddress &hw_address, bool loopback, int32_t index=DEFAULT_INDEX, uint16_t type=ARP_VOID_TYPE)
 
 Interface (const Interface &other)
 
Interfaceoperator= (const Interface &other)
 
bool operator== (const Interface &other)
 

Public Attributes

std::string name
 
IPV4Address ip_address
 
IPV4Address bcast_address
 
IPV4Address subnet_mask
 
MACAddress hw_address
 
bool loopback
 
int32_t index
 
uint16_t type
 

Static Public Attributes

static const uint16_t ARP_VOID_TYPE = 0xffff
 
static const uint16_t ARP_ETHERNET_TYPE = 1
 

The documentation for this class was generated from the following files: