11 #include "network/Network.h" 22 std::string interfaceName,
23 char interfaceMacAddrRaw[6]);
26 bool IsEnabled()
const override;
27 bool IsConnected()
const override;
28 std::string GetCurrentIPAddress()
const override;
29 std::string GetCurrentNetmask()
const override;
31 std::string GetMacAddress()
const override;
32 void GetMacAddressRaw(
char rawMac[6])
const override;
35 std::string m_interfaceName;
39 std::string m_interfaceMacAdr;
40 char m_interfaceMacAddrRaw[6];
48 std::vector<CNetworkInterface*>& GetInterfaceList()
override;
51 int GetSocket() {
return m_sock; }
55 std::vector<CNetworkInterface*> m_interfaces;
58 virtual void GetMacAddress(
const std::string& interfaceName,
char macAddrRaw[6]) = 0;
59 virtual void queryInterfaceList() = 0;
Definition: NetworkPosix.h:18
Definition: NetworkPosix.h:43