Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <NetworkLinux.h>
Public Member Functions | |
CNetworkInterfaceLinux (CNetworkPosix *network, std::string interfaceName, char interfaceMacAddrRaw[6]) | |
~CNetworkInterfaceLinux () override=default | |
std::string | GetCurrentDefaultGateway () const override |
bool | GetHostMacAddress (unsigned long host, std::string &mac) const override |
Public Member Functions inherited from CNetworkInterfacePosix | |
CNetworkInterfacePosix (CNetworkPosix *network, std::string interfaceName, char interfaceMacAddrRaw[6]) | |
virtual | ~CNetworkInterfacePosix () override=default |
bool | IsEnabled () const override |
bool | IsConnected () const override |
std::string | GetCurrentIPAddress () const override |
std::string | GetCurrentNetmask () const override |
std::string | GetMacAddress () const override |
void | GetMacAddressRaw (char rawMac[6]) const override |
Public Member Functions inherited from CNetworkInterface | |
virtual | ~CNetworkInterface ()=default |
Additional Inherited Members | |
Protected Attributes inherited from CNetworkInterfacePosix | |
std::string | m_interfaceName |
CNetworkPosix * | m_network |
CNetworkInterfaceLinux::CNetworkInterfaceLinux | ( | CNetworkPosix * | network, |
std::string | interfaceName, | ||
char | interfaceMacAddrRaw[6] ) |
|
overridedefault |
|
overridevirtual |
Implements CNetworkInterface.
|
overridevirtual |
Implements CNetworkInterface.