1 #pragma once 2 #include "types.hpp" 3 4 #include <optional> 5 #include <string_view> 6 #include <tuple> 7 8 namespace phosphor::network::netlink 9 { 10 11 InterfaceInfo intfFromRtm(std::string_view msg); 12 13 std::optional<std::tuple<unsigned, stdplus::InAnyAddr>> 14 gatewayFromRtm(std::string_view msg); 15 16 AddressInfo addrFromRtm(std::string_view msg); 17 18 NeighborInfo neighFromRtm(std::string_view msg); 19 20 } // namespace phosphor::network::netlink 21