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 | 1aeacc9 | 2022-11-13 18:26:45 -0800 | [diff] [blame] | 11 | InterfaceInfo intfFromRtm(std::string_view msg); |
| 12 | |
William A. Kennington III | 9b2a20d | 2023-06-17 14:05:48 -0700 | [diff] [blame] | 13 | std::optional<std::tuple<unsigned, stdplus::InAnyAddr>> |
William A. Kennington III | a7344c3 | 2022-10-31 14:12:27 -0700 | [diff] [blame] | 14 | gatewayFromRtm(std::string_view msg); |
William A. Kennington III | 6a92363 | 2022-11-06 18:17:33 -0800 | [diff] [blame] | 15 | |
| 16 | AddressInfo addrFromRtm(std::string_view msg); |
| 17 | |
William A. Kennington III | a842690 | 2022-11-07 15:37:41 -0800 | [diff] [blame] | 18 | NeighborInfo neighFromRtm(std::string_view msg); |
| 19 | |
William A. Kennington III | 6a92363 | 2022-11-06 18:17:33 -0800 | [diff] [blame] | 20 | } // namespace phosphor::network::netlink |