blob: c519cb473273a1e4f86cb73ed2f2febc9920c980 [file] [log] [blame]
namespace phosphor
{
namespace network
{
namespace ncsi
{
/* @brief This function will ask underlying NCSI driver
* to set a specific package or package/channel
* combination as the preferred choice.
* This function talks with the NCSI driver over
* netlink messages.
* @param[in] ifindex - Interface Index.
* @param[in] package - NCSI Package.
* @param[in] channel - Channel number with in the package.
* @returns 0 on success and negative value for failure.
*/
int setChannel(int ifindex, int package, int channel);
/* @brief This function will ask underlying NCSI driver
* to clear any preferred setting from the given
* interface.
* This function talks with the NCSI driver over
* netlink messages.
* @param[in] ifindex - Interface Index.
* @returns 0 on success and negative value for failure.
*/
int clearInterface(int ifindex);
}//namespace ncsi
}//namespace network
}//namespace phosphor