Complete network interface data structure containing all interface properties. This is the main interface that NetworkInterfaceModel implements.

interface NetworkInterfaceData {
    name: string;
    type: string;
    nmdevicestate: number;
    hwaddress: string;
    mtu: number;
    configured: boolean;
    category: NetworkInterfaceCategory;
    wifi?: WifiData;
    ethernet?: EthernetData;
    ip4settings?: Ip44Settings;
}

Properties

name: string

Network interface name (e.g., 'eth0', 'wlan0', 'lo')

type: string

Interface type identifier (e.g., 'ethernet', 'wifi', 'loopback')

nmdevicestate: number

NetworkManager device state code indicating connection status

hwaddress: string

Hardware MAC address of the network interface

mtu: number

Maximum Transmission Unit size for the interface

configured: boolean

Whether the interface is currently configured and active

Interface categorization for organizational purposes

wifi?: WifiData

WiFi-specific connection data (only present for WiFi interfaces)

ethernet?: EthernetData

Ethernet-specific connection data (only present for Ethernet interfaces)

ip4settings?: Ip44Settings

IPv4 network settings (present when interface has IP configuration)