Interface LinkInfo

Link Info. TODO: Need help to build this undocumented & comprehensive interface.

Hierarchy

Properties

address: string
broadcast: string
flags: string[]
group: string
gso_max_segs: number
gso_max_size: number
ifindex: number
ifname: string
inet6_addr_gen_mode?: string
link?: string
link_netnsid?: number
link_type: string
linkinfo?: {
    info_data: any;
    info_kind: string;
}

Type declaration

  • info_data: any
  • info_kind: string
linkmode: string
max_mtu: number
min_mtu: number
mtu: number
num_rx_queues: number
num_tx_queues: number
operstate: string
parentbus?: string
parentdev?: string
promiscuity: number
qdisc: string
stats: {
    rx: {
        bytes: number;
        compressed?: number;
        crc_errors?: number;
        dropped: number;
        errors: number;
        fifo_errors?: number;
        frame_errors?: number;
        missed_errors?: number;
        multicast: number;
        over_errors: number;
        packets: number;
    };
    tx: {
        aborted_errors?: number;
        bytes: number;
        carrier_errors: number;
        collisions: number;
        compressed?: number;
        dropped: number;
        errors: number;
        fifo_errors?: number;
        heartbeat_errors?: number;
        packets: number;
        window_errors?: number;
    };
}

Type declaration

  • rx: {
        bytes: number;
        compressed?: number;
        crc_errors?: number;
        dropped: number;
        errors: number;
        fifo_errors?: number;
        frame_errors?: number;
        missed_errors?: number;
        multicast: number;
        over_errors: number;
        packets: number;
    }
    • bytes: number
    • Optional compressed?: number
    • Optional crc_errors?: number
    • dropped: number
    • errors: number
    • Optional fifo_errors?: number
    • Optional frame_errors?: number
    • Optional missed_errors?: number
    • multicast: number
    • over_errors: number
    • packets: number
  • tx: {
        aborted_errors?: number;
        bytes: number;
        carrier_errors: number;
        collisions: number;
        compressed?: number;
        dropped: number;
        errors: number;
        fifo_errors?: number;
        heartbeat_errors?: number;
        packets: number;
        window_errors?: number;
    }
    • Optional aborted_errors?: number
    • bytes: number
    • carrier_errors: number
    • collisions: number
    • Optional compressed?: number
    • dropped: number
    • errors: number
    • Optional fifo_errors?: number
    • Optional heartbeat_errors?: number
    • packets: number
    • Optional window_errors?: number
txqlen: number

Generated using TypeDoc