Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CNetworkInterface Class Referenceabstract

#include <Network.h>

Inheritance diagram for CNetworkInterface:
CNetworkInterfaceAndroid CNetworkInterfaceIOS CNetworkInterfacePosix CNetworkInterfaceWin10 CNetworkInterfaceWin32 CNetworkInterfaceFreebsd CNetworkInterfaceLinux CNetworkInterfaceMacOS

Public Member Functions

virtual ~CNetworkInterface ()=default
 
virtual bool IsEnabled (void) const =0
 
virtual bool IsConnected (void) const =0
 
virtual std::string GetMacAddress (void) const =0
 
virtual void GetMacAddressRaw (char rawMac[6]) const =0
 
virtual bool GetHostMacAddress (unsigned long host, std::string &mac) const =0
 
virtual std::string GetCurrentIPAddress () const =0
 
virtual std::string GetCurrentNetmask () const =0
 
virtual std::string GetCurrentDefaultGateway (void) const =0
 

Constructor & Destructor Documentation

◆ ~CNetworkInterface()

virtual CNetworkInterface::~CNetworkInterface ( )
virtualdefault

Member Function Documentation

◆ GetCurrentDefaultGateway()

virtual std::string CNetworkInterface::GetCurrentDefaultGateway ( void ) const
pure virtual

◆ GetCurrentIPAddress()

virtual std::string CNetworkInterface::GetCurrentIPAddress ( ) const
pure virtual

◆ GetCurrentNetmask()

virtual std::string CNetworkInterface::GetCurrentNetmask ( ) const
pure virtual

◆ GetHostMacAddress()

virtual bool CNetworkInterface::GetHostMacAddress ( unsigned long host,
std::string & mac ) const
pure virtual

◆ GetMacAddress()

virtual std::string CNetworkInterface::GetMacAddress ( void ) const
pure virtual

◆ GetMacAddressRaw()

virtual void CNetworkInterface::GetMacAddressRaw ( char rawMac[6]) const
pure virtual

◆ IsConnected()

virtual bool CNetworkInterface::IsConnected ( void ) const
pure virtual

◆ IsEnabled()

virtual bool CNetworkInterface::IsEnabled ( void ) const
pure virtual

The documentation for this class was generated from the following file: