NetworkIF

interface NetworkIF

Represents a network interface on the system

Author

N7ghtm4r3

Inheritors

NetworkIFImpl

Properties

Link copied to clipboard
abstract val bytesRecv: Long

bytesRecv The total number of bytes received by the network interface

Link copied to clipboard
abstract val bytesSent: Long

bytesSent The total number of bytes sent by the network interface

Link copied to clipboard
abstract val collisions: Long

collisions The total number of collisions on the network interface

Link copied to clipboard
abstract val displayName: String

displayName The display name of the network interface

Link copied to clipboard
abstract val ifAlias: String

ifAlias The alias of the network interface, if available

Link copied to clipboard

ifOperStatus The operational status of the network interface

Link copied to clipboard
abstract val ifType: Int

ifType The type of the network interface (e.g., Ethernet, Wi-Fi)

Link copied to clipboard
abstract val index: Int

index The index of the network interface

Link copied to clipboard
abstract val inDrops: Long

inDrops The total number of input packets dropped by the network interface

Link copied to clipboard
abstract val inErrors: Long

inErrors The total number of input errors on the network interface

Link copied to clipboard
abstract val ipv4addr: Array<String>

ipv4addr The list of IPv4 addresses assigned to the network interface

Link copied to clipboard
abstract val ipv6addr: Array<String>

ipv6addr The list of IPv6 addresses assigned to the network interface

Link copied to clipboard

isConnectorPresent Whether a connector is present on the network interface

Link copied to clipboard

isKnownVmMacAddr Whether the MAC address is known to belong to a virtual machine

Link copied to clipboard
abstract val macaddr: String

macaddr The MAC address of the network interface

Link copied to clipboard
abstract val mtu: Long

mtu The maximum transmission unit (MTU) size of the network interface

Link copied to clipboard
abstract val name: String

name The name of the network interface (e.g., eth0, wlan0)

Link copied to clipboard

ndisPhysicalMediumType The NDIS physical medium type for the network interface

Link copied to clipboard
abstract val outErrors: Long

outErrors The total number of output errors on the network interface

Link copied to clipboard
abstract val packetsRecv: Long

packetsRecv The total number of packets received by the network interface

Link copied to clipboard
abstract val packetsSent: Long

packetsSent The total number of packets sent by the network interface

Link copied to clipboard
abstract val prefixLengths: Array<Short>

prefixLengths The list of prefix lengths corresponding to the IPv6 addresses

Link copied to clipboard
abstract val speed: Long

speed The speed of the network interface in bits per second

Link copied to clipboard
abstract val subnetMasks: Array<Short>

subnetMasks The list of subnet masks for the network interface

Link copied to clipboard
abstract val timestamp: Long

timestamp The timestamp of the last update for the network interface

Link copied to clipboard

updateAttributes Whether the network interface attributes should be updated