Public API
Async, typed, control-plane.
Two main types: Control for transactions and Listener for kernel notifications. All results use std::expected<…, std::error_code>.
Doxygen
Full API reference on GitHub Pages
Browse the complete Doxygen-generated documentation: every class, method, type, and header — kept in sync with main.
llmxio.github.io/rtaco →
llmx::rtaco::Control
include/rtaco/nl_control.hxxKIND
NAME
DESCRIPTION
dump
dump_routes()
Synchronous dump of the kernel routing table.
dump
dump_addresses()
Synchronous dump of interface addresses.
dump
dump_links()
Synchronous dump of links (interfaces).
dump
dump_neighbors()
Synchronous dump of the neighbor (ARP/ND) cache.
async
async_dump_routes()
Awaitable variant — co_await in an io_context.
async
async_dump_addresses()
Awaitable variant of dump_addresses.
async
async_dump_links()
Awaitable variant of dump_links.
async
async_dump_neighbors()
Awaitable variant of dump_neighbors.
neigh
probe_neighbor()
Trigger neighbor resolution for an address.
neigh
flush_neighbor()
Remove neighbor entries from the kernel cache.
neigh
get_neighbor()
Fetch a single neighbor entry; async variant available.
llmx::rtaco::Listener
include/rtaco/nl_listener.hxxKIND
NAME
DESCRIPTION
event
LinkEvent
Link add/del/change notifications.
event
AddressEvent
Interface address add/del notifications.
event
RouteEvent
Route add/del/change notifications.
event
NeighborEvent
Neighbor table changes (resolution, eviction).
ctl
connect_to_event(handler)
Subscribe to a typed event signal.
ctl
start() / stop()
Drive the netlink receive loop.
Dispatch policy
ExecPolicy::Sync runs handlers inline on the netlink read loop; ExecPolicy::Async posts them onto the io_context executor. Pick per-subscription.