Public Member Functions | |
| NetworkInterface () | |
| ~NetworkInterface () | |
| bool | IsValid () |
| bool | SetTo (const String &szInterfaceName) |
| bool | Refresh () |
| bool | Apply () |
| IPV4Address | GetIP () |
| void | SetIP (const IPV4Address &nIPV4Address) |
| IPV4Address | GetNetMask () |
| void | SetNetMask (const IPV4Address &nIPV4Address) |
| IPV4Address | GetDefaultGateway () |
| void | SetDefaultGateway (const IPV4Address &nIPV4Address) |
| EthernetAddress | GetEthernetAddress () |
| bool | Start () |
| bool | Stop () |
| bool | IsRunning () |
| bool | IsLoopBack () |
| NetworkInterfaceLink | GetLink () |
| String | GetName () |
| NetworkInterface::NetworkInterface | ( | ) |
| NetworkInterface::~NetworkInterface | ( | ) |
| bool NetworkInterface::IsValid | ( | ) |
| bool NetworkInterface::SetTo | ( | const String & | szInterfaceName | ) |
Set network interface
| szInterfaceName | Network interface name, for instance: rtl0 |
| bool NetworkInterface::Refresh | ( | ) |
Refresh network interface status
| bool NetworkInterface::Apply | ( | ) |
| IPV4Address NetworkInterface::GetIP | ( | ) |
Get IP Address of network interface
| void NetworkInterface::SetIP | ( | const IPV4Address & | nIPV4Address | ) |
| IPV4Address NetworkInterface::GetNetMask | ( | ) |
Get netmask of network interface
| void NetworkInterface::SetNetMask | ( | const IPV4Address & | nIPV4Address | ) |
| IPV4Address NetworkInterface::GetDefaultGateway | ( | ) |
Get gateway of network interface
| void NetworkInterface::SetDefaultGateway | ( | const IPV4Address & | nIPV4Address | ) |
| EthernetAddress NetworkInterface::GetEthernetAddress | ( | ) |
| bool NetworkInterface::Start | ( | ) |
| bool NetworkInterface::Stop | ( | ) |
| bool NetworkInterface::IsRunning | ( | ) |
| bool NetworkInterface::IsLoopBack | ( | ) |
| NetworkInterfaceLink NetworkInterface::GetLink | ( | ) |
Get link status
| String NetworkInterface::GetName | ( | ) |
1.5.1-p1