|
OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
| __construct ($name) | |
| getDeviceName () | |
| exists () | |
| getIP () | |
| getIP6 () | |
| getMask () | |
| getMask6 () | |
| getMAC () | |
| getMTU () | |
| getGateway () | |
| getGateway6 () | |
| getState () | |
| getLink () | |
| getStatistics () | |
Public Member Functions inherited from OMVObject | |
| __construct () | |
| getLastError () | |
Protected Attributes | |
| $name = "" | |
| $ifconfig = null | |
| $ip = null | |
| $ethtool = null | |
| $regex | |
Additional Inherited Members | |
Protected Member Functions inherited from OMVObject | |
| setLastError ($error) | |
| debug () | |
This class provides a simple interface to handle Linux network interfaces.
| OMVNetworkInterface::__construct | ( | $name | ) |
Constructor
| name | The network interface name, e.g. eth0, ethx, ... |
| OMVNetworkInterface::exists | ( | ) |
Check whether the network interface exists.
| OMVNetworkInterface::getDeviceName | ( | ) |
Get the network interface name, e.g. eth0 or ethx.
| OMVNetworkInterface::getGateway | ( | ) |
Get the network interface IPv4 default gateway.
| OMVNetworkInterface::getGateway6 | ( | ) |
Get the network interface IPv6 default gateway.
| OMVNetworkInterface::getIP | ( | ) |
Get the network interface IPv4 address.
| OMVNetworkInterface::getIP6 | ( | ) |
Get the network interface IPv6 address.
| OMVNetworkInterface::getLink | ( | ) |
Get the network interface link state.
| OMVNetworkInterface::getMAC | ( | ) |
Get the network interface MAC address.
| OMVNetworkInterface::getMask | ( | ) |
Get the network interface mask.
| OMVNetworkInterface::getMask6 | ( | ) |
Get the network interface IPv6 mask/prefix length.
| OMVNetworkInterface::getMTU | ( | ) |
Get the network interface MTU.
| OMVNetworkInterface::getState | ( | ) |
Get the network interface state.
| OMVNetworkInterface::getStatistics | ( | ) |
Get the network interface statistics.
|
protected |
1.8.6