Network interface information.
Enumerator |
---|
FeatureMulticast |
|
FeatureBroadcast |
|
DUNE::Network::Interface::Interface |
( |
void |
| ) |
|
const Address& DUNE::Network::Interface::address |
( |
void |
| ) |
const |
|
inline |
Retrieve interface's address.
- Returns
- interface's address.
const Address& DUNE::Network::Interface::broadcast |
( |
void |
| ) |
const |
|
inline |
Retrieve interface's broadcast address.
- Returns
- interface's broadcast address.
std::vector< Interface > DUNE::Network::Interface::get |
( |
void |
| ) |
|
|
static |
bool DUNE::Network::Interface::hasFeature |
( |
Features |
feature | ) |
|
Test for a given feature.
- Parameters
-
- Returns
- true if the interface supports the given feature, false otherwise.
Referenced by name().
const std::string& DUNE::Network::Interface::name |
( |
void |
| ) |
const |
|
inline |
Retrieve interface's name.
- Returns
- interface's name.
References hasFeature().