36 std::span<uint8_t, 16> address);
47 -> std::optional<std::expected<void, std::error_code>>;
50 auto handle_error(
const nlmsghdr& header) -> std::expected<void, std::error_code>;
auto process_message(const nlmsghdr &header) -> std::optional< std::expected< void, std::error_code > >
Process a response message for the flush operation.
Definition nl_neighbor_flush_task.cxx:31
auto handle_error(const nlmsghdr &header) -> std::expected< void, std::error_code >
Definition nl_neighbor_flush_task.cxx:44
std::array< uint8_t, 16 > address_
Definition nl_neighbor_flush_task.hxx:25
NeighborFlushTask(SocketGuard &socket_guard, uint32_t ifindex, uint32_t sequence, std::span< uint8_t, 16 > address)
Construct a NeighborFlushTask to remove a neighbor entry.
Definition nl_neighbor_flush_task.cxx:19
void prepare_request()
Prepare the netlink request to flush the neighbor entry.
Definition nl_neighbor_flush_task.cxx:27
Base task type for neighbor-related netlink operations.
Definition nl_neighbor_task.hxx:29
auto sequence() const noexcept -> uint32_t
Definition nl_request_task.hxx:102
auto ifindex() const noexcept -> uint32_t
Definition nl_request_task.hxx:106
Thread-safe guard owning a labeled Socket.
Definition nl_socket_guard.hxx:25
Definition nl_common.hxx:22
Definition nl_common.hxx:21