William A. Kennington III | a7344c3 | 2022-10-31 14:12:27 -0700 | [diff] [blame] | 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 | { |
William A. Kennington III | 6a92363 | 2022-11-06 18:17:33 -0800 | [diff] [blame] | 10 | |
William A. Kennington III | a7344c3 | 2022-10-31 14:12:27 -0700 | [diff] [blame] | 11 | std::optional<std::tuple<unsigned, InAddrAny>> |
| 12 | gatewayFromRtm(std::string_view msg); |
William A. Kennington III | 6a92363 | 2022-11-06 18:17:33 -0800 | [diff] [blame] | 13 | |
| 14 | AddressInfo addrFromRtm(std::string_view msg); |
| 15 | |
William A. Kennington III | a842690 | 2022-11-07 15:37:41 -0800 | [diff] [blame] | 16 | NeighborInfo neighFromRtm(std::string_view msg); |
| 17 | |
William A. Kennington III | 6a92363 | 2022-11-06 18:17:33 -0800 | [diff] [blame] | 18 | } // namespace phosphor::network::netlink |