#include <nl_neighbor_event.hxx>
|
| enum class | Type : uint16_t { UNKNOWN = 0
, NEW_NEIGHBOR = RTM_NEWNEIGH
, DELETE_NEIGHBOR = RTM_DELNEIGH
} |
| enum class | State : uint16_t {
NONE = NUD_NONE
, INCOMPLETE = NUD_INCOMPLETE
, REACHABLE = NUD_REACHABLE
, STALE = NUD_STALE
,
DELAY = NUD_DELAY
, PROBE = NUD_PROBE
, FAILED = NUD_FAILED
, NOARP = NUD_NOARP
,
PERMANENT = NUD_PERMANENT
} |
|
| auto | state_to_string () const -> std::string |
| | Convert the Neighbor state enum to a readable string.
|
◆ State
| Enumerator |
|---|
| NONE | |
| INCOMPLETE | |
| REACHABLE | |
| STALE | |
| DELAY | |
| PROBE | |
| FAILED | |
| NOARP | |
| PERMANENT | |
◆ Type
| Enumerator |
|---|
| UNKNOWN | |
| NEW_NEIGHBOR | |
| DELETE_NEIGHBOR | |
◆ from_nlmsghdr()
| auto llmx::rtaco::NeighborEvent::from_nlmsghdr |
( |
const nlmsghdr & | header | ) |
-> NeighborEvent |
|
static |
◆ state_to_string()
| auto llmx::rtaco::NeighborEvent::state_to_string |
( |
| ) |
const -> std::string |
|
inline |
Convert the Neighbor state enum to a readable string.
Returns a '|' separated list of state flags or "NUD_NONE"/"UNKNOWN".
◆ address
| std::string llmx::rtaco::NeighborEvent::address {} |
◆ family
| uint8_t llmx::rtaco::NeighborEvent::family {0U} |
◆ flags
| uint8_t llmx::rtaco::NeighborEvent::flags {0U} |
◆ index
| int llmx::rtaco::NeighborEvent::index {0} |
◆ lladdr
| std::string llmx::rtaco::NeighborEvent::lladdr {} |
◆ neighbor_type
| uint8_t llmx::rtaco::NeighborEvent::neighbor_type {0U} |
◆ state
◆ type
The documentation for this struct was generated from the following files: