handler.hpp (8cfa4c4400201459690c2ec6537df0f9c197f730) | handler.hpp (b69209b498bf9b1c009c528e40280d13e68f8dbd) |
---|---|
1#pragma once 2 3#include <cstdint> 4#include <map> 5#include <string> 6#include <tuple> 7#include <vector> 8 --- 10 unchanged lines hidden (view full) --- 19 public: 20 virtual ~HandlerInterface() = default; 21 22 /** 23 * Return ethernet details (hard-coded). 24 * 25 * @return tuple of ethernet details (channel, if name). 26 */ | 1#pragma once 2 3#include <cstdint> 4#include <map> 5#include <string> 6#include <tuple> 7#include <vector> 8 --- 10 unchanged lines hidden (view full) --- 19 public: 20 virtual ~HandlerInterface() = default; 21 22 /** 23 * Return ethernet details (hard-coded). 24 * 25 * @return tuple of ethernet details (channel, if name). 26 */ |
27 virtual std::tuple<std::uint8_t, std::string> getEthDetails() const = 0; | 27 virtual std::tuple<std::uint8_t, std::string> 28 getEthDetails(std::string intf) const = 0; |
28 29 /** 30 * Return the value of rx_packets, given a if_name. 31 * 32 * @param[in] name, the interface name. 33 * @return the number of packets received. 34 * @throw IpmiException on failure. 35 */ --- 88 unchanged lines hidden --- | 29 30 /** 31 * Return the value of rx_packets, given a if_name. 32 * 33 * @param[in] name, the interface name. 34 * @return the number of packets received. 35 * @throw IpmiException on failure. 36 */ --- 88 unchanged lines hidden --- |