blob: 5436e9d81253bf13714cab4387d47a376c45c576 [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, InAddrAny>>
gatewayFromRtm(std::string_view msg);
AddressInfo addrFromRtm(std::string_view msg);
NeighborInfo neighFromRtm(std::string_view msg);
} // namespace phosphor::network::netlink