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

#include <NetworkWin32.h>

Inheritance diagram for CNetworkInterfaceWin32:
CNetworkInterface

Public Member Functions

 CNetworkInterfaceWin32 (const IP_ADAPTER_ADDRESSES &adapter)
 
 ~CNetworkInterfaceWin32 (void) override
 
bool IsEnabled (void) const override
 
bool IsConnected (void) const override
 
std::string GetMacAddress (void) const override
 
void GetMacAddressRaw (char rawMac[6]) const override
 
bool GetHostMacAddress (unsigned long host, std::string &mac) const override
 
bool GetHostMacAddress (struct sockaddr *host, std::string &mac) const
 
std::string GetCurrentIPAddress () const override
 
std::string GetCurrentNetmask () const override
 
std::string GetCurrentDefaultGateway (void) const override
 
- Public Member Functions inherited from CNetworkInterface
virtual ~CNetworkInterface ()=default
 

Constructor & Destructor Documentation

◆ CNetworkInterfaceWin32()

CNetworkInterfaceWin32::CNetworkInterfaceWin32 ( const IP_ADAPTER_ADDRESSES & adapter)

◆ ~CNetworkInterfaceWin32()

CNetworkInterfaceWin32::~CNetworkInterfaceWin32 ( void )
override

Member Function Documentation

◆ GetCurrentDefaultGateway()

std::string CNetworkInterfaceWin32::GetCurrentDefaultGateway ( void ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentIPAddress()

std::string CNetworkInterfaceWin32::GetCurrentIPAddress ( void ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentNetmask()

std::string CNetworkInterfaceWin32::GetCurrentNetmask ( void ) const
overridevirtual

Implements CNetworkInterface.

◆ GetHostMacAddress() [1/2]

bool CNetworkInterfaceWin32::GetHostMacAddress ( struct sockaddr * host,
std::string & mac ) const

◆ GetHostMacAddress() [2/2]

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

Implements CNetworkInterface.

◆ GetMacAddress()

std::string CNetworkInterfaceWin32::GetMacAddress ( void ) const
overridevirtual

Implements CNetworkInterface.

◆ GetMacAddressRaw()

void CNetworkInterfaceWin32::GetMacAddressRaw ( char rawMac[6]) const
overridevirtual

Implements CNetworkInterface.

◆ IsConnected()

bool CNetworkInterfaceWin32::IsConnected ( void ) const
overridevirtual

Implements CNetworkInterface.

◆ IsEnabled()

bool CNetworkInterfaceWin32::IsEnabled ( void ) const
overridevirtual

Implements CNetworkInterface.


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