An aggregation of information about a network interface.
More...
#include <NetworkInterface.h++>
|
static const uint32_t | FLAG_UP = 1 << 0 |
| A flag indicating that an interface is up. More...
|
|
static const uint32_t | FLAG_BROADCAST = 1 << 1 |
| A flag indicating that an interface has broadcast capability. More...
|
|
static const uint32_t | FLAG_LOOPBACK = 1 << 2 |
| A flag identifying an interface as a loopback interface. More...
|
|
static const uint32_t | FLAG_PPP = 1 << 3 |
| A flag identifying an interface as a Point-to-Point link interface. More...
|
|
static const uint32_t | FLAG_RUNNING = 1 << 4 |
| A flag indicating that an interface is running. More...
|
|
static const uint32_t | FLAG_MULTICAST = 1 << 5 |
| A flag indicating that an interface has multicast capability. More...
|
|
static const uint32_t | FLAG_MASK = 0x3F |
| Flag mask (all flag bits set). More...
|
|
An aggregation of information about a network interface.
- Author
- Mark Lindner
◆ ~NetworkInterface()
◆ getAddress()
◆ getBroadcastAddress()
Get the broadcast address.
◆ getDestAddress()
Get the destination address.
◆ getFlags()
uint32_t getFlags |
( |
| ) |
const |
|
inline |
◆ getHardwareAddress()
Get the hardware (MAC) address.
◆ getMetric()
◆ getMTU()
Get the maximum transmission unit (MTU).
◆ getName()
◆ getNetMask()
◆ getPrefixLength()
uint_t getPrefixLength |
( |
| ) |
const |
|
inline |
Get the subnet prefix length.
◆ isBroadcastSupported()
bool isBroadcastSupported |
( |
| ) |
const |
|
inline |
Test if the interface has broadcast capability.
◆ isLoopback()
bool isLoopback |
( |
| ) |
const |
|
inline |
Test if the interface is a loopback interface.
◆ isMulticastSupported()
bool isMulticastSupported |
( |
| ) |
const |
|
inline |
Test if the interface has multicast capability.
◆ isPPP()
Test if the interface is a PPP interface.
◆ isRunning()
Test if the interface is running.
◆ isUp()
Test if the interface is up.
◆ Network
◆ FLAG_BROADCAST
const uint32_t FLAG_BROADCAST = 1 << 1 |
|
static |
A flag indicating that an interface has broadcast capability.
◆ FLAG_LOOPBACK
const uint32_t FLAG_LOOPBACK = 1 << 2 |
|
static |
A flag identifying an interface as a loopback interface.
◆ FLAG_MASK
const uint32_t FLAG_MASK = 0x3F |
|
static |
Flag mask (all flag bits set).
◆ FLAG_MULTICAST
const uint32_t FLAG_MULTICAST = 1 << 5 |
|
static |
A flag indicating that an interface has multicast capability.
◆ FLAG_PPP
const uint32_t FLAG_PPP = 1 << 3 |
|
static |
A flag identifying an interface as a Point-to-Point link interface.
◆ FLAG_RUNNING
const uint32_t FLAG_RUNNING = 1 << 4 |
|
static |
A flag indicating that an interface is running.
◆ FLAG_UP
const uint32_t FLAG_UP = 1 << 0 |
|
static |
A flag indicating that an interface is up.
The documentation for this class was generated from the following files: