diff options
Diffstat (limited to 'user_channel/channel_layer.hpp')
-rw-r--r-- | user_channel/channel_layer.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user_channel/channel_layer.hpp b/user_channel/channel_layer.hpp index 87e791c..a3aebb8 100644 --- a/user_channel/channel_layer.hpp +++ b/user_channel/channel_layer.hpp @@ -322,4 +322,12 @@ ipmi_ret_t getChannelAuthTypeSupported(const uint8_t chNum, ipmi_ret_t getChannelEnabledAuthType(const uint8_t chNum, const uint8_t priv, EAuthType& authType); +/** @brief Retrieves the LAN channel name from the IPMI channel number + * + * @param[in] chNum - IPMI channel number + * + * @return the LAN channel name (i.e. eth0) + */ +std::string getChannelName(const int chNum); + } // namespace ipmi |