Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
CNetworkInterfaceMacOS Class Reference

#include <NetworkMacOS.h>

Inheritance diagram for CNetworkInterfaceMacOS:
CNetworkInterfacePosix CNetworkInterface

Public Member Functions

 CNetworkInterfaceMacOS (CNetworkPosix *network, const std::string &interfaceName, char interfaceMacAddrRaw[6])
 ~CNetworkInterfaceMacOS () 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

Constructor & Destructor Documentation

◆ CNetworkInterfaceMacOS()

CNetworkInterfaceMacOS::CNetworkInterfaceMacOS ( CNetworkPosix * network,
const std::string & interfaceName,
char interfaceMacAddrRaw[6] )

◆ ~CNetworkInterfaceMacOS()

CNetworkInterfaceMacOS::~CNetworkInterfaceMacOS ( )

Member Function Documentation

◆ GetCurrentDefaultGateway()

std::string CNetworkInterfaceMacOS::GetCurrentDefaultGateway ( void ) const

Implements CNetworkInterface.

◆ GetHostMacAddress()

bool CNetworkInterfaceMacOS::GetHostMacAddress ( unsigned long host,
std::string & mac ) const

Implements CNetworkInterface.

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