blob: 286214307429be836f33bbba30b329e48c1a6b31 [file] [log] [blame]
William A. Kennington IIIa7344c32022-10-31 14:12:27 -07001#pragma once
2#include "types.hpp"
3
4#include <optional>
5#include <string_view>
6#include <tuple>
7
8namespace phosphor::network::netlink
9{
William A. Kennington III6a923632022-11-06 18:17:33 -080010
William A. Kennington IIIa7344c32022-10-31 14:12:27 -070011std::optional<std::tuple<unsigned, InAddrAny>>
12 gatewayFromRtm(std::string_view msg);
William A. Kennington III6a923632022-11-06 18:17:33 -080013
14AddressInfo addrFromRtm(std::string_view msg);
15
William A. Kennington IIIa8426902022-11-07 15:37:41 -080016NeighborInfo neighFromRtm(std::string_view msg);
17
William A. Kennington III6a923632022-11-06 18:17:33 -080018} // namespace phosphor::network::netlink