blob: 821b8110ce7c3391a3c17d5cce3b64c57666f9a1 [file] [log] [blame]
#pragma once
#include "types.hpp"
#include <optional>
#include <string_view>
#include <tuple>
namespace phosphor::network::netlink
{
InterfaceInfo intfFromRtm(std::string_view msg);
std::optional<std::tuple<unsigned, stdplus::InAnyAddr>> gatewayFromRtm(
std::string_view msg);
AddressInfo addrFromRtm(std::string_view msg);
NeighborInfo neighFromRtm(std::string_view msg);
} // namespace phosphor::network::netlink