#include <nl_route_event.hxx>
|
| enum class | Type : uint16_t { UNKNOWN = 0
, NEW_ROUTE = RTM_NEWROUTE
, DELETE_ROUTE = RTM_DELROUTE
} |
| enum class | Flags : uint32_t {
NONE = 0
, NOTIFY = (1u << 8)
, CLONED = (1u << 9)
, EQUALIZE = (1u << 10)
,
PREFIX = (1u << 11)
, LOOKUP_TABLE = (1u << 12)
, FIB_MATCH = (1u << 13)
, OFFLOAD = (1u << 14)
,
TRAP = (1u << 15)
, OFFLOAD_FAILED = (1u << 29)
} |
◆ Flags
| Enumerator |
|---|
| NONE | |
| NOTIFY | |
| CLONED | |
| EQUALIZE | |
| PREFIX | |
| LOOKUP_TABLE | |
| FIB_MATCH | |
| OFFLOAD | |
| TRAP | |
| OFFLOAD_FAILED | |
◆ Type
| Enumerator |
|---|
| UNKNOWN | |
| NEW_ROUTE | |
| DELETE_ROUTE | |
◆ from_nlmsghdr()
| auto llmx::rtaco::RouteEvent::from_nlmsghdr |
( |
const nlmsghdr & | header | ) |
-> RouteEvent |
|
static |
Parse a RouteEvent from a netlink message header.
Extracts route attributes and fills a RouteEvent structure.
◆ dst
| std::string llmx::rtaco::RouteEvent::dst {} |
◆ dst_prefix_len
| uint8_t llmx::rtaco::RouteEvent::dst_prefix_len {0} |
◆ family
| uint8_t llmx::rtaco::RouteEvent::family {0} |
◆ flags
◆ gateway
| std::string llmx::rtaco::RouteEvent::gateway {} |
◆ oif
| std::string llmx::rtaco::RouteEvent::oif {} |
◆ oif_index
| uint32_t llmx::rtaco::RouteEvent::oif_index {0} |
◆ prefsrc
| std::string llmx::rtaco::RouteEvent::prefsrc {} |
◆ priority
| uint32_t llmx::rtaco::RouteEvent::priority {0} |
◆ protocol
| uint8_t llmx::rtaco::RouteEvent::protocol {0} |
◆ route_type
| uint8_t llmx::rtaco::RouteEvent::route_type {0} |
◆ scope
| uint8_t llmx::rtaco::RouteEvent::scope {0} |
◆ src
| std::string llmx::rtaco::RouteEvent::src {} |
◆ src_prefix_len
| uint8_t llmx::rtaco::RouteEvent::src_prefix_len {0} |
◆ table
| uint32_t llmx::rtaco::RouteEvent::table {0} |
◆ type
The documentation for this struct was generated from the following files: