blob: f35c25f5f052f9778c8da86f396ad1341920a04d [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