接口功能与状态标志
更多...
#include <rmvl/io/socket.hpp>
|
| static constexpr uint8_t | Up = 1 << 0 |
| | 接口已启用
|
| static constexpr uint8_t | Broadcast = 1 << 1 |
| | 支持广播
|
| static constexpr uint8_t | Loopback = 1 << 2 |
| | 回环接口
|
| static constexpr uint8_t | P2P = 1 << 3 |
| | 点对点链接,如 PPP、TUN 等
|
| static constexpr uint8_t | Multicast = 1 << 4 |
| | 支持多播
|
| static constexpr uint8_t | Running = 1 << 5 |
| | 接口正在运行
|
◆ Broadcast
| uint8_t rm::NetworkInterfaceFlag::Broadcast = 1 << 1 |
|
staticconstexpr |
◆ Loopback
| uint8_t rm::NetworkInterfaceFlag::Loopback = 1 << 2 |
|
staticconstexpr |
◆ Multicast
| uint8_t rm::NetworkInterfaceFlag::Multicast = 1 << 4 |
|
staticconstexpr |
◆ P2P
| uint8_t rm::NetworkInterfaceFlag::P2P = 1 << 3 |
|
staticconstexpr |
◆ Running
| uint8_t rm::NetworkInterfaceFlag::Running = 1 << 5 |
|
staticconstexpr |
◆ Up
| uint8_t rm::NetworkInterfaceFlag::Up = 1 << 0 |
|
staticconstexpr |
该结构体的文档由以下文件生成: